# Contributor: Rasmus Thomsen # Maintainer: Rasmus Thomsen pkgname=gnome-desktop pkgver=42.4 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="gobject-introspection-dev gsettings-desktop-schemas-dev" makedepends="$depends_dev eudev-dev fontconfig-dev gdk-pixbuf-dev glib-dev gtk-doc gtk+3.0-dev gtk4.0-dev iso-codes-dev itstool libseccomp-dev libxml2-utils meson xkeyboard-config-dev " depends="bubblewrap musl-locales" 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" build() { abuild-meson \ -Dgnome_distributor="Alpine Linux" \ -Dudev=enabled \ -Dbuild_gtk4=true \ -Dlegacy_library=true \ . output meson compile ${JOBS:+-j ${JOBS}} -C output } check() { meson test --no-rebuild --print-errorlogs -C output } package() { DESTDIR="$pkgdir" meson install --no-rebuild -C output } sha512sums=" 6e2648aee7e7b7800276ba1f6b32a0918f6dfbd35a60a5fd22239efe75b3bd4cbed14458ab2d1b0ad0ad295428feae5342a64f2cf83505196eccb17720a26756 gnome-desktop-42.4.tar.xz "