aports/community/libdisplay-info/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

37 lines
871 B
Text

maintainer="Bart Ribbers <bribbers@disroot.org>"
pkgname=libdisplay-info
pkgver=0.2.0
pkgrel=0
pkgdesc="EDID and DisplayID library"
url="https://gitlab.freedesktop.org/emersion/libdisplay-info"
arch="all"
license="MIT"
makedepends="
hwdata-dev
meson
"
subpackages="$pkgname-dev $pkgname-tools"
source="https://gitlab.freedesktop.org/emersion/libdisplay-info/-/archive/$pkgver/libdisplay-info-$pkgver.tar.gz"
options="!check" # edid-decode
build() {
abuild-meson -Db_lto=true . output
meson compile -C output
}
check() {
meson test --print-errorlogs -C output
}
package() {
DESTDIR="$pkgdir" meson install --no-rebuild -C output
}
tools() {
pkgdesc="$pkgdesc (tools)"
amove usr/bin
}
sha512sums="
ada2f7ff94a5b566475f1acf18356b4bec220673072ad5fb34f8da87156b2180ee9a4fafc9c148d847e8c707c25336dbd832d8c89e505cf97ad2c7cec1459f0b libdisplay-info-0.2.0.tar.gz
"