[retro-gtk/build-doc: 12/16] ci: Build doc with its own Flatpak manifest



commit f2d1cebf72b76c88ed510467416e775aac9b3a77
Author: Adrien Plazas <kekun plazas laposte net>
Date:   Sun Apr 12 10:18:02 2020 +0200

    ci: Build doc with its own Flatpak manifest

 .gitlab-ci.yml                         |  3 +-
 flatpak/org.gnome.Retro.Reference.json | 56 ++++++++++++++++++++++++++++++++++
 2 files changed, 57 insertions(+), 2 deletions(-)
---
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 73e74de..e1c1a5f 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -72,8 +72,7 @@ flatpak:reference:
   image: registry.gitlab.gnome.org/gnome/gnome-runtime-images/gnome:master
   stage: doc
   variables:
-    MANIFEST_PATH: "flatpak/org.gnome.Retro.DemoSamplesTest.json"
-    RUNTIME_REPO: "https://sdk.gnome.org/gnome-nightly.flatpakrepo";
+    MANIFEST_PATH: "flatpak/org.gnome.Retro.Reference.json"
     FLATPAK_MODULE: "retro-gtk"
     FLATPAK_BUILD_DIR: "app"
     MESON_ARGS: "build-doc=true"
diff --git a/flatpak/org.gnome.Retro.Reference.json b/flatpak/org.gnome.Retro.Reference.json
new file mode 100644
index 0000000..aaa2882
--- /dev/null
+++ b/flatpak/org.gnome.Retro.Reference.json
@@ -0,0 +1,56 @@
+{
+    "app-id" : "org.gnome.Retro.DemoSamplesTest",
+    "runtime" : "org.gnome.Platform",
+    "runtime-version" : "master",
+    "sdk" : "org.gnome.Sdk",
+    "command" : "retro-demo",
+    "tags" : [
+        "devel",
+        "development",
+        "nightly"
+    ],
+    "desktop-file-name-suffix" : " (Development)",
+    "finish-args" : [
+        /* GTK+ Inspector access */
+        "--env=DCONF_USER_CONFIG_DIR=.config/dconf",
+        /* X11 + XShm access */
+        "--share=ipc",
+        "--socket=x11",
+        /* Wayland access */
+        "--socket=wayland",
+        /* PulseAudio access */
+        "--device=dri",
+        "--socket=pulseaudio"
+    ],
+    "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" : "retro-gtk",
+            "buildsystem" : "meson",
+            "builddir" : true,
+            "config-opts" : [
+                "--libdir=lib"
+            ],
+            "sources" : [
+                {
+                    "type" : "git",
+                    "url" : "https://gitlab.gnome.org/GNOME/retro-gtk.git";
+                }
+            ]
+        }
+    ]
+}


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