mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-07 15:43:49 +02:00
libxmlb: enable gir
This commit is contained in:
parent
5525c6e962
commit
c355b3498c
1 changed files with 9 additions and 5 deletions
|
@ -1,12 +1,13 @@
|
||||||
# Template file for 'libxmlb'
|
# Template file for 'libxmlb'
|
||||||
pkgname=libxmlb
|
pkgname=libxmlb
|
||||||
version=0.1.6
|
version=0.1.6
|
||||||
revision=1
|
revision=2
|
||||||
build_style=meson
|
build_style=meson
|
||||||
|
build_helper="gir"
|
||||||
configure_args="-Dgtkdoc=false -Dtests=false -Dstemmer=false
|
configure_args="-Dgtkdoc=false -Dtests=false -Dstemmer=false
|
||||||
-Dintrospection=$(vopt_if gir true false)"
|
-Dintrospection=$(vopt_if gir true false)"
|
||||||
hostmakedepends="pkg-config python3"
|
hostmakedepends="pkg-config python3"
|
||||||
makedepends="libglib-devel libuuid-devel $(vopt_if gir gobject-introspection)"
|
makedepends="libglib-devel libuuid-devel"
|
||||||
short_desc="Library to help create and query binary XML blobs"
|
short_desc="Library to help create and query binary XML blobs"
|
||||||
maintainer="maxice8 <thinkabit.ukim@gmail.com>"
|
maintainer="maxice8 <thinkabit.ukim@gmail.com>"
|
||||||
license="LGPL-2.1-or-later"
|
license="LGPL-2.1-or-later"
|
||||||
|
@ -15,9 +16,12 @@ distfiles="https://github.com/hughsie/libxmlb/archive/${version}.tar.gz"
|
||||||
checksum=3f45d438d112809c21de1abc91ef5edd65e689868f13ebf16be050a7c3f91ab3
|
checksum=3f45d438d112809c21de1abc91ef5edd65e689868f13ebf16be050a7c3f91ab3
|
||||||
|
|
||||||
build_options="gir"
|
build_options="gir"
|
||||||
if [ -z "$CROSS_BUILD" ]; then
|
|
||||||
build_options_default="gir"
|
case "$XBPS_TARGET_MACHINE" in
|
||||||
fi
|
x86_64-musl) build_options_default+=" gir" ;;
|
||||||
|
*-musl) ;;
|
||||||
|
*) build_options_default+=" gir" ;;
|
||||||
|
esac
|
||||||
|
|
||||||
libxmlb-devel_package() {
|
libxmlb-devel_package() {
|
||||||
depends="libxmlb-${version}_${revision} libglib-devel libuuid-devel"
|
depends="libxmlb-${version}_${revision} libglib-devel libuuid-devel"
|
||||||
|
|
Loading…
Add table
Reference in a new issue