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

Jonathan Riddell null at kde.org
Wed Mar 3 17:06:07 GMT 2021


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

update to core20 snap

M  +19   -12   snapcraft.yaml

https://invent.kde.org/neon/extras/skanlite/commit/9d79d4694cf5653e09375d96d03f9094b8cacecb

diff --git a/snapcraft.yaml b/snapcraft.yaml
index 33a39d8..74805f4 100644
--- a/snapcraft.yaml
+++ b/snapcraft.yaml
@@ -1,14 +1,9 @@
 ---
 name: skanlite
-version: 2.2.0
-summary: image scanner based on the KSane backend
-description: skanlite is a terminal based on an electronic game released in 1978 Skanlite
-    is a small and simple scanner application (based on KDE Frameworks) which allows
-    easy scanning of images with an attached scanner. Through the KSane backend, it
-    can access a wide variety of different scanner models.
 confinement: strict
 grade: stable
-base: core18
+base: core20
+adopt-info: skanlite
 apps:
     skanlite:
         command: kf5-launch skanlite
@@ -30,14 +25,23 @@ slots:
         bus: session
 plugs:
     kde-frameworks-5-plug:
-        content: kde-frameworks-5-core18-all
+        content: kde-frameworks-5-qt-5-15-core20-all
         interface: content
-        default-provider: kde-frameworks-5-core18
+        default-provider: kde-frameworks-5-qt-5-15-core20
         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:
     libksane:
         build-snaps:
-        - kde-frameworks-5-core18-sdk
+        - kde-frameworks-5-qt-5-15-core20-sdk/latest/candidate
         after:
         - kde-frameworks-5-env
         plugin: cmake
@@ -46,7 +50,7 @@ parts:
         stage-packages:
         - libsane-dev
         source: https://anongit.kde.org/libksane.git
-        configflags:
+        cmake-parameters:
         - "-DKDE_INSTALL_USE_QT_SYS_PATHS=ON"
         - "-DCMAKE_INSTALL_PREFIX=/usr"
         - "-DCMAKE_BUILD_TYPE=Release"
@@ -54,6 +58,8 @@ parts:
         - "-DBUILD_TESTING=OFF"
         - "-DKDE_SKIP_TEST_SETTINGS=ON"
     skanlite:
+        parse-info:
+        - usr/share/metainfo/org.kde.skanlite.appdata.xml
         build-snaps:
         - kde-frameworks-5-core18-sdk
         after:
@@ -63,13 +69,14 @@ parts:
         build-packages:
         - libpng-dev
         source: https://download.kde.org/stable/skanlite/2.2/skanlite-2.2.0.tar.xz
-        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=/snap/kde-frameworks-5-qt-5-15-core20-sdk/current"
     kde-frameworks-5-env:
         plugin: dump
         source: https://anongit.kde.org/snap-kf5-launcher.git


More information about the Neon-commits mailing list