libnice: enable gir
This commit is contained in:
parent
eb5382126d
commit
4b5fbbe1c1
|
@ -1,14 +1,14 @@
|
|||
# Template file for 'libnice'
|
||||
pkgname=libnice
|
||||
version=0.1.15
|
||||
revision=1
|
||||
revision=2
|
||||
build_style=meson
|
||||
build_helper="gir"
|
||||
configure_args="-Dcrypto-library=openssl -Dgtk_doc=disabled -Dtests=disabled
|
||||
-Dexamples=disabled -Dintrospection=$(vopt_if gir enabled disabled)"
|
||||
hostmakedepends="pkg-config glib-devel"
|
||||
makedepends="gstreamer1-devel libsoup-devel gupnp-igd-devel libressl-devel
|
||||
$(vopt_if gir 'gobject-introspection')"
|
||||
short_desc="An implementation of the IETF's draft ICE (for P2P UDP data streams)"
|
||||
makedepends="gstreamer1-devel libsoup-devel gupnp-igd-devel libressl-devel"
|
||||
short_desc="Implementation of the IETF's draft ICE (for P2P UDP data streams)"
|
||||
maintainer="Juan RP <xtraeme@voidlinux.org>"
|
||||
license="LGPL-2.1-or-later"
|
||||
homepage="https://nice.freedesktop.org/wiki/"
|
||||
|
@ -16,9 +16,12 @@ distfiles="https://nice.freedesktop.org/releases/libnice-${version}.tar.gz"
|
|||
checksum=f7280f3f58f594409c719a03009aa819c599078b410796f408251277807587da
|
||||
|
||||
build_options="gir"
|
||||
if [ -z "$CROSS_BUILD" ]; then
|
||||
build_options_default="gir"
|
||||
fi
|
||||
|
||||
case "$XBPS_TARGET_MACHINE" in
|
||||
x86_64-musl) build_options_default+=" gir" ;;
|
||||
*-musl) ;;
|
||||
*) build_options_default+=" gir" ;;
|
||||
esac
|
||||
|
||||
libnice-devel_package() {
|
||||
depends="${sourcepkg}>=${version}_${revision} ${makedepends}"
|
||||
|
|
Loading…
Reference in New Issue