mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-05 06:33:50 +02:00
libdex: fix build.
This commit is contained in:
parent
7d58adeec2
commit
a2355eed30
1 changed files with 7 additions and 1 deletions
|
@ -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"
|
||||||
|
|
Loading…
Add table
Reference in a new issue