]> cloud.milkyroute.net Git - dolphin.git/commitdiff
Enable GitLab CI for Flatpak
authorJulius Enriquez <win8linux@gmail.com>
Wed, 30 Aug 2023 10:26:30 +0000 (18:26 +0800)
committerJulius Enriquez <win8linux@gmail.com>
Fri, 1 Sep 2023 17:19:23 +0000 (17:19 +0000)
.flatpak-manifest.json [new file with mode: 0644]
.gitlab-ci.yml

diff --git a/.flatpak-manifest.json b/.flatpak-manifest.json
new file mode 100644 (file)
index 0000000..dbb102a
--- /dev/null
@@ -0,0 +1,70 @@
+{
+    "id": "org.kde.dolphin",
+    "branch": "master",
+    "runtime": "org.kde.Platform",
+    "runtime-version": "5.15-22.08",
+    "sdk": "org.kde.Sdk",
+    "command": "dolphin",
+    "tags": ["nightly"],
+    "desktop-file-name-suffix": " (Nightly)",
+    "finish-args": ["--share=ipc", "--socket=x11", "--socket=wayland", "--filesystem=host" ],
+
+    "modules": [
+        {
+            "name": "lmdb",
+            "sources": [
+                {
+                    "type": "git",
+                    "url": "https://github.com/LMDB/lmdb.git",
+                    "tag": "LMDB_0.9.29",
+                    "x-checker-data": {
+                        "type": "git",
+                        "tag-pattern": "^LMDB_([\\d.]+)$"
+                    },
+                    "commit": "8ad7be2510414b9506ec9f9e24f24d04d9b04a1a"
+                }
+            ],
+            "no-autogen": true,
+            "make-install-args": ["prefix=/app"],
+            "subdir" : "libraries/liblmdb"
+        },
+        {
+            "config-opts": ["-DENABLE_TESTING=OFF" , "-DLMDB_DIR=/app"],
+            "name": "baloo",
+            "buildsystem": "cmake-ninja",
+           "builddir": true,
+            "sources": [
+                {
+                    "type": "git",
+                    "url": "https://invent.kde.org/frameworks/baloo.git",
+                    "tag": "v5.101.0",
+                    "x-checker-data": {
+                        "type": "git",
+                        "tag-pattern": "^v([\\d.]+)$"
+                    },
+                    "commit": "03246908508ec9086171832e615c36bbaa48b6da"
+                }
+            ]
+        },
+        {
+            "config-opts": ["-DENABLE_TESTING=OFF" , "-DLMDB_DIR=/app"],
+            "name": "baloo-widgets",
+            "buildsystem": "cmake-ninja",
+           "builddir": true,
+            "sources": [ { "type": "git", "url": "https://invent.kde.org/libraries/baloo-widgets.git" } ]
+        },
+        {
+           "config-opts": ["-DFLATPAK=ON"],
+            "name": "dolphin",
+            "buildsystem": "cmake-ninja",
+           "builddir": true,
+            "sources": [ { "type": "dir", "path": "." } ]
+        },
+        {
+            "name": "dolphin-plugins",
+            "buildsystem": "cmake-ninja",
+           "builddir": true,
+            "sources": [ { "type": "git", "url": "https://invent.kde.org/sdk/dolphin-plugins.git" } ]
+        }
+    ]
+}
index 9b09627599143a8cfdf42d6e6961c38842a7ebec..8c7d812eff95caa9f6efca52e24695d7b4e04bf1 100644 (file)
@@ -2,3 +2,4 @@ include:
   - https://invent.kde.org/sysadmin/ci-utilities/raw/master/gitlab-templates/linux.yml
   - https://invent.kde.org/sysadmin/ci-utilities/raw/master/gitlab-templates/freebsd.yml
   - https://invent.kde.org/sysadmin/ci-utilities/raw/master/gitlab-templates/windows.yml
+  - https://invent.kde.org/sysadmin/ci-utilities/raw/master/gitlab-templates/flatpak.yml