mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-06-06 19:14:48 +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
36 lines
857 B
Text
36 lines
857 B
Text
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
|
|
pkgname=atkmm2.28
|
|
pkgver=2.28.4
|
|
pkgrel=1
|
|
pkgdesc="C++ bindings for atk"
|
|
options="!check" # No testsuite
|
|
url="https://www.gtkmm.org/en/"
|
|
arch="all"
|
|
license="LGPL-2.0-or-later"
|
|
makedepends="at-spi2-core-dev glibmm2.66-dev libsigc++-dev meson"
|
|
subpackages="$pkgname-dev"
|
|
source="https://download.gnome.org/sources/atkmm/${pkgver%.*}/atkmm-$pkgver.tar.xz"
|
|
builddir="$srcdir/atkmm-$pkgver"
|
|
replaces="atkmm"
|
|
|
|
build() {
|
|
abuild-meson . output
|
|
meson compile -C output
|
|
}
|
|
|
|
check() {
|
|
meson test --print-errorlogs -C output
|
|
}
|
|
|
|
package() {
|
|
DESTDIR="$pkgdir" meson install --no-rebuild -C output
|
|
}
|
|
|
|
dev() {
|
|
default_dev
|
|
amove usr/lib/'*'/proc/m4/
|
|
}
|
|
|
|
sha512sums="
|
|
30a714971234aebf06a04abeff5fc3b6951b56130aaddbd1a92856b3fb87cf9ba3c34539465b7f0905f871d763239642efe7904b24f33f11e57bf013e4bca533 atkmm-2.28.4.tar.xz
|
|
"
|