[neon/extras/kronometer/Neon/release] /: add snap file

Jonathan Riddell null at kde.org
Tue Apr 13 14:57:27 BST 2021


Git commit bb5fed936dd71a12fe9393579b4d1aa688319de1 by Jonathan Riddell.
Committed on 13/04/2021 at 13:57.
Pushed by jriddell into branch 'Neon/release'.

add snap file

A  +64   -0    snapcraft.yaml

https://invent.kde.org/neon/extras/kronometer/commit/bb5fed936dd71a12fe9393579b4d1aa688319de1

diff --git a/snapcraft.yaml b/snapcraft.yaml
new file mode 100644
index 0000000..f8c8c55
--- /dev/null
+++ b/snapcraft.yaml
@@ -0,0 +1,64 @@
+---
+name: kronometer
+confinement: strict
+grade: stable
+base: core20
+adopt-info: kronometer
+apps:
+    blinken:
+        extensions:
+        - kde-neon
+        common-id: org.kde.kronometer.desktop
+        command: usr/bin/kronometer
+        plugs:
+        - home
+        - network
+        - network-bind
+        - audio-playback
+        - removable-media
+slots:
+    session-dbus-interface:
+        interface: dbus
+        name: org.kde.kronometer
+        bus: session
+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:
+    blinken:
+        build-environment:
+        - CMAKE_BUILD_PARALLEL_LEVEL: "4"
+        plugin: cmake
+        build-packages:
+        - libkf5doctools-dev
+        - libphonon4qt5-dev
+        source: https://download.kde.org/stable/kronometer/2.2.3/src/kronometer-2.2.3.tar.xz
+        cmake-parameters:
+        - "-DKDE_INSTALL_USE_QT_SYS_PATHS=ON"
+        - "-DCMAKE_INSTALL_PREFIX=/usr"
+        - "-DCMAKE_BUILD_TYPE=Release"
+        - "-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"
+        parse-info:
+        - usr/share/metainfo/org.kde.kronometer.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