void-packages/srcpkgs/gnome-control-center/template

38 lines
1.5 KiB
Bash

# Template file for 'gnome-control-center'
pkgname=gnome-control-center
version=3.28.2
revision=1
build_style=meson
configure_args="-Dcheese=true"
hostmakedepends="glib-devel gnome-doc-utils gobject-introspection
gsettings-desktop-schemas-devel intltool pkg-config polkit"
makedepends="ModemManager-devel accountsservice-devel alsa-plugins cheese-devel
colord-gtk-devel gnome-bluetooth-devel gnome-desktop-devel gnome-menus-devel
gnome-online-accounts-devel gnome-settings-daemon-devel grilo-devel ibus-devel
libSM-devel libXxf86misc-devel libgnomekbd-devel libgtop-devel
libpwquality-devel mit-krb5-devel network-manager-applet-devel polkit-devel
pulseaudio-devel samba-devel tzdata upower-devel vala-devel"
depends="alsa-plugins-pulseaudio apg desktop-file-utils
gsettings-desktop-schemas hicolor-icon-theme iso-codes sound-theme-freedesktop"
short_desc="The GNOME control center"
maintainer="Enno Boland <gottox@voidlinux.eu>"
license="GPL-2.0-or-later"
homepage="http://www.gnome.org"
distfiles="${GNOME_SITE}/${pkgname}/${version%.*}/${pkgname}-${version}.tar.xz"
checksum=ff9e3d7c1693c6004c8a337eb84452d517259b52330081b6b226a8ac5793d734
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
}
gnome-control-center-devel_package() {
short_desc+=" - development files"
pkg_install() {
vmove usr/share/pkgconfig
}
}