gupnp: update to 1.2.0.

This commit is contained in:
maxice8 2019-03-14 15:30:46 -03:00
parent b9d1851242
commit 8085cbe8cb
No known key found for this signature in database
GPG Key ID: 543B9D4F4299F06B
2 changed files with 21 additions and 13 deletions

View File

@ -757,7 +757,7 @@ libtotem-plparser-mini.so.18 libtotem-plparser-mini-3.26.1_1
libgladeui-2.so.6 libgladeui3-3.10.0_1
libtdb.so.1 libtdb-1.2.2_1
libgssdp-1.0.so.3 gssdp-0.9.0_1
libgupnp-1.0.so.4 gupnp-0.18.0_1
libgupnp-1.2.so.0 gupnp-1.2.0_1
libsamplerate.so.0 libsamplerate-0.1.7_1
libmms.so.0 libmms-0.6_1
libsmbclient.so.0 libsmbclient-3.5.6_1

View File

@ -1,26 +1,29 @@
# Template file for 'gupnp'
pkgname=gupnp
version=1.0.3
version=1.2.0
revision=1
build_style=gnu-configure
configure_args="--disable-static $(vopt_enable gir introspection)"
hostmakedepends="pkg-config"
build_style=meson
build_helper="gir"
configure_args="-Dintrospection=$(vopt_if gir true false)
-Dvapi=$(vopt_if vala true false) -Dexamples=false"
hostmakedepends="pkg-config glib-devel"
makedepends="libglib-devel libxml2-devel libuuid-devel gssdp-devel
$(vopt_if gir 'gobject-introspection vala-devel')"
$(vopt_if vala vala)"
short_desc="GObject-based library for UPnP"
maintainer="Juan RP <xtraeme@voidlinux.org>"
license="LGPL-2.1-or-later"
homepage="https://wiki.gnome.org/Projects/GUPnP"
distfiles="${GNOME_SITE}/gupnp/${version%.*}/gupnp-${version}.tar.xz"
checksum=794b162ee566d85eded8c3f3e8c9c99f6b718a6b812d8b56f0c2ed72ac37cbbb
checksum=fd74a2c236f3dbe6f403405cecfd0632a14c7888a0f6c679da5eefb8c2a62124
# Package build options
build_options="gir"
build_options="gir vala"
# Disable gir for cross builds.
if [ -z "$CROSS_BUILD" ]; then
build_options_default="gir"
fi
case "$XBPS_TARGET_MACHINE" in
i686-musl|x86_64-musl) build_options_default+=" gir vala" ;;
*-musl) ;;
*) build_options_default+=" gir vala" ;;
esac
gupnp-devel_package() {
depends="${makedepends} gupnp-${version}_${revision}"
@ -28,8 +31,13 @@ gupnp-devel_package() {
pkg_install() {
vmove usr/bin
vmove usr/include
vmove usr/share
vmove usr/lib/pkgconfig
vmove "usr/lib/*.so"
if [ "$build_option_gir" ]; then
vmove usr/share/gir-1.0
fi
if [ "$build_option_vala" ]; then
vmove usr/share/vala
fi
}
}