2011-03-03 14:52:03 +01:00
|
|
|
# Template file for 'gupnp-igd'
|
|
|
|
pkgname=gupnp-igd
|
2014-02-08 09:43:56 +01:00
|
|
|
version=0.2.3
|
|
|
|
revision=1
|
2011-10-24 14:14:47 +02:00
|
|
|
build_style=gnu-configure
|
2011-10-02 23:55:48 +02:00
|
|
|
configure_args="--disable-python --disable-static"
|
2014-02-04 05:19:22 +01:00
|
|
|
hostmakedepends="pkg-config glib-devel"
|
|
|
|
makedepends="libglib-devel libxml2-devel libsoup-devel gssdp-devel gupnp-devel"
|
2011-03-03 14:52:03 +01:00
|
|
|
short_desc="Library to handle UPnP IGD port mapping"
|
|
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
2011-10-02 23:55:48 +02:00
|
|
|
license="LGPL-2.1"
|
2012-09-26 07:44:23 +02:00
|
|
|
homepage="http://gupnp.org"
|
|
|
|
distfiles="${GNOME_SITE}/$pkgname/0.2/$pkgname-$version.tar.xz"
|
2014-02-08 09:43:56 +01:00
|
|
|
checksum=ccaf49f9d4f38ac646f1b00341d4db767291e56592286da0e0eb0835811f462d
|
2014-02-04 05:19:22 +01:00
|
|
|
|
|
|
|
# Package build options
|
|
|
|
build_options="gir"
|
|
|
|
desc_option_gir="Enable support for building gobject introspection data"
|
|
|
|
|
|
|
|
# Disable gir for cross builds.
|
|
|
|
if [ -z "$CROSS_BUILD" ]; then
|
|
|
|
build_options_default="gir"
|
|
|
|
fi
|
|
|
|
|
|
|
|
if [ "$build_option_gir" ]; then
|
|
|
|
configure_args+=" --enable-introspection"
|
|
|
|
makedepends+=" gobject-introspection"
|
|
|
|
else
|
|
|
|
configure_args+=" --disable-introspection"
|
|
|
|
fi
|
2013-04-12 15:11:12 +02:00
|
|
|
|
|
|
|
gupnp-igd-devel_package() {
|
2014-02-04 05:19:22 +01:00
|
|
|
depends="gupnp-devel ${sourcepkg}>=${version}_${revision}"
|
2014-01-01 16:10:11 +01:00
|
|
|
short_desc+=" - development files"
|
2013-04-12 15:11:12 +02:00
|
|
|
pkg_install() {
|
|
|
|
vmove usr/include
|
|
|
|
vmove usr/share
|
|
|
|
vmove usr/lib/pkgconfig
|
2014-02-04 05:19:22 +01:00
|
|
|
vmove "usr/lib/*.so"
|
2013-04-12 15:11:12 +02:00
|
|
|
}
|
|
|
|
}
|