Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Provide a Flatpak manifest #34

Merged
merged 26 commits into from
Jan 26, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
26 commits
Select commit Hold shift + click to select a range
9614dbe
Provide a Flatpak manifest
meisenzahl Nov 19, 2020
003dc44
Add appstream
meisenzahl Nov 19, 2020
c87acd4
Add xapian as dependency of appstream
meisenzahl Nov 19, 2020
bedf473
Add yaml as dependency of appstream
meisenzahl Nov 19, 2020
294fd07
Add more dependencies
meisenzahl Nov 19, 2020
d8913de
Add lmdb as dependency of appstream
meisenzahl Nov 21, 2020
d467f79
Add stemmer as dependency of appstream
meisenzahl Nov 21, 2020
85a3914
Build appstream with Vala bindings
meisenzahl Nov 21, 2020
f3cdc1e
Add permission to access network
meisenzahl Nov 21, 2020
56610ad
Update app-id
meisenzahl Nov 21, 2020
840dd7e
Merge branch 'master' into provide-a-flatpak-manifest
meisenzahl Nov 21, 2020
91e27d7
Update io.elementary.feedback.yml
meisenzahl Nov 22, 2020
927f8a1
Update io.elementary.feedback.yml
meisenzahl Nov 22, 2020
1039f3a
Update io.elementary.feedback.yml
meisenzahl Nov 22, 2020
bad0bea
Update io.elementary.feedback.yml
meisenzahl Nov 22, 2020
57b9e9e
Update io.elementary.feedback.yml
meisenzahl Nov 22, 2020
c2215ae
Update io.elementary.feedback.yml
meisenzahl Nov 22, 2020
ce01c55
Update io.elementary.feedback.yml
meisenzahl Nov 22, 2020
ad5312c
Merge branch 'master' into provide-a-flatpak-manifest
meisenzahl Nov 24, 2020
65768da
Merge branch 'master' into provide-a-flatpak-manifest
meisenzahl Dec 1, 2020
9eb643e
Merge branch 'master' into provide-a-flatpak-manifest
meisenzahl Dec 14, 2020
cb68c60
Merge branch 'master' into provide-a-flatpak-manifest
meisenzahl Dec 28, 2020
ce65205
Merge branch 'master' into provide-a-flatpak-manifest
meisenzahl Jan 15, 2021
149cc7e
Merge branch 'master' into provide-a-flatpak-manifest
danirabbit Jan 26, 2021
d26ea90
Update io.elementary.feedback.yml
danirabbit Jan 26, 2021
0849081
Update main.yml
danirabbit Jan 26, 2021
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
13 changes: 13 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,19 @@ jobs:
meson build
ninja -C build

flatpak:
runs-on: ubuntu-latest
container:
image: docker.io/bilelmoussaoui/flatpak-github-actions
options: --privileged
steps:
- uses: actions/checkout@v2
- uses: bilelmoussaoui/flatpak-github-actions@v2
with:
bundle: "feedback.flatpak"
manifest-path: "io.elementary.feedback.yml"
run-tests: "true"

lint:

runs-on: ubuntu-latest
Expand Down
97 changes: 97 additions & 0 deletions io.elementary.feedback.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,97 @@
app-id: io.elementary.feedback
runtime: org.gnome.Platform
runtime-version: '3.38'
base: io.elementary.BaseApp
base-version: juno-20.08
sdk: org.gnome.Sdk
command: io.elementary.feedback
finish-args:
- '--share=ipc'
- '--share=network'
- '--socket=fallback-x11'
- '--socket=wayland'

# needed for perfers-color-scheme
- '--system-talk-name=org.freedesktop.Accounts'

# needed to read app metadata
- '--filesystem=host:ro'

- '--metadata=X-DConf=migrate-path=/io/elementary/feedback/'
meisenzahl marked this conversation as resolved.
Show resolved Hide resolved
cleanup:
- '/include'
- '/lib/pkgconfig'
- '/lib/girepository-1.0'
- '/share/gir-1.0'
- '/share/man'
- '/share/vala'
- '*.la'
- '*.a'
modules:
- name: appstream
buildsystem: meson
config-opts:
- '-Dvapi=true'
meisenzahl marked this conversation as resolved.
Show resolved Hide resolved
- '-Dapidocs=false'
- '-Dinstall-docs=false'
sources:
- type: git
url: https://github.com/ximion/appstream
tag: 'v0.12.11'
modules:
- name: xapian
meisenzahl marked this conversation as resolved.
Show resolved Hide resolved
cleanup:
- '/lib/cmake'
- '/share/alocal'
- '/share/doc'
sources:
- type: archive
url: https://oligarchy.co.uk/xapian/1.4.17/xapian-core-1.4.17.tar.xz
md5: 64cd582a4495c5cbda8e06e63f8ce4f4
- name: yaml
sources:
- type: git
url: https://github.com/yaml/libyaml
tag: '0.2.5'
- name: Intltool
meisenzahl marked this conversation as resolved.
Show resolved Hide resolved
cleanup:
- '*'
sources:
- type: archive
url: https://launchpad.net/intltool/trunk/0.51.0/+download/intltool-0.51.0.tar.gz
md5: 12e517cac2b57a0121cda351570f1e63
- name: xmlto
sources:
- type: archive
url: https://releases.pagure.org/xmlto/xmlto-0.0.28.tar.bz2
md5: 93bab48d446c826399d130d959fe676f
- name: lmdb
no-autogen: true
make-install-args:
- 'prefix=/app'
subdir: 'libraries/liblmdb'
sources:
- type: git
url: https://git.openldap.org/openldap/openldap
tag: 'LMDB_0.9.27'
- name: stemmer
buildsystem: cmake-ninja
sources:
- type: git
url: https://github.com/zvelo/libstemmer

- name: handy
buildsystem: meson
config-opts:
- '-Dexamples=false'
- '-Dtests=false'
sources:
- type: git
url: https://gitlab.gnome.org/GNOME/libhandy.git
tag: '1.0.1'

- name: feedback
buildsystem: meson
sources:
- type: dir
path: .