56 lines
1.9 KiB
Bash
56 lines
1.9 KiB
Bash
# Template file for 'gnome-control-center'
|
|
pkgname=gnome-control-center
|
|
version=3.28.0
|
|
revision=1
|
|
build_style=meson
|
|
configure_args="-Dcheese=true"
|
|
short_desc="The GNOME control center"
|
|
maintainer="Enno Boland <gottox@voidlinux.eu>"
|
|
license="GPL-2"
|
|
homepage="http://www.gnome.org"
|
|
distfiles="${GNOME_SITE}/$pkgname/${version%.*}/$pkgname-$version.tar.xz"
|
|
checksum=03768b7b543caf9c534118287f9f55c375cb9886c0b3961311c0cf2ca82ddd5b
|
|
|
|
hostmakedepends="pkg-config intltool glib-devel gnome-doc-utils gobject-introspection"
|
|
makedepends="
|
|
libXi-devel colord-devel libsoup-devel gsettings-desktop-schemas-devel
|
|
gnome-desktop-devel libgnomekbd-devel samba-devel
|
|
gnome-menus-devel network-manager-applet-devel grilo-devel
|
|
gnome-settings-daemon-devel gnome-online-accounts-devel
|
|
libcanberra-devel polkit-devel libgtop-devel alsa-plugins
|
|
upower-devel pulseaudio-devel libwacom-devel ibus-devel
|
|
gnome-bluetooth-devel tzdata cups-devel
|
|
libpwquality-devel mit-krb5-devel cheese-devel
|
|
colord-gtk-devel accountsservice-devel vala-devel
|
|
libXxf86misc-devel ModemManager-devel libSM-devel iso-codes
|
|
mit-krb5-devel"
|
|
|
|
depends="gsettings-desktop-schemas>=3.16 alsa-plugins-pulseaudio desktop-file-utils
|
|
hicolor-icon-theme sound-theme-freedesktop apg iso-codes"
|
|
|
|
CFLAGS="-I${XBPS_CROSS_BASE}/usr/include/gnome-bluetooth -DHAVE_BLUETOOTH"
|
|
LDFLAGS="-lgnome-bluetooth"
|
|
pre_configure() {
|
|
sed '/gnome_bluetooth_dep/d' -i \
|
|
meson.build panels/power/meson.build panels/bluetooth/meson.build
|
|
}
|
|
|
|
post_configure() {
|
|
if [ "$CROSS_BUILD" ]; then
|
|
# Fix wrong GDESKTOP_PREFIX = /usr
|
|
find . -name Makefile -exec sed -i "{}" \
|
|
-e "s;GDESKTOP_PREFIX = /usr;GDESKTOP_PREFIX = ${XBPS_CROSS_BASE}/usr;" \;
|
|
# Disable ./test-hostname (binary is not compiled for host arch)
|
|
sed -i shell/Makefile \
|
|
-e "s;all-local: check-local;all-local:;"
|
|
|
|
fi
|
|
}
|
|
|
|
gnome-control-center-devel_package() {
|
|
short_desc+=" - development files"
|
|
pkg_install() {
|
|
vmove usr/share/pkgconfig
|
|
}
|
|
}
|