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

41 lines
1.7 KiB
Bash

# Template file for 'gnome-control-center'
pkgname=gnome-control-center
version=3.34.1
revision=1
build_style=meson
build_helper="gir"
configure_args="-Dcheese=$(vopt_if cheese true false)"
hostmakedepends="glib-devel gsettings-desktop-schemas-devel intltool pkg-config polkit
python3"
makedepends="ModemManager-devel accountsservice-devel alsa-plugins
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 clutter-gtk-devel
libxml2-devel libX11-devel gtk+3-devel cups-devel libgudev-devel libwacom-devel
clutter-devel libsecret-devel libcanberra-devel udisks2-devel gsound-devel
$(vopt_if cheese cheese-devel)"
depends="alsa-plugins-pulseaudio desktop-file-utils
gsettings-desktop-schemas hicolor-icon-theme iso-codes sound-theme-freedesktop
cracklib"
short_desc="GNOME control center"
maintainer="Enno Boland <gottox@voidlinux.org>"
license="GPL-2.0-or-later"
homepage="https://gitlab.gnome.org/GNOME/gnome-control-center"
distfiles="${GNOME_SITE}/${pkgname}/${version%.*}/${pkgname}-${version}.tar.xz"
checksum=5f82ecd5554136c462248ec5363b82d95358b39dfd6787006d8307b4504e515e
build_options="cheese"
desc_option_cheese="Add support for adding user account images with your webcam"
if [ -z "$CROSS_BUILD" ]; then
build_options_default+=" cheese"
fi
gnome-control-center-devel_package() {
short_desc+=" - development files"
pkg_install() {
vmove usr/share/pkgconfig
}
}