# Contributor: Rasmus Thomsen # Maintainer: Rasmus Thomsen pkgname=gnome-control-center pkgver=3.34.0.1 pkgrel=1 pkgdesc="GNOME control center" url="https://gitlab.gnome.org/GNOME/gnome-control-center" # limited by gnome-online-accounts arch="all !armhf !s390x !ppc64le" # Last one just fails due to race condition license="GPL-2.0-or-later" depends="cups-pk-helper openrc-settingsd" makedepends=" clutter-dev clutter-gtk-dev gnome-desktop-dev gnome-settings-daemon-dev gnome-online-accounts-dev grilo-dev libgtop-dev gnome-bluetooth-dev colord-gtk-dev samba-dev accountsservice-dev libpwquality-dev networkmanager-dev network-manager-applet-dev modemmanager-dev krb5-dev itstool libxml2-utils libxslt docbook-xml docbook-xsl pulseaudio-dev udisks2-dev cups-dev meson libsecret-dev gsound-dev libgudev-dev polkit-dev libhandy-dev cheese-dev ibus-dev" options="!check" # needs unpackaged py-dbusmock subpackages="$pkgname-dev $pkgname-lang" source="https://download.gnome.org/sources/gnome-control-center/${pkgver%.*.*}/gnome-control-center-$pkgver.tar.xz" build() { meson \ --prefix=/usr \ --sysconfdir=/etc \ --mandir=/usr/share/man \ --localstatedir=/var \ --buildtype=release \ -Dcheese=true \ -Dibus=true \ . output ninja -C output } check() { ninja -C output test } package() { DESTDIR="$pkgdir" ninja -C output install mkdir -p "$pkgdir"/usr/lib mv "$pkgdir"/usr/share/pkgconfig "$pkgdir"/usr/lib } sha512sums="784e85fe0302831b1dc15f200a900026c527fe8f45bfb8d8d2371c24dbc1fe3f967583d7607694cb77f66e2084c9e04b382fe1e6b5500964435a7ecd74bf1489 gnome-control-center-3.34.0.1.tar.xz"