[xdg-desktop-portal-gnome/mwleeds/implement-dynamic-launcher: 2/2] CI: Build x-d-p from git




commit 298f73faa4582a1280d8ac20eec0faf5382da366
Author: Phaedrus Leeds <mwleeds protonmail com>
Date:   Mon Mar 14 17:51:51 2022 -0700

    CI: Build x-d-p from git

 .gitlab-ci.yml | 21 ++++++++++++++++++---
 1 file changed, 18 insertions(+), 3 deletions(-)
---
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 023a02e..a004d0b 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -16,12 +16,20 @@ build-fedora:
   extends: .build-common
   before_script:
     - dnf install -y 'dnf-command(builddep)' meson git gtk4-devel sassc gsettings-desktop-schemas-devel
-    - dnf builddep -y xdg-desktop-portal-gtk gnome-desktop3
+    - dnf install -y fuse3-devel gettext-devel
+    - dnf builddep -y xdg-desktop-portal-gtk gnome-desktop3 xdg-desktop-portal
     - git clone https://gitlab.gnome.org/GNOME/gnome-desktop.git &&
       cd gnome-desktop &&
       meson . _build --prefix /usr -Ddesktop_docs=false &&
       ninja -C _build install &&
       cd ..
+    - git clone https://github.com/flatpak/xdg-desktop-portal.git &&
+      cd xdg-desktop-portal &&
+      git checkout 28ec93ccc2cc56b664edbdf37d96bc83fe6bd048 &&
+      ./autogen.sh --sysconfdir=/etc --prefix=/usr --disable-dependency-tracking --disable-libportal &&
+      make -j $(getconf _NPROCESSORS_ONLN) &&
+      make install &&
+      cd ..
 
 build-ubuntu:
   image: ubuntu:rolling
@@ -32,10 +40,17 @@ build-ubuntu:
   before_script:
     - sed -i '/deb-src/s/^# //' /etc/apt/sources.list
     - apt-get update
-    - apt-get install -y meson git libgtk-4-dev sassc
-    - apt-get build-dep -y xdg-desktop-portal-gtk
+    - apt-get install -y meson git libgtk-4-dev sassc libfuse3-dev
+    - apt-get build-dep -y xdg-desktop-portal-gtk xdg-desktop-portal
     - git clone https://gitlab.gnome.org/GNOME/gnome-desktop.git &&
       cd gnome-desktop &&
       meson . _build --prefix /usr -Ddesktop_docs=false &&
       ninja -C _build install &&
       cd ..
+    - git clone https://github.com/flatpak/xdg-desktop-portal.git &&
+      cd xdg-desktop-portal &&
+      git checkout 28ec93ccc2cc56b664edbdf37d96bc83fe6bd048 &&
+      ./autogen.sh --sysconfdir=/etc --prefix=/usr --disable-dependency-tracking --disable-libportal &&
+      make -j $(getconf _NPROCESSORS_ONLN) &&
+      make install &&
+      cd ..


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