[gedit] snap: Fixed build failures by added tepl part



commit ec31f0c22bb205169c3952195c17833223ba27e6
Author: Ken VanDine <ken vandine canonical com>
Date:   Wed Nov 13 17:13:48 2019 -0800

    snap: Fixed build failures by added tepl part

 snap/snapcraft.yaml | 28 ++++++++++++++++++++++++++--
 1 file changed, 26 insertions(+), 2 deletions(-)
---
diff --git a/snap/snapcraft.yaml b/snap/snapcraft.yaml
index 7a2022a4b..94b480bc9 100644
--- a/snap/snapcraft.yaml
+++ b/snap/snapcraft.yaml
@@ -41,6 +41,31 @@ apps:
       GTK_USE_PORTAL: 1
 
 parts:
+  amtk:
+    source: https://gitlab.gnome.org/GNOME/amtk.git
+    source-type: git
+    plugin: autotools
+    configflags:
+      - --prefix=/usr
+      - --enable-introspection=no
+    organize:
+      snap/gedit/current/usr: usr
+
+  tepl:
+    after: [amtk, gtksourceview]
+    source: https://gitlab.gnome.org/GNOME/tepl.git
+    source-type: git
+    plugin: autotools
+    configflags:
+      - --prefix=/usr
+      - --enable-introspection=no
+    organize:
+      snap/gedit/current/usr: usr
+    build-packages:
+      - libuchardet-dev
+    stage-packages:
+      - libuchardet0
+
   gtksourceview:
     source: https://gitlab.gnome.org/GNOME/gtksourceview.git
     source-type: git
@@ -70,7 +95,7 @@ parts:
        cp $SNAPCRAFT_PART_INSTALL/usr/share/vala/vapi/gtksource* /usr/share/vala/vapi
 
   gedit:
-    after: [gtksourceview]
+    after: [gtksourceview, tepl]
     source: .
     source-type: git
     parse-info: [usr/share/metainfo/org.gnome.gedit.appdata.xml]
@@ -78,7 +103,6 @@ parts:
     meson-parameters:
       - --prefix=/usr
       - -Dvala_args="--vapidir=$SNAPCRAFT_STAGE/usr/share/vala/vapi"
-
     build-environment:
       - C_INCLUDE_PATH: $SNAPCRAFT_STAGE/usr/include/gtksourceview-4
     override-build: |


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