summaryrefslogtreecommitdiff
path: root/build-aux
diff options
context:
space:
mode:
authorEmmanuele Bassi <ebassi@gnome.org>2018-03-20 16:07:38 +0000
committerEmmanuele Bassi <ebassi@gnome.org>2018-03-20 23:14:32 +0000
commit1873304e7b736e37d65dfc300962c589db8a31a6 (patch)
tree6d6f226a30fec9f05696b7cf891b0b1e53441a15 /build-aux
parent706a6cf0a3fc2a9cddd2b22f7bd77e8b8f12c041 (diff)
downloadgtk+-1873304e7b736e37d65dfc300962c589db8a31a6.tar.gz
Add flatpak builder manifests for our demos
We can use manifests as targets when building GTK inside a flatpak environment; or we can use them for CI purposes.
Diffstat (limited to 'build-aux')
-rw-r--r--build-aux/flatpak/org.gtk.Demo.json59
-rw-r--r--build-aux/flatpak/org.gtk.WidgetFactory.json59
2 files changed, 118 insertions, 0 deletions
diff --git a/build-aux/flatpak/org.gtk.Demo.json b/build-aux/flatpak/org.gtk.Demo.json
new file mode 100644
index 0000000000..fb5e277743
--- /dev/null
+++ b/build-aux/flatpak/org.gtk.Demo.json
@@ -0,0 +1,59 @@
+{
+ "app-id": "org.gtk.Demo",
+ "runtime": "org.gnome.Platform",
+ "runtime-version": "master",
+ "sdk": "org.gnome.Sdk",
+ "command": "gtk4-demo",
+ "tags": ["devel", "development", "nightly"],
+ "rename-desktop-file": "gtk4-demo.desktop",
+ "rename-icon": "gtk4-demo",
+ "desktop-file-name-prefix": "(Development) ",
+ "finish-args": [
+ "--device=dri",
+ "--share=ipc",
+ "--socket=x11",
+ "--socket=wayland",
+ "--talk-name=org.gtk.vfs", "--talk-name=org.gtk.vfs.*",
+ "--talk-name=ca.desrt.conf", "--env=DCONF_USER_CONFIG_DIR=.config/dconf"
+ ],
+ "cleanup": [
+ "/include",
+ "/lib/pkgconfig", "/share/pkgconfig",
+ "/share/aclocal",
+ "/man", "/share/man", "/share/gtk-doc",
+ "*.la", ".a",
+ "/lib/girepository-1.0",
+ "/share/gir-1.0",
+ "/share/doc"
+ ],
+ "modules": [
+ {
+ "name": "graphene",
+ "buildsystem": "meson",
+ "builddir": true,
+ "config-opts": [
+ "--libdir=/app/lib"
+ ],
+ "sources": [
+ {
+ "type": "git",
+ "url": "https://github.com/ebassi/graphene.git"
+ }
+ ]
+ },
+ {
+ "name": "gtk",
+ "buildsystem": "meson",
+ "builddir": true,
+ "config-opts": [
+ "--libdir=/app/lib"
+ ],
+ "sources": [
+ {
+ "type": "git",
+ "url": "https://gitlab.gnome.org/GNOME/gtk.git"
+ }
+ ]
+ }
+ ]
+}
diff --git a/build-aux/flatpak/org.gtk.WidgetFactory.json b/build-aux/flatpak/org.gtk.WidgetFactory.json
new file mode 100644
index 0000000000..fbd4789641
--- /dev/null
+++ b/build-aux/flatpak/org.gtk.WidgetFactory.json
@@ -0,0 +1,59 @@
+{
+ "app-id": "org.gtk.WidgetFactory",
+ "runtime": "org.gnome.Platform",
+ "runtime-version": "master",
+ "sdk": "org.gnome.Sdk",
+ "command": "gtk4-widget-factory",
+ "tags": ["devel", "development", "nightly"],
+ "rename-desktop-file": "gtk4-widget-factory.desktop",
+ "rename-icon": "gtk4-widget-factory",
+ "desktop-file-name-prefix": "(Development) ",
+ "finish-args": [
+ "--device=dri",
+ "--share=ipc",
+ "--socket=x11",
+ "--socket=wayland",
+ "--talk-name=org.gtk.vfs", "--talk-name=org.gtk.vfs.*",
+ "--talk-name=ca.desrt.conf", "--env=DCONF_USER_CONFIG_DIR=.config/dconf"
+ ],
+ "cleanup": [
+ "/include",
+ "/lib/pkgconfig", "/share/pkgconfig",
+ "/share/aclocal",
+ "/man", "/share/man", "/share/gtk-doc",
+ "*.la", ".a",
+ "/lib/girepository-1.0",
+ "/share/gir-1.0",
+ "/share/doc"
+ ],
+ "modules": [
+ {
+ "name": "graphene",
+ "buildsystem": "meson",
+ "builddir": true,
+ "config-opts": [
+ "--libdir=/app/lib"
+ ],
+ "sources": [
+ {
+ "type": "git",
+ "url": "https://github.com/ebassi/graphene.git"
+ }
+ ]
+ },
+ {
+ "name": "gtk",
+ "buildsystem": "meson",
+ "builddir": true,
+ "config-opts": [
+ "--libdir=/app/lib"
+ ],
+ "sources": [
+ {
+ "type": "git",
+ "url": "https://gitlab.gnome.org/GNOME/gtk.git"
+ }
+ ]
+ }
+ ]
+}