Akira: building a flatpak

Created on 31 Jan 2018  路  4Comments  路  Source: akiraux/Akira

In case you are interested in building a flatpak, here is a manifest I just created that can be used with flatpak-builder to build a flatpak. It uses the GNOME runtime and builds everything (libgee, granite, gtksourceview and akira) from git. As the master branch currently does not build, it uses the headerbar branch instead.

Not an Issue

Most helpful comment

Here is a manifest btw:

id: com.github.alecaddd.akira
runtime: org.gnome.Platform
runtime-version: '3.28'
sdk: org.gnome.Sdk
base: io.elementary.Loki.BaseApp
base-version: stable
command: com.github.alecaddd.akira
finish-args:
  - --share=ipc
  - --socket=x11
  - --socket=wayland
  # DConf
  - --filesystem=xdg-run/dconf
  - --filesystem=~/.config/dconf:ro
  - --talk-name=ca.desrt.dconf
  - --env=DCONF_USER_CONFIG_DIR=.config/dconf
cleanup: # FIXME: Broken with baseapp?
  - /bin/v*
  - /include
  - /share/vala*
  - /share/gtk-doc
  - /share/gir-1.0
  - /lib/pkgconfig
  - /lib/*.la
  - /lib/girepository-1.0
  - /lib/vala*
modules:
  - name: gtksourceview
    config-opts: [--enable-gtk-doc=no]
    sources:
      - type: archive
        url: https://download.gnome.org/sources/gtksourceview/3.24/gtksourceview-3.24.6.tar.xz
        sha256: 7aa6bdfebcdc73a763dddeaa42f190c40835e6f8495bb9eb8f78587e2577c188

  - name: akira
    buildsystem: meson
    sources:
      - type: git
        url: https://github.com/Alecaddd/Akira.git

All 4 comments

I will for sure, thank you so much.
Not sure when, but sooner or later, a packaged alpha version with something usable in it will be released.
Cheers

Here is a manifest btw:

id: com.github.alecaddd.akira
runtime: org.gnome.Platform
runtime-version: '3.28'
sdk: org.gnome.Sdk
base: io.elementary.Loki.BaseApp
base-version: stable
command: com.github.alecaddd.akira
finish-args:
  - --share=ipc
  - --socket=x11
  - --socket=wayland
  # DConf
  - --filesystem=xdg-run/dconf
  - --filesystem=~/.config/dconf:ro
  - --talk-name=ca.desrt.dconf
  - --env=DCONF_USER_CONFIG_DIR=.config/dconf
cleanup: # FIXME: Broken with baseapp?
  - /bin/v*
  - /include
  - /share/vala*
  - /share/gtk-doc
  - /share/gir-1.0
  - /lib/pkgconfig
  - /lib/*.la
  - /lib/girepository-1.0
  - /lib/vala*
modules:
  - name: gtksourceview
    config-opts: [--enable-gtk-doc=no]
    sources:
      - type: archive
        url: https://download.gnome.org/sources/gtksourceview/3.24/gtksourceview-3.24.6.tar.xz
        sha256: 7aa6bdfebcdc73a763dddeaa42f190c40835e6f8495bb9eb8f78587e2577c188

  - name: akira
    buildsystem: meson
    sources:
      - type: git
        url: https://github.com/Alecaddd/Akira.git

Flatpak created, the app will be available on Flathub once released.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

TixieBorg picture TixieBorg  路  4Comments

isneezy picture isneezy  路  5Comments

Alecaddd picture Alecaddd  路  5Comments

Alecaddd picture Alecaddd  路  3Comments

Alecaddd picture Alecaddd  路  3Comments