[gnome-dictionary] Add Flatpak manifest



commit ddb66b3b18e4a00c06a5bd707a8e67fa831a60b5
Author: Emmanuele Bassi <ebassi gnome org>
Date:   Sun Mar 5 14:23:18 2017 +0000

    Add Flatpak manifest
    
    See:
      https://wiki.gnome.org/Initiatives/GnomeGoals/FlatpakManifests

 data/Makefile.am               |    3 ++
 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"
+                }
+            ]
+        }
+    ]
+}


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]