2011-10-02 23:17:22 +02:00
|
|
|
# Template file for 'gupnp-dlna'
|
|
|
|
pkgname=gupnp-dlna
|
2013-05-30 21:05:30 +02:00
|
|
|
version=0.10.2
|
2014-02-20 10:37:25 +01:00
|
|
|
revision=2
|
2011-10-24 14:14:47 +02:00
|
|
|
build_style=gnu-configure
|
2011-10-02 23:17:22 +02:00
|
|
|
configure_args="--disable-static"
|
2014-02-20 10:37:25 +01:00
|
|
|
hostmakedepends="pkg-config"
|
2013-03-28 22:06:14 +01:00
|
|
|
makedepends="gst-plugins-base1-devel vala-devel>=0.20"
|
2011-10-02 23:17:22 +02:00
|
|
|
short_desc="GUPnP DLNA"
|
|
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
|
|
|
license="LGPL-2.1"
|
2013-03-28 22:06:14 +01:00
|
|
|
homepage="http://gupnp.org/"
|
|
|
|
distfiles="${GNOME_SITE}/$pkgname/0.10/$pkgname-$version.tar.xz"
|
2013-05-30 21:06:45 +02:00
|
|
|
checksum=158a22dc9c11645817596322e2516701f0d49e40f1892ddc8832afd26221c5c3
|
2014-02-20 10:37:25 +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-dlna-devel_package() {
|
|
|
|
depends="gst-plugins-base1-devel ${sourcepkg}>=${version}"
|
2013-05-30 21:05:30 +02:00
|
|
|
short_desc+=" - development files"
|
2013-04-12 15:11:12 +02:00
|
|
|
pkg_install() {
|
|
|
|
vmove usr/include
|
|
|
|
vmove usr/share/gtk-doc
|
2014-02-20 10:37:25 +01:00
|
|
|
if [ "$build_option_gir" ]; then
|
|
|
|
vmove usr/share/gir-1.0
|
|
|
|
vmove usr/share/vala
|
|
|
|
fi
|
2013-04-12 15:11:12 +02:00
|
|
|
vmove usr/lib/pkgconfig
|
|
|
|
}
|
|
|
|
}
|