2010-11-22 23:26:15 +00:00
|
|
|
# Template file for 'gupnp'
|
|
|
|
pkgname=gupnp
|
2014-05-18 07:25:42 +00:00
|
|
|
version=0.20.11
|
2013-05-30 06:13:25 +00:00
|
|
|
revision=1
|
2011-10-24 12:14:47 +00:00
|
|
|
build_style=gnu-configure
|
2011-10-02 21:45:33 +00:00
|
|
|
configure_args="--disable-static"
|
2014-02-04 03:54:06 +00:00
|
|
|
hostmakedepends="pkg-config"
|
|
|
|
makedepends="libglib-devel libxml2-devel libuuid-devel gssdp-devel"
|
2010-11-22 23:26:15 +00:00
|
|
|
short_desc="GObject-based library for UPnP"
|
|
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
2011-10-02 14:30:51 +00:00
|
|
|
license="LGPL-2.1"
|
2012-08-20 13:17:59 +00:00
|
|
|
homepage="http://gupnp.org/"
|
2013-09-26 14:21:05 +00:00
|
|
|
distfiles="${GNOME_SITE}/gupnp/${version%.*}/gupnp-${version}.tar.xz"
|
2014-05-18 07:25:42 +00:00
|
|
|
checksum=648ad091c7bae1c2b45ae9b9c0052f8c72903ce740d6e5be945c493dec85c160
|
2014-02-04 03:54:06 +00: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 vala-devel>=0.22"
|
|
|
|
else
|
|
|
|
configure_args+=" --disable-introspection"
|
|
|
|
fi
|
2013-04-12 13:11:12 +00:00
|
|
|
|
|
|
|
gupnp-devel_package() {
|
2014-02-04 03:54:06 +00:00
|
|
|
depends="gssdp-devel glib-devel libxml2-devel libuuid-devel gupnp>=${version}_${revision}"
|
2013-05-30 06:13:25 +00:00
|
|
|
short_desc+=" - development files"
|
2013-04-12 13:11:12 +00:00
|
|
|
pkg_install() {
|
|
|
|
vmove usr/bin
|
|
|
|
vmove usr/include
|
|
|
|
vmove usr/share
|
|
|
|
vmove usr/lib/pkgconfig
|
2013-08-07 08:20:38 +00:00
|
|
|
vmove "usr/lib/*.so"
|
2013-04-12 13:11:12 +00:00
|
|
|
}
|
|
|
|
}
|