mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-06-07 14:04:43 +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
37 lines
938 B
Text
37 lines
938 B
Text
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
|
|
pkgname=atkmm2.36
|
|
pkgver=2.36.3
|
|
pkgrel=3
|
|
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 glibmm-dev>2.68 libsigc++3-dev meson m4 doxygen graphviz"
|
|
subpackages="$pkgname-devhelp $pkgname-dev $pkgname-doc"
|
|
source="https://download.gnome.org/sources/atkmm/${pkgver%.*}/atkmm-$pkgver.tar.xz"
|
|
builddir="$srcdir/atkmm-$pkgver"
|
|
|
|
replaces="gtkmm"
|
|
|
|
build() {
|
|
abuild-meson -Dbuild-documentation=true . 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="
|
|
2c2513b5c5fd7a5c9392727325c7551c766d4d51b8089fbea7e8043cde97d07c9b1f98a4a693f30835e4366e9236e28e092c2480a78415d77c5cb72e9432344f atkmm-2.36.3.tar.xz
|
|
"
|