diff --git a/srcpkgs/libdex/template b/srcpkgs/libdex/template index e587b399599..5340766d927 100644 --- a/srcpkgs/libdex/template +++ b/srcpkgs/libdex/template @@ -5,7 +5,7 @@ revision=1 build_style=meson build_helper=gir configure_args="-Dexamples=false - $(vopt_feature gtk_doc docs) + $(vopt_bool gtk_doc docs) $(vopt_feature gir introspection) $(vopt_bool vala vapi)" hostmakedepends="pkg-config glib-devel gettext @@ -29,6 +29,12 @@ if [ "$XBPS_TARGET_LIBC" = musl ]; then CFLAGS="-D_GNU_SOURCE" fi +if [ "$XBPS_CHECK_PKGS" ]; then + configure_args+=" -Dtests=true" +else + configure_args+=" -Dtests=false" +fi + libdex-devel_package() { depends="${sourcepkg}-${version}_${revision}" short_desc+=" - development files"