[neon/extras/elisa/Neon/release] /: update to core20 snap

Jonathan Riddell null at kde.org
Wed Mar 3 17:05:31 GMT 2021


Git commit d0e5b9c8821fe9ac28992f10e3489d40ab509577 by Jonathan Riddell.
Committed on 03/03/2021 at 17:05.
Pushed by jriddell into branch 'Neon/release'.

update to core20 snap

M  +27   -5    snapcraft.yaml

https://invent.kde.org/neon/extras/elisa/commit/d0e5b9c8821fe9ac28992f10e3489d40ab509577

diff --git a/snapcraft.yaml b/snapcraft.yaml
index d86c91f..aec59c5 100644
--- a/snapcraft.yaml
+++ b/snapcraft.yaml
@@ -1,11 +1,8 @@
 ---
 name: elisa
-version: 20.12.3
-summary: Simple Music Player
-description: A simple music player that should be easy to use. It does not require
-    any configuration before one can use it.
 confinement: strict
 grade: devel
+adopt-info: elisa
 apps:
     elisa:
         command: kf5-launch elisa
@@ -34,8 +31,19 @@ plugs:
         interface: content
         default-provider: kde-frameworks-5
         target: kf5
+package-repositories:
+-   type: apt
+    components:
+    - main
+    suites:
+    - focal
+    key-id: 444DABCF3667D0283F894EDDE6D4736255751E5D
+    url: http://origin.archive.neon.kde.org/user
+    key-server: keyserver.ubuntu.com
 parts:
     elisa:
+        parse-info:
+        - usr/share/metainfo/org.kde.elisa.appdata.xml
         after:
         - kde-frameworks-5-dev
         - kde-frameworks-5-env
@@ -51,12 +59,26 @@ parts:
         source-type: git
         source-depth: 1
         plugin: cmake
-        configflags:
+        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=/root/stage\\;/snap/kde-frameworks-5-qt-5-15-core20-sdk/current"
         stage:
         - "-usr/lib/*/libharfbuzz.so*"
+        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"


More information about the Neon-commits mailing list