[neon/snap-packaging/kde-akonadi-runtime] /: Initial runtime packaging.

Scarlett Moore null at kde.org
Wed Apr 24 17:54:12 BST 2024


Git commit ec69ac76caf0481e5cb14137162fedf345199ffd by Scarlett Moore.
Committed on 24/04/2024 at 16:53.
Pushed by scarlettmoore into branch 'master'.

Initial runtime packaging.

A  +7    -0    debian/.gitlab-ci-neon.yml
A  +97   -0    snapcraft.yaml

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

diff --git a/debian/.gitlab-ci-neon.yml b/debian/.gitlab-ci-neon.yml
new file mode 100644
index 0000000..a4177c2
--- /dev/null
+++ b/debian/.gitlab-ci-neon.yml
@@ -0,0 +1,7 @@
+# SPDX-FileCopyrightText: none
+# SPDX-License-Identifier: CC0-1.0
+
+include:
+  - project: sysadmin/ci-utilities
+    file:
+      - /gitlab-templates/snap-snapcraft-lxd.yml
diff --git a/snapcraft.yaml b/snapcraft.yaml
new file mode 100644
index 0000000..e5cb82d
--- /dev/null
+++ b/snapcraft.yaml
@@ -0,0 +1,97 @@
+---
+name: akonadi
+version: 24.05
+summary: KDE Akonadi Server
+description: KDE Akonadi server needed by KDE PIM applications
+confinement: strict
+grade: stable
+base: core22
+compression: lzo
+architectures:
+  - build-on: amd64
+  - build-on: arm64
+  # - build-on: armhf
+  # - build-on: ppc64el
+slots:
+    akonadi-slot:
+        content: akonadi-all
+        interface: content
+        read:
+        - "."
+    akonadi:
+        content: akonadi
+        interface: content
+        read:
+        - "."
+package-repositories:
+-   type: apt
+    components:
+    - main
+    suites:
+    - jammy
+    key-id: 444DABCF3667D0283F894EDDE6D4736255751E5D
+    url: http://origin.archive.neon.kde.org/user
+    key-server: keyserver.ubuntu.com
+parts:
+    mesa:
+        after: []
+        plugin: nil
+        build-attributes:
+        - no-patchelf
+        build-packages: []
+        stage-packages:
+        - libgl1-mesa-dri
+        - libglx-mesa0
+        prime:
+        - "-lib/udev"
+        - "-usr/doc"
+        - "-usr/doc-base"
+        - "-usr/share/applications"
+        - "-usr/share/apport"
+        - "-usr/share/bug"
+        - "-usr/share/doc"
+        - "-usr/share/doc-base"
+        - "-usr/share/icons"
+        - "-usr/share/libdrm"
+        - "-usr/share/libwacom"
+        - "-usr/share/lintian"
+        - "-usr/share/man"
+        - "-usr/share/pkgconfig"
+    akonadi:
+        stage-packages:
+        - mesa-utils-extra
+        - freeglut3-dev
+        - libglib2.0-0
+        - gstreamer1.0-x
+        - gstreamer1.0-plugins-base
+        - gstreamer1.0-pulseaudio
+        - gstreamer1.0-plugins-good
+        - locales
+        - libc-bin
+        - gettext
+        - libdrm-dev
+        - mesa-va-drivers
+        -   on amd64:
+            - i965-va-driver
+            - intel-media-va-driver
+        stage-snaps:
+        - akonadi-sdk/latest/stable
+        stage:
+        - -usr/lib/*/libdrm*
+        - -usr/share/doc/libdrm*
+        plugin: nil
+        override-prime: |
+            set -eux
+            craftctl default
+            cd $CRAFT_PRIME
+            find . -type f,l -name "*.h" -exec bash -c "rm -f {}*" \;
+    command-chain:
+        source: https://github.com/canonical/snapcraft.git
+        source-type: git
+        source-branch: main
+        source-subdir: extensions/desktop/kde-neon-6
+        plugin: make
+        make-parameters:
+        - PLATFORM_PLUG=$SNAPCRAFT_PROJECT_NAME
+        stage-packages:
+        - tox


More information about the Neon-commits mailing list