2011-03-03 13:52:03 +00:00
|
|
|
# Template file for 'gupnp-igd'
|
|
|
|
pkgname=gupnp-igd
|
2015-01-01 13:33:08 +00:00
|
|
|
version=0.2.4
|
2014-02-08 08:43:56 +00:00
|
|
|
revision=1
|
2011-10-24 12:14:47 +00:00
|
|
|
build_style=gnu-configure
|
2011-10-02 21:55:48 +00:00
|
|
|
configure_args="--disable-python --disable-static"
|
2014-02-04 04:19:22 +00:00
|
|
|
hostmakedepends="pkg-config glib-devel"
|
|
|
|
makedepends="libglib-devel libxml2-devel libsoup-devel gssdp-devel gupnp-devel"
|
2011-03-03 13:52:03 +00:00
|
|
|
short_desc="Library to handle UPnP IGD port mapping"
|
|
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
2011-10-02 21:55:48 +00:00
|
|
|
license="LGPL-2.1"
|
2012-09-26 05:44:23 +00:00
|
|
|
homepage="http://gupnp.org"
|
|
|
|
distfiles="${GNOME_SITE}/$pkgname/0.2/$pkgname-$version.tar.xz"
|
2015-01-01 13:33:08 +00:00
|
|
|
checksum=38c4a6d7718d17eac17df95a3a8c337677eda77e58978129ad3182d769c38e44
|
2014-02-04 04:19:22 +00: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"
|
|
|
|
makedepends+=" gobject-introspection"
|
|
|
|
else
|
|
|
|
configure_args+=" --disable-introspection"
|
|
|
|
fi
|
2013-04-12 13:11:12 +00:00
|
|
|
|
|
|
|
gupnp-igd-devel_package() {
|
2014-02-04 04:19:22 +00:00
|
|
|
depends="gupnp-devel ${sourcepkg}>=${version}_${revision}"
|
2014-01-01 15:10:11 +00:00
|
|
|
short_desc+=" - development files"
|
2013-04-12 13:11:12 +00:00
|
|
|
pkg_install() {
|
|
|
|
vmove usr/include
|
|
|
|
vmove usr/share
|
|
|
|
vmove usr/lib/pkgconfig
|
2014-02-04 04:19:22 +00:00
|
|
|
vmove "usr/lib/*.so"
|
2013-04-12 13:11:12 +00:00
|
|
|
}
|
|
|
|
}
|