[neon/kde/kblocks/Neon/release] /: update snap

Jonathan Riddell null at kde.org
Tue Apr 27 13:32:23 BST 2021


Git commit 6d68ba5aeac67699e47b801621f132653a66fd82 by Jonathan Riddell.
Committed on 27/04/2021 at 12:31.
Pushed by jriddell into branch 'Neon/release'.

update snap

M  +28   -12   snapcraft.yaml

https://invent.kde.org/neon/kde/kblocks/commit/6d68ba5aeac67699e47b801621f132653a66fd82

diff --git a/snapcraft.yaml b/snapcraft.yaml
index 643e1ca..3da075a 100644
--- a/snapcraft.yaml
+++ b/snapcraft.yaml
@@ -11,7 +11,6 @@ apps:
         common-id: org.kde.kblocks.desktop
         command: usr/bin/kblocks
         plugs:
-        - kde-frameworks-5-plug
         - home
         - network
         - network-bind
@@ -22,12 +21,6 @@ slots:
         interface: dbus
         name: org.kde.kblocks
         bus: session
-plugs:
-    kde-frameworks-5-plug:
-        content: kde-frameworks-5-qt-5-15-core20-all
-        interface: content
-        default-provider: kde-frameworks-5-qt-5-15-core20
-        target: kf5
 package-repositories:
 -   type: apt
     components:
@@ -43,9 +36,36 @@ layout:
     "/usr/share/alsa":
         bind: "$SNAP/usr/share/alsa"
 parts:
+    libkdegames:
+        plugin: cmake
+        source: https://download.kde.org/stable/release-service/21.04.0/src/libkdegames-21.04.0.tar.xz
+        build-packages:
+        - libopenal-dev
+        - libsndfile1-dev
+        cmake-parameters:
+        - "-DKDE_INSTALL_USE_QT_SYS_PATHS=ON"
+        - "-DCMAKE_INSTALL_PREFIX=/usr"
+        - "-DCMAKE_BUILD_TYPE=Release"
+        - "-DENABLE_TESTING=OFF"
+        - "-DBUILD_TESTING=OFF"
+        - "-DKDE_SKIP_TEST_SETTINGS=ON"
+        - "-DCMAKE_FIND_ROOT_PATH=/usr\\;/root/stage\\;/snap/kde-frameworks-5-qt-5-15-core20-sdk/current"
+        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"
     kblocks:
         after:
-        - kde-frameworks-5-env
+        - libkdegames
         plugin: cmake
         build-packages:
         - libkf5doctools-dev
@@ -77,7 +97,3 @@ parts:
         - "-DBUILD_TESTING=OFF"
         - "-DKDE_SKIP_TEST_SETTINGS=ON"
         - "-DCMAKE_FIND_ROOT_PATH=/usr\\;/root/stage\\;/snap/kde-frameworks-5-qt-5-15-core20-sdk/current"
-    kde-frameworks-5-env:
-        plugin: dump
-        source: https://invent.kde.org/packaging/snap-kf5-launcher.git
-version: 21.04.0


More information about the Neon-commits mailing list