mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-06-08 09:54:43 +02:00
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
35 lines
1 KiB
Text
35 lines
1 KiB
Text
# Contributor: Rasmus Thomsen <oss@cogitri.dev>
|
|
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
|
|
pkgname=obfuscate
|
|
pkgver=0.0.9
|
|
_pkgurl=7c33507242330efa98e2fc7bc9c6d7e7
|
|
pkgrel=1
|
|
pkgdesc="Censor private information"
|
|
url="https://gitlab.gnome.org/World/obfuscate"
|
|
# s390x is a mainframe arch, no point enabling desktop apps
|
|
# loongarch64: libc crate fails to build
|
|
arch="all !s390x !loongarch64"
|
|
license="MIT"
|
|
makedepends="meson cargo gtk4.0-dev libadwaita-dev desktop-file-utils"
|
|
checkdepends="appstream-glib"
|
|
subpackages="$pkgname-lang"
|
|
source="https://gitlab.gnome.org/World/obfuscate/uploads/$_pkgurl/obfuscate-$pkgver.tar.xz"
|
|
provides="gnome-obfuscate=$pkgver-r$pkgrel"
|
|
replaces="gnome-obfuscate"
|
|
|
|
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="
|
|
d71e369b616155adda614066fb3294517d7570bc4bd5852ec62abf4b2f1b65c72c8294c74180baf55f4038e53a747bf02baec3425f31a0bd8fa877aa20149eac obfuscate-0.0.9.tar.xz
|
|
"
|