mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-07-23 19:25:25 +03: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
31 lines
875 B
Text
31 lines
875 B
Text
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
|
|
pkgname=clutter-gtk
|
|
pkgver=1.8.4
|
|
pkgrel=4
|
|
pkgdesc="Gtk clutter embed library"
|
|
url="https://wiki.gnome.org/Projects/Clutter"
|
|
arch="all"
|
|
license="LGPL-2.0-or-later"
|
|
makedepends="gtk+3.0-dev gtk-doc clutter-dev docbook-xsl-nons libxslt
|
|
libxml2-utils itstool gobject-introspection-dev meson"
|
|
subpackages="$pkgname-dev $pkgname-doc $pkgname-lang"
|
|
source="https://download.gnome.org/sources/clutter-gtk/${pkgver%.*}/clutter-gtk-$pkgver.tar.xz"
|
|
|
|
build() {
|
|
abuild-meson \
|
|
-D enable_docs=true \
|
|
. output
|
|
meson compile -C output
|
|
}
|
|
|
|
check() {
|
|
meson test --print-errorlogs -C output
|
|
}
|
|
|
|
package() {
|
|
DESTDIR="$pkgdir" meson install --no-rebuild -C output
|
|
}
|
|
|
|
sha512sums="
|
|
810f879a56cd71f1e9c4678ef704a997ee652d052cfea56b3ed9478f7a813a35dd2fdcded028ce17411ae02da52fa31e0fb8d1f4130c7b9f6d25eeb774b51ada clutter-gtk-1.8.4.tar.xz
|
|
"
|