libdex: fix build.
This commit is contained in:
@@ -5,7 +5,7 @@ revision=1
|
|||||||
build_style=meson
|
build_style=meson
|
||||||
build_helper=gir
|
build_helper=gir
|
||||||
configure_args="-Dexamples=false
|
configure_args="-Dexamples=false
|
||||||
$(vopt_feature gtk_doc docs)
|
$(vopt_bool gtk_doc docs)
|
||||||
$(vopt_feature gir introspection)
|
$(vopt_feature gir introspection)
|
||||||
$(vopt_bool vala vapi)"
|
$(vopt_bool vala vapi)"
|
||||||
hostmakedepends="pkg-config glib-devel gettext
|
hostmakedepends="pkg-config glib-devel gettext
|
||||||
@@ -29,6 +29,12 @@ if [ "$XBPS_TARGET_LIBC" = musl ]; then
|
|||||||
CFLAGS="-D_GNU_SOURCE"
|
CFLAGS="-D_GNU_SOURCE"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
if [ "$XBPS_CHECK_PKGS" ]; then
|
||||||
|
configure_args+=" -Dtests=true"
|
||||||
|
else
|
||||||
|
configure_args+=" -Dtests=false"
|
||||||
|
fi
|
||||||
|
|
||||||
libdex-devel_package() {
|
libdex-devel_package() {
|
||||||
depends="${sourcepkg}-${version}_${revision}"
|
depends="${sourcepkg}-${version}_${revision}"
|
||||||
short_desc+=" - development files"
|
short_desc+=" - development files"
|
||||||
|
|||||||
Reference in New Issue
Block a user