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

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


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

update snap

M  +31   -24   snapcraft.yaml

https://invent.kde.org/neon/kde/katomic/commit/59c76ca9c74194dd8bef3923c6e07c8e921d23a6

diff --git a/snapcraft.yaml b/snapcraft.yaml
index b5b057a..81c575d 100644
--- a/snapcraft.yaml
+++ b/snapcraft.yaml
@@ -6,30 +6,21 @@ base: core20
 adopt-info: katomic
 apps:
     katomic:
+        extensions:
+        - kde-neon
         common-id: org.kde.katomic.desktop
-        command: kf5-launch katomic
+        command: usr/bin/katomic
         plugs:
-        - kde-frameworks-5-plug
         - home
-        - x11
-        - opengl
         - network
         - network-bind
         - audio-playback
-        - desktop
-        - desktop-legacy
         - removable-media
 slots:
     session-dbus-interface:
         interface: dbus
         name: org.kde.katomic
         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:
@@ -40,22 +31,42 @@ package-repositories:
     url: http://origin.archive.neon.kde.org/user
     key-server: keyserver.ubuntu.com
 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"
     katomic:
         parse-info:
         - usr/share/metainfo/org.kde.katomic.appdata.xml
-        build-snaps:
-        - kde-frameworks-5-qt-5-15-core20-sdk/latest/candidate
         after:
-        - kde-frameworks-5-env
+        - libkdegames
         plugin: cmake
-        build-environment:
-        -   CMAKE_BUILD_PARALLEL_LEVEL: '4'
         build-packages:
-        - libkf5kdegames-dev
         - libkf5doctools-dev
         - kuserfeedback-dev
-        stage-packages:
-        - libkf5kdegames7
         source: http://download.kde.org/stable/release-service/21.04.0/src/katomic-21.04.0.tar.xz
         cmake-parameters:
         - "-DKDE_INSTALL_USE_QT_SYS_PATHS=ON"
@@ -78,7 +89,3 @@ parts:
             - "-usr/lib/aspell/*"
         prime:
         - "$exclusion"
-    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