[neon/snap-packaging/kf5-core] /: kf5 runtime

Scarlett Moore null at kde.org
Thu Oct 24 13:51:11 BST 2024


Git commit 76270b18155451f7cce4cdfebd283c1920f0f60e by Scarlett Moore.
Committed on 24/10/2024 at 12:50.
Pushed by scarlettmoore into branch 'master'.

kf5 runtime

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

https://invent.kde.org/neon/snap-packaging/kf5-core/-/commit/76270b18155451f7cce4cdfebd283c1920f0f60e

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..01f569e
--- /dev/null
+++ b/snapcraft.yaml
@@ -0,0 +1,133 @@
+---
+name: kf5-core22
+version: 5.116.0
+summary: KDE Frameworks 5
+description: KDE Frameworks are addons and useful extensions to Qt
+confinement: strict
+grade: stable
+base: core22
+compression: lzo
+architectures:
+  - build-on: amd64
+  - build-on: arm64
+  # - build-on: armhf
+  # - build-on: ppc64el
+lint:
+  ignore:
+    - classic
+    - library
+slots:
+    kf5-core22-slot:
+        content: kf5-core22-all
+        interface: content
+        read:
+        - "."
+    kf5-core22:
+        content: kf5-core22
+        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"
+    kf5:
+        stage-packages:
+        - mesa-utils-extra
+        - freeglut3-dev
+        - libglib2.0-0
+        - gstreamer1.0-x
+        - gstreamer1.0-plugins-base
+        - gstreamer1.0-pulseaudio
+        - gstreamer1.0-plugins-good
+        - gstreamer1.0-alsa
+        - gstreamer1.0-libav
+        - gstreamer1.0-tools
+        - libgstreamer1.0-0
+        - gstreamer1.0-plugins-bad
+        - gstreamer1.0-plugins-ugly
+        - libpulse0
+        - locales
+        - libc-bin
+        - gettext
+        - libdrm-dev
+        - mesa-va-drivers
+        -   on amd64:
+            - i965-va-driver
+            - intel-media-va-driver
+        stage-snaps:
+        - kf5-core22-sdk/latest/stable
+        - kde-qt5-core22-sdk/latest/stable
+        stage:
+        - -usr/lib/*/libdrm*
+        - -usr/share/doc/libdrm*
+        - -usr/lib/*/cmake
+        - -usr/lib/*/qt5/mkspecs
+        - -usr/share/qt5/doc
+        - -usr/share/man
+        - -usr/share/doc
+        - -usr/share/ECM
+        plugin: nil
+        override-prime: |
+            set -eux
+            craftctl default
+            cd $CRAFT_PRIME
+            find . -type f,l -name "*.h" -exec bash -c "rm -f {}*" \;
+    alsa-pulseaudio:
+        plugin: dump
+        source: .
+        override-pull: |
+            mkdir etc -p
+            cat > etc/asound.conf <<EOF
+            pcm.!default {
+                type pulse
+                fallback "sysdefault"
+                hint {
+                    show on
+                    description "Default ALSA Output (currently PulseAudio Sound Server)"
+                }
+            }
+            ctl.!default {
+                type pulse
+                fallback "sysdefault"
+            }
+            EOF
+    command-chain:
+        source: https://invent.kde.org/neon/snap-packaging/snapcraft-desktop-integration.git
+        source-type: git
+        source-subdir: kde-neon
+        plugin: make
+        make-parameters:
+        - PLATFORM_PLUG=$SNAPCRAFT_PROJECT_NAME
+        stage-packages:
+        - tox


More information about the Neon-commits mailing list