aports/testing/gnome-user-share/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

45 lines
1,015 B
Text

# Contributor: fossdd <fossdd@pwned.life>
maintainer="fossdd <fossdd@pwned.life>"
pkgname=gnome-user-share
pkgver=48.0
pkgrel=0
pkgdesc="Easy to use user-level file sharing for GNOME"
url="https://gitlab.gnome.org/GNOME/gnome-user-share"
arch="all"
license="GPL-2.0-or-later"
depends="
apache2
apache2-webdav
mod_dnssd
"
makedepends="
cargo
glib-dev
meson
"
subpackages="$pkgname-lang"
source="https://download.gnome.org/sources/gnome-user-share/${pkgver%.*}/gnome-user-share-$pkgver.tar.xz"
options="!check" # no tests
build() {
abuild-meson \
. output \
-Dhttpd=/usr/sbin/httpd \
-Dmodules_path=/usr/lib/apache2
meson compile -C output
}
check() {
meson test --print-errorlogs -C output
}
package() {
DESTDIR="$pkgdir" meson install --no-rebuild -C output
# We don't ship systemd
rm -r "$pkgdir"/usr/lib/systemd
}
sha512sums="
1a23ebbdf0942d0742dca2745b481ae22801d94a8ee39dcf1606daf4fb29dce9b6122e0d2ec2a4dd25d8e079f7ec8a132494124654ab0f6cdead85c472edb4a3 gnome-user-share-48.0.tar.xz
"