[neon/kde/kate/Neon/release] /: no extension yet, use classic for plugin goodness, fix path

Jonathan Riddell null at kde.org
Tue Mar 23 12:53:26 GMT 2021


Git commit 249a92e12682314814e7bb4847b3625b80269e06 by Jonathan Riddell.
Committed on 23/03/2021 at 12:53.
Pushed by jriddell into branch 'Neon/release'.

no extension yet, use classic for plugin goodness, fix path

M  +22   -4    snapcraft.yaml

https://invent.kde.org/neon/kde/kate/commit/249a92e12682314814e7bb4847b3625b80269e06

diff --git a/snapcraft.yaml b/snapcraft.yaml
index f7c1139..16ee59d 100644
--- a/snapcraft.yaml
+++ b/snapcraft.yaml
@@ -1,15 +1,24 @@
 ---
 name: kate
-confinement: strict
+confinement: classic
 grade: stable
 base: core20
 adopt-info: kate
 apps:
     kate:
-        extensions:
-        - kde-neon
+        plugs:
+        - kde-frameworks-5-plug
+        - home
+        - x11
+        - opengl
+        - network
+        - network-bind
+        - audio-playback
+        - desktop
+        - desktop-legacy
+        - removable-media
         common-id: org.kde.kate.desktop
-        command: usr/bin/kate
+        command: kf5-launch usr/bin/kate
 slots:
     session-dbus-interface:
         interface: dbus
@@ -20,6 +29,12 @@ slots:
         interface: dbus
         name: org.kde.Kate
         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:
@@ -34,6 +49,8 @@ parts:
         parse-info:
         - usr/share/metainfo/org.kde.kate.appdata.xml
         plugin: cmake
+        build-snaps:
+        - kde-frameworks-5-qt-5-15-core20-sdk/latest/candidate
         build-environment:
         - CMAKE_BUILD_PARALLEL_LEVEL: "4"
         build-packages:
@@ -49,6 +66,7 @@ parts:
         - "-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/*"


More information about the Neon-commits mailing list