2011-10-02 14:36:33 +00:00
|
|
|
# Template file for 'gupnp-av'
|
|
|
|
pkgname=gupnp-av
|
2014-02-04 03:56:04 +00:00
|
|
|
version=0.12.5
|
2012-08-20 13:23:59 +00:00
|
|
|
revision=1
|
2011-10-24 12:14:47 +00:00
|
|
|
build_style=gnu-configure
|
2011-10-02 21:49:38 +00:00
|
|
|
configure_args="--disable-static"
|
2014-02-04 03:56:04 +00:00
|
|
|
hostmakedepends="pkg-config"
|
|
|
|
makedepends="gupnp-devel>=0.20.1_2"
|
2011-10-02 14:36:33 +00:00
|
|
|
short_desc="Library to ease handling and implementation of UPnP A/V profiles"
|
|
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
|
|
|
license="LGPL-2.1"
|
2012-08-20 13:23:59 +00:00
|
|
|
homepage="http://gupnp.org/"
|
2013-03-28 21:01:01 +00:00
|
|
|
distfiles="${GNOME_SITE}/$pkgname/0.12/$pkgname-$version.tar.xz"
|
2014-02-04 03:56:04 +00:00
|
|
|
checksum=8375034ccc4a45e90923c26135517aab57a88f5757ce65a1b23378df4c60bff6
|
|
|
|
|
|
|
|
# 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-av-devel_package() {
|
2014-02-04 03:56:04 +00:00
|
|
|
depends="gupnp-devel>=0.20.1_2 ${sourcepkg}>=${version}_${revision}"
|
2013-05-30 19:04:28 +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
|
2013-10-16 13:47:36 +00:00
|
|
|
vmove "usr/lib/*.so"
|
2013-04-12 13:11:12 +00:00
|
|
|
}
|
|
|
|
}
|