mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-06-07 04:44:57 +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
31 lines
861 B
Text
31 lines
861 B
Text
# Contributor: Alexey Yerin <yyp@disroot.org>
|
|
# Maintainer: Alexey Yerin <yyp@disroot.org>
|
|
pkgname=libsfdo
|
|
pkgver=0.1.4
|
|
pkgrel=0
|
|
pkgdesc="A collection of libraries which implement freedesktop.org specifications"
|
|
url="https://gitlab.freedesktop.org/vyivel/libsfdo"
|
|
arch="all"
|
|
license="BSD-2-Clause"
|
|
makedepends="meson"
|
|
subpackages="$pkgname-dev"
|
|
source="$pkgname-$pkgver.tar.gz::https://gitlab.freedesktop.org/vyivel/libsfdo/-/archive/v$pkgver/libsfdo-v$pkgver.tar.gz"
|
|
builddir="$srcdir/$pkgname-v$pkgver"
|
|
|
|
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="
|
|
53360c39a537bb158dff1bd69c5abe1f2682929e946ce0d4fe55a424820946399995d883cbd89bf04bc6a0abe8db593adcbf3c716020d746aac4d73ba9d80023 libsfdo-0.1.4.tar.gz
|
|
"
|