48 lines
1.7 KiB
Bash
48 lines
1.7 KiB
Bash
# Template file for 'gnome-control-center'
|
|
pkgname=gnome-control-center
|
|
version=3.24.2
|
|
revision=1
|
|
build_style=gnu-configure
|
|
configure_args="--disable-static --with-cheese"
|
|
short_desc="The GNOME control center"
|
|
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
|
license="GPL-2"
|
|
homepage="http://www.gnome.org"
|
|
distfiles="${GNOME_SITE}/$pkgname/${version%.*}/$pkgname-$version.tar.xz"
|
|
checksum=382a4b1bf54754c1f5f83adb1faeca2e9de70df5d3d85ac6b0fb192801518f2b
|
|
|
|
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"
|
|
|
|
depends="gsettings-desktop-schemas>=3.16 alsa-plugins-pulseaudio desktop-file-utils
|
|
hicolor-icon-theme sound-theme-freedesktop apg iso-codes"
|
|
|
|
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
|
|
}
|
|
}
|