aports/community/gtkmm4/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

55 lines
1.2 KiB
Text

# Contributor: Leonardo Arena <rnalrd@alpinelinux.org>
maintainer="Francesco Colista <fcolista@alpinelinux.org>"
pkgname=gtkmm4
pkgver=4.18.0
pkgrel=0
pkgdesc="C++ wrappers for GTK 4"
url="https://www.gtkmm.org/"
arch="all"
license="LGPL-2.1-or-later"
makedepends="
atkmm2.36-dev
cairomm-dev
doxygen
gdk-pixbuf-dev
glibmm-dev
graphviz
gtk4.0-dev
m4
meson
pangomm-dev
perl
"
checkdepends="xvfb-run"
subpackages="$pkgname-devhelp $pkgname-dev $pkgname-doc"
source="https://download.gnome.org/sources/gtkmm/${pkgver%.*}/gtkmm-$pkgver.tar.xz
setlocale-sigsegv.patch
"
builddir="$srcdir/gtkmm-$pkgver"
build() {
abuild-meson \
-Dbuild-demos=false \
-Dbuild-tests=true \
-Dbuild-documentation=true \
. output
meson compile -C output
}
check() {
xvfb-run -a meson test --print-errorlogs -C output
}
package() {
DESTDIR="$pkgdir" meson install --no-rebuild -C output
}
dev() {
default_dev
amove usr/lib/'*'/proc/m4/
}
sha512sums="
a5469ae03eda2fab466c3a1ac9790debec0715beab8bdfd02283ebea83c7c742ea04fc3bf800f18f171250b7b2441b0d8c4681f350284de9a791760ed6cd5d4c gtkmm-4.18.0.tar.xz
9ae42182f1b7a8bd21b3e1aaaa830222402a685d4b98c12f2480e724afaa98828e5cade8e8fd79a976c5a110f0ebe19f9703f92dc097a4e9b467b6ec773119bd setlocale-sigsegv.patch
"