mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-06-06 01:44:36 +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
35 lines
879 B
Text
35 lines
879 B
Text
# Contributor: Rasmus Thomsen <oss@cogitri.dev>
|
|
maintainer="Natanael Copa <ncopa@alpinelinux.org>"
|
|
pkgname=pangomm
|
|
pkgver=2.54.0
|
|
pkgrel=0
|
|
pkgdesc="C++ bindings for pango"
|
|
#options="!check" # No testsuite
|
|
url="https://www.gtkmm.org/"
|
|
arch="all"
|
|
license="LGPL-2.1-or-later AND GPL-2.0-or-later"
|
|
makedepends="meson pango-dev glibmm-dev cairomm-dev"
|
|
subpackages="$pkgname-dev"
|
|
source="https://download.gnome.org/sources/pangomm/${pkgver%.*}/pangomm-$pkgver.tar.xz"
|
|
|
|
build() {
|
|
abuild-meson -Db_lto=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="
|
|
bc74be8d1c692815fe07e41c75386a2fb8038ba2a335cad488bf996ecc18f1e1b434ef4bd6c15a9c5b5c42f4349c98403acc96a32ecc5eb4dca8cee9de44ca08 pangomm-2.54.0.tar.xz
|
|
"
|