# Contributor: Rasmus Thomsen # Maintainer: Rasmus Thomsen pkgname=gnome-control-center pkgver=3.34.1 pkgrel=0 pkgdesc="GNOME control center" url="https://gitlab.gnome.org/GNOME/gnome-control-center" # limited by gnome-online-accounts arch="all !armhf !s390x" 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="19eb88839891a17f270371f23011bdc3a3bcce5aafc0304ae0a209a0cdab8fb868fcb7f2de7c81b2fa9b0166c0760745a4cba53f9e614d2c8154ceccbb616722 gnome-control-center-3.34.1.tar.xz"