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_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"
|
||||
|
|
Loading…
Add table
Reference in a new issue