mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-06-04 08:55:20 +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
28 lines
843 B
Text
28 lines
843 B
Text
# Maintainer: Minecrell <minecrell@minecrell.net>
|
|
pkgname=libqrtr-glib
|
|
pkgver=1.2.2
|
|
pkgrel=0
|
|
pkgdesc="Qualcomm IPC Router protocol helper library"
|
|
url="https://gitlab.freedesktop.org/mobile-broadband/libqrtr-glib"
|
|
arch="all"
|
|
license="LGPL-2.1-or-later"
|
|
makedepends="glib-dev gobject-introspection-dev gtk-doc linux-headers meson"
|
|
subpackages="$pkgname-dev $pkgname-doc"
|
|
source="https://gitlab.freedesktop.org/mobile-broadband/libqrtr-glib/-/archive/$pkgver/libqrtr-glib-$pkgver.tar.gz"
|
|
|
|
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="
|
|
e420b9dd6eae355520aba00995196a8495dc5c6a7bbbbce259782506765fe41599f72933fc015a2695a8070ff102e23afd69c578dfdfc6a3c6eff8cb16e3f7e6 libqrtr-glib-1.2.2.tar.gz
|
|
"
|