[quadrapassel] Add a Flatpak manifest



commit 58502335b6d9b3a3fa45a381dad07e2e3b536056
Author: Adrien Plazas <kekun plazas laposte net>
Date:   Sat Dec 2 09:26:23 2017 +0100

    Add a Flatpak manifest
    
    This will help building and working on Quadrapassel.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=791123

 Makefile.am                         |    1 +
 flatpak/org.gnome.quadrapassel.json |   37 +++++++++++++++++++++++++++++++++++
 2 files changed, 38 insertions(+), 0 deletions(-)
---
diff --git a/Makefile.am b/Makefile.am
index 17d24be..8bebc57 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -5,6 +5,7 @@ MAINTAINERCLEANFILES = \
        $(GITIGNORE_MAINTAINERCLEANFILES_MAKEFILE_IN)
 
 # We currently have no custom macros
+GITIGNOREFILES = .flatpak-builder
 GITIGNOREFILES = m4
 
 -include $(top_srcdir)/git.mk
diff --git a/flatpak/org.gnome.quadrapassel.json b/flatpak/org.gnome.quadrapassel.json
new file mode 100644
index 0000000..4b04c66
--- /dev/null
+++ b/flatpak/org.gnome.quadrapassel.json
@@ -0,0 +1,37 @@
+{
+  "app-id": "org.gnome.quadrapassel",
+  "runtime": "org.gnome.Platform",
+  "runtime-version": "master",
+  "sdk": "org.gnome.Sdk",
+  "command": "quadrapassel",
+  "finish-args": [
+    "--share=ipc", "--socket=x11",
+    "--socket=wayland",
+    "--device=dri", "--socket=pulseaudio",
+    "--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"
+  },
+  "cleanup": [
+    "/include", "/lib/pkgconfig",
+    "/share/pkgconfig", "/share/aclocal",
+    "/man", "/share/man", "/share/gtk-doc",
+    "*.la", "*.a",
+    "/lib/girepository-1.0",
+    "/share/dbus-1", "/share/doc", "/share/gir-1.0"
+  ],
+  "modules": [
+    {
+      "name": "quadrapassel",
+      "sources": [
+        {
+          "type": "git",
+          "url": "https://git.gnome.org/browse/quadrapassel";
+        }
+      ]
+    }
+  ]
+}


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