[evince/wip/gpoo/gtk4-rebase-port: 63/65] build: Enable only flatpak build for CI




commit 797faf00e2995bb4625463627e2a9f31860f231d
Author: Germán Poo-Caamaño <gpoo gnome org>
Date:   Tue Oct 12 02:15:10 2021 -0300

    build: Enable only flatpak build for CI
    
    * Temporarily enable only flatpak to build in the CI until we have
      an image to build using meson.
    * Add access to dri

 .gitlab-ci.yml                          | 4 +++-
 build-aux/flatpak/org.gnome.Evince.json | 1 +
 2 files changed, 4 insertions(+), 1 deletion(-)
---
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 36502ab0b..35660edc0 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -10,6 +10,7 @@ variables:
 meson:
     image: registry.gitlab.gnome.org/gnome/evince/x86_64-ubuntu:poppler
     stage: build
+    when: manual
 
     script:
         - >
@@ -28,6 +29,7 @@ meson:
 meson-internal-synctex:
     image: registry.gitlab.gnome.org/gnome/evince/x86_64-ubuntu:poppler
     stage: build
+    when: manual
 
     script:
         - meson -Dinternal_synctex=true _build
@@ -47,7 +49,7 @@ flatpak:
         MANIFEST_PATH: "build-aux/flatpak/org.gnome.Evince.json"
         RUNTIME_REPO: "https://nightly.gnome.org/gnome-nightly.flatpakrepo";
         FLATPAK_MODULE: "evince"
-        MESON_ARGS: "-Dnautilus=false -Dgtk_doc=false"
+        MESON_ARGS: "-Dnautilus=false -Ddevelopment=true"
         APP_ID: "org.gnome.Evince"
     extends: .flatpak
 
diff --git a/build-aux/flatpak/org.gnome.Evince.json b/build-aux/flatpak/org.gnome.Evince.json
index 59f3e03d8..e87e1c1c4 100644
--- a/build-aux/flatpak/org.gnome.Evince.json
+++ b/build-aux/flatpak/org.gnome.Evince.json
@@ -12,6 +12,7 @@
     "finish-args" : [
         "--share=ipc",
         "--socket=x11",
+        "--device=dri",
         "--socket=wayland",
         "--socket=pulseaudio",
         "--filesystem=host",


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