blob: 6be92abb7a715c2351fc92d71dc9677c102a90ee (
plain)
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
134
135
136
137
138
139
140
141
142
143
|
# Maintainer: Pellegrino Prevete <cGVsbGVncmlub3ByZXZldGVAZ21haWwuY29tCg== | base -d>
# Maintainer: Truocolo <truocolo@aol.com>
# Contributor: Ricardo Liang (rliang) <ricardoliang@gmail.com>
# shellcheck disable=SC2034
_pkgname="gnome-control-center"
pkgname="${_pkgname}-git"
pkgver=43.0+11+g997a09e1a
pkgrel=1
pkgdesc="GNOME's main interface to configure various aspects of the desktop"
url="https://gitlab.gnome.org/GNOME/${_pkgname}"
license=(GPL2)
arch=(
'arm'
'aarch64'
'armv7h'
'x86_64'
'i686'
'pentium4')
provides=(
"${_pkgname}")
conflicts=(
"${_pkgname}")
depends=(
accountsservice
cups-pk-helper
gnome-bluetooth-git
gnome-desktop-4-git
gnome-online-accounts
gnome-settings-daemon
gsettings-desktop-schemas-git
gtk4
libgtop
libnma-git
nm-connection-editor
sound-theme-freedesktop
upower
libpwquality
gnome-color-manager
smbclient
libmm-glib
libgnomekbd
libibus
libgudev
bolt
udisks2
libhandy
gsound
colord-gtk4)
makedepends=(
docbook-xsl
modemmanager
git
python
meson)
checkdepends=(
python-dbusmock
python-gobject
xorg-server-xvfb)
optdepends=(
'system-config-printer: Printer settings'
'gnome-user-share: WebDAV file sharing'
'gnome-remote-desktop: screen sharing'
'rygel: media sharing'
'openssh: remote login'
'power-profiles-daemon: Power profiles support')
groups=(
gnome)
source=(
"${_pkgname}::git+https://gitlab.gnome.org/GNOME/${_pkgname}.git"
"git+https://gitlab.gnome.org/GNOME/libgnome-volume-control.git")
sha256sums=(
'SKIP'
'SKIP')
pkgver() {
cd \
"${_pkgname}" || \
exit
git \
describe \
--tags | \
sed \
's/^GNOME_CONTROL_CENTER_//;s/_/./g;s/-/+/g'
}
# shellcheck disable=SC2154
prepare() {
cd \
"${_pkgname}" || \
exit
# Install bare logos into pixmaps, not icons
sed \
-i \
"/install_dir/s/'icons'/'pixmaps'/" \
panels/info-overview/meson.build
git \
submodule \
init \
subprojects/gvc
git \
submodule \
set-url \
subprojects/gvc \
"${srcdir}/libgnome-volume-control"
git \
submodule \
update
}
build() {
arch-meson \
"${_pkgname}" \
build \
-D documentation=true
meson \
compile \
-C build
}
check() {
meson \
test \
-C build \
--print-errorlogs
}
# shellcheck disable=SC2154
package() {
meson \
install \
-C build \
--destdir "${pkgdir}"
install \
-d \
-o root \
-g 102 \
-m 750 \
"${pkgdir}/usr/share/polkit-1/rules.d"
}
# vim:set sw=2 sts=-1 et:
|