aports/community/libmanette/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
914 B
Text

# Contributor: Rasmus Thomsen <oss@cogitri.dev>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=libmanette
pkgver=0.2.12
pkgrel=0
pkgdesc="Simple GObject game controller library"
url="https://gnome.pages.gitlab.gnome.org/libmanette/"
arch="all"
license="LGPL-2.1-or-later"
makedepends="
glib-dev
gobject-introspection-dev
hidapi-dev
libevdev-dev
libgudev-dev
meson
vala
"
subpackages="$pkgname-dev"
source="https://download.gnome.org/sources/libmanette/${pkgver%.*}/libmanette-$pkgver.tar.xz"
build() {
abuild-meson \
-Dvapi=true \
-Dintrospection=true \
. output
meson compile -C output
}
check() {
meson test --print-errorlogs -C output
}
package() {
DESTDIR="$pkgdir" meson install --no-rebuild -C output
}
sha512sums="
0118ce0d97a73df26c6ea66a343ca40ec7d026100a3dc1dbbd66d57f6a49b073c59321ee1dbff162b832fec846b0722dce17b5a7fd6a9d3288e61d2b8a0609c0 libmanette-0.2.12.tar.xz
"