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

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


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

update snap for core20

M  +4    -19   snapcraft.yaml

https://invent.kde.org/neon/kde/knavalbattle/commit/ad85a82461eaa5dda15639095836075d27bf39e7

diff --git a/snapcraft.yaml b/snapcraft.yaml
index b405559..fa2116b 100644
--- a/snapcraft.yaml
+++ b/snapcraft.yaml
@@ -48,10 +48,8 @@ parts:
         after:
         - kde-frameworks-5-env
         plugin: cmake
-        build-packages:
-        - libkf5kdegames-dev
-        stage-packages:
-        - libkf5kdegames-dev
+        build-environment:
+        - CMAKE_BUILD_PARALLEL_LEVEL: "4"
         source: http://download.kde.org/stable/release-service/20.12.3/src/knavalbattle-20.12.3.tar.xz
         cmake-parameters:
         - "-DKDE_INSTALL_USE_QT_SYS_PATHS=ON"
@@ -60,7 +58,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/*"
@@ -76,17 +74,4 @@ parts:
         - "$exclusion"
     kde-frameworks-5-env:
         plugin: dump
-        source: https://anongit.kde.org/snap-kf5-launcher.git
-        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"
+        source: https://invent.kde.org/packaging/snap-kf5-launcher.git


More information about the Neon-commits mailing list