[eog] snap: Build cairo and librsvg as parts



commit 2da0b14d0413c95c9bff391f152a62f7080e6756
Author: Ken VanDine <ken vandine org>
Date:   Thu Jun 27 13:39:16 2019 -0400

    snap: Build cairo and librsvg as parts

 snap/snapcraft.yaml | 46 +++++++++++++++++++++++++++++++++++++++++++---
 1 file changed, 43 insertions(+), 3 deletions(-)
---
diff --git a/snap/snapcraft.yaml b/snap/snapcraft.yaml
index b7ab54b6..c5cb9e9a 100644
--- a/snap/snapcraft.yaml
+++ b/snap/snapcraft.yaml
@@ -71,9 +71,50 @@ parts:
     override-build: |
       snapcraftctl build
       mkdir -pv $SNAPCRAFT_PART_INSTALL/gnome-platform
-
+  cairo:
+    after: [ desktop-gnome-platform ]
+    source-branch: '1.16'
+    source: git://anongit.freedesktop.org/git/cairo
+    plugin: autotools
+    configflags:
+      - --prefix=/usr
+      - --enable-pdf
+      - --enable-ps
+      - --enable-xlib
+      - --enable-png
+      - --enable-tee
+      - --enable-svg
+      - --enable-perf-utils
+      - --disable-silent-rules
+      - --disable-maintainer-mode
+    build-packages:
+      - libfontconfig1-dev
+      - libfreetype6-dev
+      - libpixman-1-dev
+      - libpoppler-dev
+      - libx11-dev
+      - libxext-dev
+      - libxcb-render0-dev
+  librsvg:
+    after: [ cairo ]
+    source: https://gitlab.gnome.org/GNOME/librsvg.git
+    source-branch: librsvg-2.44
+    plugin: autotools
+    configflags: [ --prefix=/usr ]
+    build-packages:
+      - cargo
+      - libcroco3-dev
+      - libfreetype6-dev
+      - libgdk-pixbuf2.0-dev
+      - libgirepository1.0-dev
+      - libglib2.0-dev
+      - libgtk-3-dev
+      - libpango1.0-dev
+      - libxml2-dev
+      - rustc
+      - valac
   eog:
-    after: [desktop-gnome-platform]
+    after: [librsvg]
     source: .
     source-type: git
     parse-info: [usr/share/metainfo/eog.appdata.xml]
@@ -108,7 +149,6 @@ parts:
       - libjpeg-dev
       - liblcms2-dev
       - libpeas-dev
-      - librsvg2-dev
       - pkg-config
       - shared-mime-info
       - valac


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