-
-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathsnapcraft.yaml
97 lines (91 loc) · 2.43 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
# * Copyright 2024 Soumyadeep Ghosh (সৌম্যদীপ ঘোষ) <[email protected]>
# * Copyright 2023, 2024 Scarlett Moore <[email protected]>
# * SPDX-License-Identifier: GPL-2.0-or-later
name: kweather
confinement: strict
grade: stable
base: core22
adopt-info: kweather
apps:
kweather:
extensions: [kde-neon-6]
common-id: org.kde.kweather
desktop: usr/share/applications/org.kde.kweather.desktop
command: usr/bin/kweather
compression: lzo
slots:
session-dbus-interface:
interface: dbus
name: org.kde.kweather
bus: session
parts:
libplasma:
plugin: cmake
source: https://invent.kde.org/plasma/libplasma/-/archive/v6.0.3/libplasma-v6.0.3.tar.gz
cmake-parameters:
- -DCMAKE_INSTALL_PREFIX=/usr
- -DCMAKE_BUILD_TYPE=Release
- -DBUILD_DESKTOPTHEMES=OFF
- -DBUILD_TESTING=OFF
build-packages:
- libxcb-composite0-dev
- libxcb-damage0-dev
- libxcb-shape0-dev
- libxcb-glx0-dev
- libwayland-dev
- doxygen
- gettext
- graphviz
- pkg-config
- libgl-dev
- libgl1-mesa-dev
- libgles-dev
- libglvnd-dev
- libglx-dev
- libegl-dev
- libsm-dev
- docbook
- docbook-xml
- docbook-xsl
kweathercore:
plugin: cmake
source: https://invent.kde.org/libraries/kweathercore.git
source-tag: "v0.8.0"
source-depth: 1
cmake-parameters:
- -DCMAKE_INSTALL_PREFIX=/usr
- -DCMAKE_BUILD_TYPE=Release
- -DBUILD_TESTING=OFF
- -DKDE_SKIP_TEST_SETTINGS=ON
kweather:
after:
- libplasma
- kweathercore
parse-info:
- usr/share/metainfo/org.kde.kweather.appdata.xml
plugin: cmake
build-packages:
- reuse
- libvulkan-dev
- libxkbcommon-dev
source: .
source-type: local
cmake-parameters:
- -DCMAKE_INSTALL_PREFIX=/usr
- -DCMAKE_BUILD_TYPE=Release
- -DENABLE_TESTING=OFF
- -DBUILD_TESTING=OFF
- -DKDE_SKIP_TEST_SETTINGS=ON
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_BUILD_FOR/6.0.0
- -usr/lib/aspell/*
- -usr/share/lintian
build-environment:
- CMAKE_PREFIX_PATH: $CRAFT_STAGE/usr:/snap/kf6-core22-sdk/current/usr${CMAKE_PREFIX_PATH:+:$CMAKE_PREFIX_PATH}