aboutsummaryrefslogblamecommitdiffstats
path: root/community/gnome-control-center/APKBUILD
blob: 7f4e3e9595bba4b3a01f0c6063afa4c126089200 (plain) (tree)
1
2
3
4
5
6
7
8
9


                                               
             
        


                                                         
                               
                          
                                                                      













                                 
                  















                        

                  
                                               
                                                   
                                                                                           


                                                                                                                






                                         
                                   

                               









                                                 


                                                          

                                                                                     

 
                                                                                                                                                                                
                                                                                                                                                
# Contributor: Rasmus Thomsen <oss@cogitri.dev>
# Maintainer: Rasmus Thomsen <oss@cogitri.dev>
pkgname=gnome-control-center
pkgver=3.36.4
pkgrel=0
pkgdesc="GNOME control center"
url="https://gitlab.gnome.org/GNOME/gnome-control-center"
# limited by gnome-online-accounts
arch="all !s390x !mips !mips64"
license="GPL-2.0-or-later"
depends="cups-pk-helper openrc-settingsd dbus:org.freedesktop.Secrets"
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
	libnma-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
install="$pkgname.pre-install $pkgname.pre-upgrade"
subpackages="$pkgname-dev $pkgname-lang $pkgname-dbg $pkgname-doc $pkgname-bash-completion"
source="https://download.gnome.org/sources/gnome-control-center/${pkgver%.*}/gnome-control-center-$pkgver.tar.xz
	README.alpine
	"

build() {
	meson \
		--prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--localstatedir=/var \
		--buildtype=plain \
		-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

	install -Dm0644 "$srcdir"/README.alpine -t "$pkgdir"/usr/share/doc/"$pkgname"
}

sha512sums="e6c398256215a139042e5bb0db7c83fc0e39f99ab893760e37ba303ec4c932a37da352b92487ed1bdc61f2e8f61352c752b48ab549269e3f84e21a71cdf32abf  gnome-control-center-3.36.4.tar.xz
350aa443149c71851ad4de0976c7fc5cb626ba0c57a8d41e6ef80da1c65ed84a4dfa2483ae92630a3b611c4bfa9360ded82b55e8cd0e3907294c025e4f6b1671  README.alpine"