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



                                                                                     
                                                     

                                                       


                                                                                                  

         
               


                                         

                                      
                                                    


                                

 
         
                            

 
           
                                                 

 
                                                                                                                                                                         
                                                                                                                                                              
# Contributor: Rasmus Thomsen <oss@cogitri.dev>
# Maintainer: Rasmus Thomsen <oss@cogitri.dev>
pkgname=gnome-desktop
pkgver=3.34.6
pkgrel=0
pkgdesc="GNOME desktop core libraries"
url="https://gitlab.gnome.org/GNOME/gnome-desktop"
arch="all"
license="GPL-2.0-or-later AND LGPL-2.1-or-later"
depends_dev="xkeyboard-config gobject-introspection-dev gsettings-desktop-schemas-dev
	gtk+3.0-dev"
makedepends="$depends_dev eudev-dev iso-codes-dev libseccomp-dev libx11-dev
	itstool libxml2-utils gtk-doc meson glib-dev"
depends="bubblewrap"
options="!check" # Can't find its own GSettings schemas
subpackages="$pkgname-dev $pkgname-doc $pkgname-lang $pkgname-dbg"
source="https://download.gnome.org/sources/gnome-desktop/${pkgver%.*}/gnome-desktop-$pkgver.tar.xz
	hardcode-musl-locales.patch"

build() {
	meson \
		--prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--localstatedir=/var \
		--buildtype=release \
		-Dgnome_distributor="Alpine Linux" \
		-Dudev=enabled \
		. output
	ninja -C output
}

check() {
	ninja -C output test
}

package() {
	DESTDIR="$pkgdir" ninja -C output install
}

sha512sums="a4e6c8ec1f5cea785bc58635dc72dae39a0a118db5433a02919c8fd3c4f7276d6f1093e8f52b1def5756c161effbedce20c6dcfe282a5a3d2458acc82af60aa5  gnome-desktop-3.34.6.tar.xz
0f0d0ca5ec8227dc80107fea754978ea2db5b15b84fa59d35eea702409be91d5148f3bfbeb1c5a31b9e93c5f19d135806799dd1cb3f42336f862a80b35881d31  hardcode-musl-locales.patch"