2010-11-22 23:14:06 +00:00
|
|
|
# Template file for 'gssdp'
|
|
|
|
pkgname=gssdp
|
2014-02-04 03:46:35 +00:00
|
|
|
version=0.14.7
|
2013-05-30 06:12:18 +00:00
|
|
|
revision=1
|
2011-10-24 12:14:47 +00:00
|
|
|
build_style=gnu-configure
|
2011-10-02 21:34:26 +00:00
|
|
|
configure_args="--disable-static"
|
2014-02-04 03:46:35 +00:00
|
|
|
hostmakedepends="pkg-config intltool"
|
2013-09-26 14:25:19 +00:00
|
|
|
makedepends="gtk+-devel libsoup-devel vala-devel>=0.22"
|
2010-11-22 23:22:17 +00:00
|
|
|
short_desc="GObject-based library for SSDP"
|
2010-11-22 23:14:06 +00:00
|
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
2011-10-02 14:24:54 +00:00
|
|
|
license="LGPL-2.1"
|
2012-08-20 13:28:08 +00:00
|
|
|
homepage="http://gupnp.org"
|
2013-09-26 14:25:19 +00:00
|
|
|
distfiles="${GNOME_SITE}/gssdp/${version%.*}/gssdp-$version.tar.xz"
|
2014-02-04 03:46:35 +00:00
|
|
|
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
|
2013-04-12 13:11:12 +00:00
|
|
|
|
|
|
|
gssdp-devel_package() {
|
2014-02-04 03:46:35 +00:00
|
|
|
depends="libsoup-devel gssdp>=${version}_${revision}"
|
2013-05-30 06:12:18 +00:00
|
|
|
short_desc+=" - development files"
|
2013-04-12 13:11:12 +00:00
|
|
|
pkg_install() {
|
|
|
|
vmove usr/include
|
|
|
|
vmove usr/lib/pkgconfig
|
2013-08-07 08:21:18 +00:00
|
|
|
vmove "usr/lib/*.so"
|
2014-02-04 03:46:35 +00:00
|
|
|
if [ "$build_option_gir" ]; then
|
|
|
|
vmove usr/share/gir-1.0
|
|
|
|
fi
|
2013-04-12 13:11:12 +00:00
|
|
|
vmove usr/share/gtk-doc
|
|
|
|
vmove usr/share/vala
|
|
|
|
}
|
|
|
|
}
|