2010-11-23 00:26:15 +01:00
|
|
|
# Template file for 'gupnp'
|
|
|
|
pkgname=gupnp
|
2015-05-11 08:50:00 +02:00
|
|
|
version=0.20.14
|
2013-05-30 08:13:25 +02:00
|
|
|
revision=1
|
2011-10-24 14:14:47 +02:00
|
|
|
build_style=gnu-configure
|
2011-10-02 23:45:33 +02:00
|
|
|
configure_args="--disable-static"
|
2014-02-04 04:54:06 +01:00
|
|
|
hostmakedepends="pkg-config"
|
|
|
|
makedepends="libglib-devel libxml2-devel libuuid-devel gssdp-devel"
|
2010-11-23 00:26:15 +01:00
|
|
|
short_desc="GObject-based library for UPnP"
|
2015-04-10 09:16:30 +02:00
|
|
|
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
2011-10-02 16:30:51 +02:00
|
|
|
license="LGPL-2.1"
|
2012-08-20 15:17:59 +02:00
|
|
|
homepage="http://gupnp.org/"
|
2013-09-26 16:21:05 +02:00
|
|
|
distfiles="${GNOME_SITE}/gupnp/${version%.*}/gupnp-${version}.tar.xz"
|
2015-05-11 08:50:00 +02:00
|
|
|
checksum=77ffb940ba77c4a6426d09d41004c75d92652dcbde86c84ac1c847dbd9ad59bd
|
2014-02-04 04:54:06 +01:00
|
|
|
|
|
|
|
# Package build options
|
|
|
|
build_options="gir"
|
|
|
|
|
|
|
|
# Disable gir for cross builds.
|
|
|
|
if [ -z "$CROSS_BUILD" ]; then
|
|
|
|
build_options_default="gir"
|
|
|
|
fi
|
|
|
|
|
|
|
|
if [ "$build_option_gir" ]; then
|
|
|
|
configure_args+=" --enable-introspection"
|
2015-03-27 10:50:40 +01:00
|
|
|
makedepends+=" gobject-introspection vala-devel"
|
2014-02-04 04:54:06 +01:00
|
|
|
else
|
|
|
|
configure_args+=" --disable-introspection"
|
|
|
|
fi
|
2013-04-12 15:11:12 +02:00
|
|
|
|
|
|
|
gupnp-devel_package() {
|
2015-05-11 08:50:00 +02:00
|
|
|
depends="${makedepends} gupnp-${version}_${revision}"
|
2013-05-30 08:13:25 +02:00
|
|
|
short_desc+=" - development files"
|
2013-04-12 15:11:12 +02:00
|
|
|
pkg_install() {
|
|
|
|
vmove usr/bin
|
|
|
|
vmove usr/include
|
|
|
|
vmove usr/share
|
|
|
|
vmove usr/lib/pkgconfig
|
2013-08-07 10:20:38 +02:00
|
|
|
vmove "usr/lib/*.so"
|
2013-04-12 15:11:12 +02:00
|
|
|
}
|
|
|
|
}
|