# Template file for 'gnome-control-center' pkgname=gnome-control-center version=3.18.2 revision=1 build_style=gnu-configure configure_args="--disable-static --with-cheese" short_desc="The GNOME control center" maintainer="Juan RP " license="GPL-2" homepage="http://www.gnome.org" distfiles="${GNOME_SITE}/$pkgname/${version%.*}/$pkgname-$version.tar.xz" checksum=36fe6157247d2b7c8a98dbb3dbcde1c3a6f9e5e8fcc9ccf357e2b2417578f8ad 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 } }