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

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


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

update to core20 snap

M  +39   -35   snapcraft.yaml

https://invent.kde.org/neon/extras/ktorrent/commit/a03f02c96a357e641fd05bf7f60cb3ff74ee4b4a

diff --git a/snapcraft.yaml b/snapcraft.yaml
index 6860745..ae04f96 100644
--- a/snapcraft.yaml
+++ b/snapcraft.yaml
@@ -1,37 +1,9 @@
 ---
 name: ktorrent
-version: 20.12.3
-summary: BitTorrent Client
-description: |-
-    KTorrent is a BitTorrent application by KDE which allows you to download files using the BitTorrent protocol. It enables you to run multiple torrents at the same time and comes with extended features to make it a full-featured client for BitTorrent.
-
-    Features:
-
-    - Queuing of torrents
-    - Global and per torrent speed limits
-    - Previewing of certain file types, build in (video and audio)
-    - Importing of partially or fully downloaded files
-    - File prioritization for multi-file torrents
-    - Selective downloading for multi-file torrents
-    - Kick/ban peers with an additional IP Filter dialog for list/edit purposes
-    - UDP tracker support
-    - Support for private trackers and torrents
-    - Support for µTorrent's peer exchange
-    - Support for protocol encryption (compatible with Azureus)
-    - Support for creating trackerless torrents
-    - Support for distributed hash tables (DHT, the Mainline version)
-    - Support for UPnP to automatically forward ports on a LAN with dynamic assigned hosts
-    - Support for webseeds
-    - Scripting support via Kross, and interprocess control via D-Bus interface
-    - System tray integration
-    - Tracker authentication support
-    - Connection through a proxy
-
-    In addition to the built-in functionalities, there are some plugins available for KTorrent.
 adopt-info: ktorrent
 confinement: strict
 grade: stable
-base: core18
+base: core20
 apps:
     ktorrent:
         command: kf5-launch ktorrent
@@ -60,17 +32,35 @@ 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:
     kde-frameworks-5-env:
         plugin: dump
-        prime:
-        - kf5-launch
-        - kf5-portal-launch
-        - kf5
         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"
     ktorrent:
         build-snaps:
-        - kde-frameworks-5-qt-5-14-core18-sdk
+        - kde-frameworks-5-qt-5-15-core20-sdk/latest/candidate
         after:
         - kde-frameworks-5-env
         plugin: cmake
@@ -91,11 +81,25 @@ parts:
         - libktorrent-dev
         - libtag1-dev
         source: http://download.kde.org/stable/release-service/20.12.3/src/ktorrent-20.12.3.tar.xz
-        configflags:
+        cmake-parameters:
         - "-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"
         parse-info:
         - usr/share/metainfo/org.kde.ktorrent.appdata.xml
+        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