-
-
Notifications
You must be signed in to change notification settings - Fork 31
/
snapcraft.yaml
134 lines (133 loc) · 3.81 KB
/
snapcraft.yaml
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
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
# Rebuild 1
---
name: k3b
confinement: strict
grade: stable
base: core22
adopt-info: k3b
apps:
k3b:
# extensions:
# - kde-neon
common-id: org.kde.k3b
desktop: usr/share/applications/org.kde.k3b.desktop
command: usr/bin/k3b
plugs:
- home
- desktop
- desktop-legacy
- opengl
- wayland
- x11
- audio-playback
- unity7
- network
- network-bind
- optical-drive
- system-backup
- mount-observe
command-chain:
- snap/command-chain/desktop-launch
assumes:
- snapd2.55.3
compression: lzo
plugs:
desktop:
mount-host-font-cache: false
icon-themes:
interface: content
target: $SNAP/data-dir/icons
default-provider: gtk-common-themes
sound-themes:
interface: content
target: $SNAP/data-dir/sounds
default-provider: gtk-common-themes
kf5-5-108-qt-5-15-10-core22:
content: kf5-5-108-qt-5-15-10-core22-all
interface: content
default-provider: kf5-5-108-qt-5-15-10-core22
target: $SNAP/kf5
environment:
SNAP_DESKTOP_RUNTIME: $SNAP/kf5
hooks:
configure:
plugs:
- desktop
command-chain:
- snap/command-chain/hooks-configure-desktop
layout:
/usr/share/X11:
symlink: $SNAP/kf5/usr/share/X11
slots:
session-dbus-interface:
interface: dbus
name: org.kde.k3b
bus: session
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:
kde-neon:
source: /snap/snapcraft/current/share/snapcraft/extensions/desktop/kde-neon
source-type: local
plugin: make
make-parameters:
- PLATFORM_PLUG=kf5-5-108-qt-5-15-10-core22
build-snaps:
- kf5-5-108-qt-5-15-10-core22-sdk
build-environment:
- &id001
PATH: /snap/kf5-5-108-qt-5-15-10-core22-sdk/current/usr/bin${PATH:+:$PATH}
- &id002
XDG_DATA_DIRS: $CRAFT_STAGE/usr/share:/snap/kf5-5-108-qt-5-15-10-core22-sdk/current/usr/share:/usr/share${XDG_DATA_DIRS:+:$XDG_DATA_DIRS}
- &id003
XDG_CONFIG_HOME: $CRAFT_STAGE/etc/xdg:/snap/kf5-5-108-qt-5-15-10-core22-sdk/current/etc/xdg:/etc/xdg${XDG_CONFIG_HOME:+:$XDG_CONFIG_HOME}
- &id004
CRAFT_CMAKE_ARGS: -DCMAKE_FIND_ROOT_PATH=/snap/kf5-5-108-qt-5-15-10-core22-sdk/current${CRAFT_CMAKE_ARGS:+:$CRAFT_CMAKE_ARGS}
k3b:
after:
- kde-neon
parse-info:
- usr/share/metainfo/org.kde.k3b.appdata.xml
plugin: cmake
build-packages:
- libkf5doctools-dev
- libsamplerate0-dev
- libkf5cddb-dev
- libmad0-dev
stage-packages:
- libkf5cddb5
- libsamplerate0
- libmad0
- kio
source: http://download.kde.org/stable/release-service/23.08.0/src/k3b-23.08.0.tar.xz
cmake-parameters:
- -DKDE_INSTALL_USE_QT_SYS_PATHS=FALSE
- -DCMAKE_INSTALL_PREFIX=/usr
- -DCMAKE_BUILD_TYPE=Release
- -DENABLE_TESTING=OFF
- -DBUILD_TESTING=OFF
- -DKDE_SKIP_TEST_SETTINGS=ON
- -DCMAKE_FIND_ROOT_PATH=$CRAFT_STAGE:/snap/kf5-5-108-qt-5-15-10-core22-sdk/current
build-environment: &id005
- *id001
- *id002
- *id003
- *id004
prime:
- "-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/$CRAFT_ARCH_TRIPLET/6.0.0"
- "-usr/lib/aspell/*"
- "-etc/alsa/conf.d/99-pulse.conf"