gnome-control-center: use meson, fix build
This commit is contained in:
parent
7dc7ef7b18
commit
17b760d5a4
|
@ -2,8 +2,8 @@
|
||||||
pkgname=gnome-control-center
|
pkgname=gnome-control-center
|
||||||
version=3.28.0
|
version=3.28.0
|
||||||
revision=1
|
revision=1
|
||||||
build_style=gnu-configure
|
build_style=meson
|
||||||
configure_args="--disable-static --with-cheese"
|
configure_args="-Dcheese=true"
|
||||||
short_desc="The GNOME control center"
|
short_desc="The GNOME control center"
|
||||||
maintainer="Enno Boland <gottox@voidlinux.eu>"
|
maintainer="Enno Boland <gottox@voidlinux.eu>"
|
||||||
license="GPL-2"
|
license="GPL-2"
|
||||||
|
@ -22,11 +22,19 @@ makedepends="
|
||||||
gnome-bluetooth-devel tzdata cups-devel
|
gnome-bluetooth-devel tzdata cups-devel
|
||||||
libpwquality-devel mit-krb5-devel cheese-devel
|
libpwquality-devel mit-krb5-devel cheese-devel
|
||||||
colord-gtk-devel accountsservice-devel vala-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
|
depends="gsettings-desktop-schemas>=3.16 alsa-plugins-pulseaudio desktop-file-utils
|
||||||
hicolor-icon-theme sound-theme-freedesktop apg iso-codes"
|
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() {
|
post_configure() {
|
||||||
if [ "$CROSS_BUILD" ]; then
|
if [ "$CROSS_BUILD" ]; then
|
||||||
# Fix wrong GDESKTOP_PREFIX = /usr
|
# Fix wrong GDESKTOP_PREFIX = /usr
|
||||||
|
|
Loading…
Reference in New Issue