aports/community/libxcvt/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

40 lines
1.1 KiB
Text

# Contributor: Milan P. Stanić <mps@arvanta.net>
# Maintainer: Milan P. Stanić <mps@arvanta.net>
pkgname=libxcvt
pkgver=0.1.3
pkgrel=0
pkgdesc="xorg xcvt library and cvt program"
url="https://gitlab.freedesktop.org/xorg/lib/libxcvt"
arch="all"
license="custom"
# older xorg-server versions included this package but it has since been split out
# make sure we can upgrade properly to xorg-server 21.1.1 and later
replaces="xorg-server<21.1.1"
makedepends="meson"
subpackages="$pkgname-dev $pkgname-doc"
source="https://xorg.freedesktop.org/releases/individual/lib/libxcvt-$pkgver.tar.xz"
build() {
abuild-meson . output
meson compile -C output
}
check() {
meson test --print-errorlogs -C output
}
package() {
DESTDIR="$pkgdir" meson install --no-rebuild -C output
install -D -m644 "$srcdir"/$pkgname-$pkgver/COPYING \
"$pkgdir"/usr/share/licenses/$pkgname/COPYING
}
doc() {
default_doc
replaces="xorg-server-doc<21.1.1"
}
sha512sums="
2fecc784375e69b6e8e46608618a5f5a8ad20ecd5229fd093883fe401dd6ea231d8b77c6753756fff01f3040bef2db60a042d40fc349769ef5348e5cd9ed1f28 libxcvt-0.1.3.tar.xz
"