# Contributor: Rasmus Thomsen # Maintainer: Rasmus Thomsen pkgname=gnome-desktop pkgver=3.32.2 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 py-six meson glib-dev" depends="bubblewrap" options="!check" # Can't find its own GSettings schemas subpackages="$pkgname-dev $pkgname-doc $pkgname-lang" source="https://download.gnome.org/sources/$pkgname/${pkgver%.*}/$pkgname-$pkgver.tar.xz" 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="7dfa5c3e4b77637cc40e6244eb8ce8cb314cf92d865b64e36c5dffa8a699e91c81bd359f0a89a725c064eafec965d2b9d119aa05f1de103cd836a4bff9119a99 gnome-desktop-3.32.2.tar.xz"