gnome-control-center: use meson, fix build

This commit is contained in:
Enno Boland 2018-03-19 22:18:32 +01:00
parent 7dc7ef7b18
commit 17b760d5a4
No known key found for this signature in database
GPG Key ID: D09964719BDE9971
1 changed files with 11 additions and 3 deletions

View File

@ -2,8 +2,8 @@
pkgname=gnome-control-center
version=3.28.0
revision=1
build_style=gnu-configure
configure_args="--disable-static --with-cheese"
build_style=meson
configure_args="-Dcheese=true"
short_desc="The GNOME control center"
maintainer="Enno Boland <gottox@voidlinux.eu>"
license="GPL-2"
@ -22,11 +22,19 @@ makedepends="
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"
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