[neon/kde/palapeli/Neon/release] /: update snap for core20

Jonathan Riddell null at kde.org
Mon Mar 22 16:18:25 GMT 2021


Git commit 53d597c5ca2af6a7ee619e6819302b2c1b541a55 by Jonathan Riddell.
Committed on 22/03/2021 at 16:10.
Pushed by jriddell into branch 'Neon/release'.

update snap for core20

M  +6    -20   snapcraft.yaml

https://invent.kde.org/neon/kde/palapeli/commit/53d597c5ca2af6a7ee619e6819302b2c1b541a55

diff --git a/snapcraft.yaml b/snapcraft.yaml
index 7180941..48d8533 100644
--- a/snapcraft.yaml
+++ b/snapcraft.yaml
@@ -36,21 +36,6 @@ package-repositories:
     url: http://origin.archive.neon.kde.org/user
     key-server: keyserver.ubuntu.com
 parts:
-    kde-frameworks-5-env:
-        plugin: dump
-        filesets:
-            exclusion:
-            - "-usr/lib/*/cmake/*"
-            - "-usr/include/*"
-            - "-usr/share/ECM/*"
-            - "-usr/share/doc/*"
-            - "-usr/share/man/*"
-            - "-usr/share/icons/breeze-dark*"
-            - "-usr/bin/X11"
-            - "-usr/lib/gcc/x86_64-linux-gnu/6.0.0"
-            - "-usr/lib/aspell/*"
-        prime:
-        - "$exclusion"
     palapeli:
         parse-info:
         - usr/share/metainfo/org.kde.palapeli.appdata.xml
@@ -59,10 +44,8 @@ parts:
         after:
         - kde-frameworks-5-env
         plugin: cmake
-        build-packages:
-        - libkf5kdegames-dev
-        stage-packages:
-        - libkf5kdegames-dev
+        build-environment:
+        - CMAKE_BUILD_PARALLEL_LEVEL: "4"
         - qhull-bin
         source: http://download.kde.org/stable/release-service/20.12.3/src/palapeli-20.12.3.tar.xz
         cmake-parameters:
@@ -71,7 +54,7 @@ parts:
         - "-DENABLE_TESTING=OFF"
         - "-DBUILD_TESTING=OFF"
         - "-DKDE_SKIP_TEST_SETTINGS=ON"
-        - "-DCMAKE_FIND_ROOT_PATH=/root/stage\\;/snap/kde-frameworks-5-qt-5-15-core20-sdk/current"
+        - "-DCMAKE_FIND_ROOT_PATH=/usr\\;/root/stage\\;/snap/kde-frameworks-5-qt-5-15-core20-sdk/current"
         filesets:
             exclusion:
             - "-usr/lib/*/cmake/*"
@@ -85,3 +68,6 @@ parts:
             - "-usr/lib/aspell/*"
         prime:
         - "$exclusion"
+    kde-frameworks-5-env:
+        plugin: dump
+        source: https://invent.kde.org/packaging/snap-kf5-launcher.git


More information about the Neon-commits mailing list