gssdp: update to 0.14.7.

This commit is contained in:
Juan RP 2014-02-04 04:46:35 +01:00
parent 383174177e
commit 8703bdba49

View File

@ -1,29 +1,44 @@
# Template file for 'gssdp'
pkgname=gssdp
version=0.14.5
version=0.14.7
revision=1
build_style=gnu-configure
configure_args="--disable-static"
hostmakedepends="pkg-config intltool gobject-introspection"
hostmakedepends="pkg-config intltool"
makedepends="gtk+-devel libsoup-devel vala-devel>=0.22"
short_desc="GObject-based library for SSDP"
maintainer="Juan RP <xtraeme@gmail.com>"
license="LGPL-2.1"
homepage="http://gupnp.org"
distfiles="${GNOME_SITE}/gssdp/${version%.*}/gssdp-$version.tar.xz"
checksum=e847940a852c968d18c7ca044783e9b938c84c3b5f53978a29b636bf95c91af1
long_desc="
A GObject-based API for doing SSDP (Simple Service Discovery Protocol)
transparently."
checksum=02db81cb90a86c08579fc06f55584aea6b30dc6dcc7a5b5a4864a0ecb2f3d8b5
# 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
gssdp-devel_package() {
depends="libsoup-devel gssdp>=${version}"
depends="libsoup-devel gssdp>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove "usr/lib/*.so"
vmove usr/share/gir-1.0
if [ "$build_option_gir" ]; then
vmove usr/share/gir-1.0
fi
vmove usr/share/gtk-doc
vmove usr/share/vala
}