diff options
author | Emmanuele Bassi <ebassi@gnome.org> | 2017-03-05 14:23:18 +0000 |
---|---|---|
committer | Emmanuele Bassi <ebassi@gnome.org> | 2017-03-05 14:26:28 +0000 |
commit | ddb66b3b18e4a00c06a5bd707a8e67fa831a60b5 (patch) | |
tree | b1c143b90d3b17621b1d56a2262922037e690a5c | |
parent | a0380978ad755b3c5d626c80e846386f0fb75ed3 (diff) | |
download | gnome-dictionary-ddb66b3b18e4a00c06a5bd707a8e67fa831a60b5.tar.gz |
Add Flatpak manifest
See:
https://wiki.gnome.org/Initiatives/GnomeGoals/FlatpakManifests
-rw-r--r-- | data/Makefile.am | 3 | ||||
-rw-r--r-- | data/org.gnome.Dictionary.json | 45 |
2 files changed, 48 insertions, 0 deletions
diff --git a/data/Makefile.am b/data/Makefile.am index 0024380..69fe6be 100644 --- a/data/Makefile.am +++ b/data/Makefile.am @@ -55,4 +55,7 @@ gsettings_SCHEMAS = org.gnome.dictionary.gschema.xml @GSETTINGS_RULES@ +# Flatpak manifest +EXTRA_DIST += org.gnome.Dictionary.json + -include $(top_srcdir)/git.mk diff --git a/data/org.gnome.Dictionary.json b/data/org.gnome.Dictionary.json new file mode 100644 index 0000000..fc9108c --- /dev/null +++ b/data/org.gnome.Dictionary.json @@ -0,0 +1,45 @@ +{ + "app-id": "org.gnome.Dictionary", + "runtime": "org.gnome.Platform", + "runtime-version": "master", + "sdk": "org.gnome.Sdk", + "command": "gnome-dictionary", + "tags": ["nightly"], + "desktop-file-name-prefix": "(Nightly) ", + "finish-args": [ + /* X11 + XShm access */ + "--share=ipc", "--socket=x11", + /* Wayland access */ + "--socket=wayland", + /* Needs to talk to the network: */ + "--share=network", + /* Needed for dconf to work */ + "--filesystem=xdg-run/dconf", "--filesystem=~/.config/dconf:ro", + "--talk-name=ca.desrt.dconf", "--env=DCONF_USER_CONFIG_DIR=.config/dconf" + ], + "build-options" : { + "cflags": "-O2 -g", + "cxxflags": "-O2 -g", + "env": { + "V": 1 + } + }, + "cleanup": ["/include", "/lib/pkgconfig", + "/share/pkgconfig", "/share/aclocal", + "/man", "/share/man", "/share/gtk-doc", + "*.la", "*.a", + "/lib/girepository-1.0", + "/share/doc", "/share/gir-1.0" + ], + "modules": [ + { + "name": "gnome-dictionary", + "sources": [ + { + "type": "git", + "url": "git://git.gnome.org/gnome-dictionary" + } + ] + } + ] +} |