libvirt-glib: enable gir, add vala opt
This commit is contained in:
parent
c9a7d049ea
commit
602b3d016d
1 changed files with 14 additions and 14 deletions
|
@ -1,28 +1,28 @@
|
||||||
# Template file for 'libvirt-glib'
|
# Template file for 'libvirt-glib'
|
||||||
pkgname=libvirt-glib
|
pkgname=libvirt-glib
|
||||||
version=2.0.0
|
version=2.0.0
|
||||||
revision=1
|
revision=2
|
||||||
|
build_helper="gir"
|
||||||
build_style=gnu-configure
|
build_style=gnu-configure
|
||||||
configure_args="--disable-static $(vopt_enable gir introspection)"
|
configure_args="--disable-static $(vopt_enable gir introspection)
|
||||||
hostmakedepends="automake libtool pkg-config intltool glib-devel
|
$(vopt_enable vala)"
|
||||||
gettext-devel gtk-doc gobject-introspection vala-devel python-devel"
|
hostmakedepends="pkg-config intltool glib-devel gettext-devel gtk-doc
|
||||||
|
python-devel $(vopt_if vala vala)"
|
||||||
makedepends="libglib-devel libvirt-devel libxml2-devel python-devel"
|
makedepends="libglib-devel libvirt-devel libxml2-devel python-devel"
|
||||||
short_desc="Glib integration with libvirt"
|
short_desc="Glib integration with libvirt"
|
||||||
maintainer="Juan RP <xtraeme@voidlinux.org>"
|
maintainer="Rasmus Thomsen <oss@cogitri.dev>"
|
||||||
homepage="http://libvirt.org"
|
|
||||||
license="LGPL-2.1-or-later"
|
license="LGPL-2.1-or-later"
|
||||||
|
homepage="https://libvirt.org"
|
||||||
distfiles="http://libvirt.org/sources/glib/${pkgname}-${version}.tar.gz"
|
distfiles="http://libvirt.org/sources/glib/${pkgname}-${version}.tar.gz"
|
||||||
checksum=94e8c410c67501303d3b32ca8ce2c36edf898511ec4de9b7f29cd35d274b3d6a
|
checksum=94e8c410c67501303d3b32ca8ce2c36edf898511ec4de9b7f29cd35d274b3d6a
|
||||||
replaces="libvirt-glib-python>=0"
|
replaces="libvirt-glib-python>=0"
|
||||||
|
|
||||||
build_options="gir"
|
build_options="gir vala"
|
||||||
if [ -z "$CROSS_BUILD" ]; then
|
case "$XBPS_TARGET_MACHINE" in
|
||||||
build_options_default="gir"
|
i686-musl|x86_64-musl) build_options_default+=" gir vala" ;;
|
||||||
fi
|
*-musl) ;;
|
||||||
|
*) build_options_default+=" gir vala" ;;
|
||||||
pre_configure() {
|
esac
|
||||||
autoreconf -fi
|
|
||||||
}
|
|
||||||
|
|
||||||
libvirt-glib-devel_package() {
|
libvirt-glib-devel_package() {
|
||||||
depends="libglib-devel libxml2-devel libvirt-devel ${sourcepkg}>=${version}_${revision}"
|
depends="libglib-devel libxml2-devel libvirt-devel ${sourcepkg}>=${version}_${revision}"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue