2011-03-03 14:52:03 +01:00
|
|
|
# Template file for 'gupnp-igd'
|
|
|
|
pkgname=gupnp-igd
|
2015-01-01 14:33:08 +01:00
|
|
|
version=0.2.4
|
2014-02-08 09:43:56 +01:00
|
|
|
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"
|
2015-01-01 14:33:08 +01:00
|
|
|
checksum=38c4a6d7718d17eac17df95a3a8c337677eda77e58978129ad3182d769c38e44
|
2014-02-04 05:19:22 +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"
|
|
|
|
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
|
|
|
}
|
|
|
|
}
|