libdex: fix build.

This commit is contained in:
triallax 2023-08-05 20:18:11 +01:00 committed by classabbyamp
parent 7d58adeec2
commit a2355eed30

View file

@ -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"