[neon/snap-packaging/kde-akonadi-runtime] /: Move slots and server app to runtime from sdk as they are split now.

Scarlett Moore null at kde.org
Thu Apr 25 12:35:04 BST 2024


Git commit f8d2386b2f49aa63da7ad0e22626423fec821d66 by Scarlett Moore.
Committed on 25/04/2024 at 11:33.
Pushed by scarlettmoore into branch 'master'.

Move slots and server app to runtime from sdk as they are split now.
Remove duplicate xml2 lib.

M  +17   -1    snapcraft.yaml

https://invent.kde.org/neon/snap-packaging/kde-akonadi-runtime/-/commit/f8d2386b2f49aa63da7ad0e22626423fec821d66

diff --git a/snapcraft.yaml b/snapcraft.yaml
index 8ac4224..f8ecc13 100644
--- a/snapcraft.yaml
+++ b/snapcraft.yaml
@@ -9,10 +9,14 @@ base: core22
 compression: lzo
 architectures:
   - build-on: amd64
-  - build-on: arm64
+  # - build-on: arm64
   # - build-on: armhf
   # - build-on: ppc64el
 slots:
+    dbus-svc:
+        interface: dbus
+        bus: system
+        name: org.freedesktop.Akonadi
     akonadi-slot:
         content: akonadi-all
         interface: content
@@ -23,6 +27,16 @@ slots:
         interface: content
         read:
         - "."
+apps:
+    akonadiserver:
+        extensions:
+        - kde-neon-6
+        command: usr/bin/akonadiserver
+        daemon: simple
+        slots: [dbus-svc]
+environment:
+    PERL5LIB: "$SNAP/usr/share/perl5"
+    DICPATH: "$SNAP/usr/share/hunspell"
 package-repositories:
 -   type: apt
     components:
@@ -57,6 +71,8 @@ parts:
         - "-usr/share/lintian"
         - "-usr/share/man"
         - "-usr/share/pkgconfig"
+        - "-usr/lib/*/libxml2.so.2.9.13"
+        - "-usr/share/doc/libxml2/changelog.Debian.gz"
     akonadi:
         stage-packages:
         - mesa-utils-extra


More information about the Neon-commits mailing list