-
-
Notifications
You must be signed in to change notification settings - Fork 12
Expand file tree
/
Copy pathsnapcraft.yaml
More file actions
80 lines (80 loc) · 1.85 KB
/
snapcraft.yaml
File metadata and controls
80 lines (80 loc) · 1.85 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
# SPDX-FileCopyrightText: 2024-2026 Scarlett Moore <sgmoore@kde.org>
#
# SPDX-License-Identifier: CC0-1.0
---
name: kturtle
confinement: strict
grade: stable
base: core24
adopt-info: kturtle
apps:
kturtle:
extensions:
- kde-neon-6
common-id: org.kde.kturtle.desktop
desktop: usr/share/applications/org.kde.kturtle.desktop
command: usr/bin/kturtle
plugs:
- audio-playback
slots:
session-dbus-interface:
interface: dbus
name: org.kde.kturtle
bus: session
parts:
kturtle:
parse-info:
- usr/share/metainfo/org.kde.kturtle.appdata.xml
plugin: cmake
source: .
source-type: local
build-snaps:
- kde-qt6-core24-sdk/latest/beta
- kf6-core24-sdk/latest/beta
build-packages:
- libxml2-dev
- gettext
- doxygen
- graphviz
- libxml2-utils
- docbook-xml
- docbook-xsl
- libpulse0
stage-packages:
- libpulse0
cmake-parameters:
- -DCMAKE_INSTALL_PREFIX=/usr
- -DCMAKE_BUILD_TYPE=Release
- -DQT_MAJOR_VERSION=6
- -DBUILD_WITH_QT6=ON
- -DBUILD_TESTING=OFF
prime:
- -usr/lib/*/cmake/*
- -usr/include/*
- -usr/share/ECM/*
- -usr/share/man/*
- -usr/bin/X11
- -usr/lib/gcc/$CRAFT_ARCH_TRIPLET_BUILD_FOR/6.0.0
- -usr/lib/aspell/*
- -usr/share/lintian
gpu-2404:
after: [kturtle]
source: https://github.com/canonical/gpu-snap.git
plugin: dump
override-prime: |
craftctl default
${CRAFT_PART_SRC}/bin/gpu-2404-cleanup mesa-2404
prime:
- bin/gpu-2404-wrapper
cleanup:
after:
- kturtle
plugin: nil
build-snaps:
- core24
- kf6-core24
override-prime: |
set -eux
for snap in "core24" "kf6-core24"; do
cd "/snap/$snap/current" && find . -type f,l -exec rm -rf "${CRAFT_PRIME}/{}" \;
done