[krb5-auth-dialog] ci: Build flatpak



commit b5f90197af710696138d30b7b04ff854549b619e
Author: Guido Günther <agx sigxcpu org>
Date:   Mon Feb 8 15:02:55 2021 +0100

    ci: Build flatpak

 .gitlab-ci.yml               | 14 ++++++++++++++
 org.gnome.KrbAuthDialog.json | 37 +++++++++++++++++++++++++++++++++++++
 2 files changed, 51 insertions(+)
---
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
old mode 100644
new mode 100755
index cacb8fa..faa143d
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -1,3 +1,5 @@
+include: 'https://gitlab.gnome.org/GNOME/citemplates/raw/master/flatpak/flatpak_ci_initiative.yml'
+
 variables:
     DEBIAN_DEPS:
       build-essential
@@ -24,3 +26,15 @@ build-debian:
   script:
     - meson . _build
     - ninja -C _build
+
+flatpak:
+  image: registry.gitlab.gnome.org/gnome/gnome-runtime-images/gnome:master
+  stage: build
+  variables:
+    MANIFEST_PATH: 'org.gnome.KrbAuthDialog.json'
+    FLATPAK_MODULE: "org.gnome.KrbAuthDialog"
+    RUNTIME_REPO: "https://nightly.gnome.org/gnome-nightly.flatpakrepo";
+    APP_ID: "org.gnome.KrbAuthDialog"
+    BUNDLE: 'org.gnome.KrbAuthDialog.flatpak'
+  extends: .flatpak
+
diff --git a/org.gnome.KrbAuthDialog.json b/org.gnome.KrbAuthDialog.json
new file mode 100644
index 0000000..a932456
--- /dev/null
+++ b/org.gnome.KrbAuthDialog.json
@@ -0,0 +1,37 @@
+{
+    "app-id": "org.gnome.KrbAuthDialog",
+    "runtime": "org.gnome.Platform",
+    "runtime-version": "master",
+    "sdk": "org.gnome.Sdk",
+    "command": "krb5-auth-dialog",
+    "tags" : [
+      "Development",
+      "Nightly"
+    ],
+    "finish-args": [
+        "--share=network",
+        "--socket=wayland",
+        "--socket=x11",
+        "--filesystem=xdg-run/dconf",
+        "--filesystem=~/.config/dconf:ro",
+        "--talk-name=ca.desrt.dconf",
+        "--env=DCONF_USER_CONFIG_DIR=.config/dconf",
+        "--talk-name=org.freedesktop.Notifications"
+    ],
+    "modules": [
+        {
+            "name": "org.gnome.KrbAuthDialog",
+            "buildsystem": "meson",
+            "builddir": true,
+            "config-opts": [
+                "-Detpo=disabled"
+            ],
+            "sources": [
+                {
+                    "type": "dir",
+                    "path": "."
+                }
+            ]
+        }
+    ]
+}


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