aports/community/xdg-user-dirs-gtk/APKBUILD
Sertonix 6bd45b53fb */*: remove --no-rebuild from meson test
meson 1.7.0 and later don't include test build targets in the default
build target. With --no-rebuild the test targets aren't build at all.
Removing --no-rebuild shouldn't cause any false rebuilds since the files
aren't changed between the build() and check() step.

Fixes https://gitlab.alpinelinux.org/alpine/aports/-/issues/16891
Ref https://github.com/mesonbuild/meson/pull/10413
2025-05-09 20:48:14 +00:00

34 lines
1,014 B
Text

# Maintainer: team/gnome <Saijin-Naib_package-maintenance@outlook.com>
pkgname=xdg-user-dirs-gtk
pkgver=0.14
pkgrel=0
pkgdesc="GTK frontend for xdg-user-dirs"
url="https://gitlab.gnome.org/GNOME/xdg-user-dirs-gtk"
arch="all"
license="GPL-2.0-or-later"
depends="xdg-user-dirs"
makedepends="gtk+3.0-dev intltool meson"
subpackages="$pkgname-lang"
source="https://download.gnome.org/sources/xdg-user-dirs-gtk/$pkgver/xdg-user-dirs-gtk-$pkgver.tar.xz
more-desktops.patch
"
options="!check" # no tests
build() {
abuild-meson \
output .
meson compile -C output
}
check() {
meson test --print-errorlogs -C output
}
package() {
DESTDIR="$pkgdir" meson install --no-rebuild -C output
}
sha512sums="
37c255650d57dc6f3dddb1cea592891ec0f883f63a6e01e6c2339bf325ca1aa35a59c5502fd1c8edb6abb569f12ac9e19f8de5f639779dae0e5ebc42ef9aade1 xdg-user-dirs-gtk-0.14.tar.xz
72cc9d75548c094f21f10f6c2076607c46cf1b09b22e6bf690fec1ea5738caba8ae84732a116b4bba536c471dc128721bcf9c8d62dc56cc9af0d339d031250fb more-desktops.patch
"