From 5057d87292a7673582230f141c6cc9759ffbabe4 Mon Sep 17 00:00:00 2001 From: q66 Date: Sun, 7 Nov 2021 20:11:33 +0100 Subject: [PATCH] pixman: clean up template --- srcpkgs/pixman/template | 16 ++++------------ 1 file changed, 4 insertions(+), 12 deletions(-) diff --git a/srcpkgs/pixman/template b/srcpkgs/pixman/template index 26c65462af6..456e9d1628e 100644 --- a/srcpkgs/pixman/template +++ b/srcpkgs/pixman/template @@ -4,9 +4,11 @@ version=0.40.0 revision=1 build_style=meson # gtk is only necessary for demos, disabled to avoid dependency loop -configure_args="-Dgtk=disabled -Dgnu-inline-asm=enabled -Diwmmxt=disabled" +# openmp is only used in demos and tests, and things still test without it +configure_args="-Dtests=enabled -Dgnu-inline-asm=enabled -Dlibpng=enabled + -Diwmmxt=disabled -Dopenmp=disabled -Dgtk=disabled" hostmakedepends="pkg-config perl" -checkdepends="libpng-devel libgomp-devel" +makedepends="libpng-devel" short_desc="Library of low-level pixel manipulation routines" maintainer="Érico Nogueira " license="MIT" @@ -17,16 +19,6 @@ checksum=6d200dec3740d9ec4ec8d1180e25779c00bc749f94278c8b9021f5534db223fc # set stacksize for musl: https://gitlab.gnome.org/GNOME/librsvg/-/issues/595 LDFLAGS="-Wl,-z,stack-size=2097152" -if [ "$XBPS_CHECK_PKGS" ]; then - # libpng and openmp are used only for testing; the make-blue-noise.c file isn't built - # https://gitlab.freedesktop.org/pixman/pixman/-/blob/9b49f4e08751885289333fed652bf5e0f45976b4/pixman/dither/make-blue-noise.c - configure_args+=" -Dtests=enabled -Dlibpng=enabled -Dopenmp=enabled" -else - # dynamic libgomp is available only when running tests, better to disable explicitly. - # -Dtests will only take effect on the next release. - configure_args+=" -Dtests=disabled -Dopenmp=disabled" -fi - post_install() { vlicense COPYING LICENSE }