2010-11-23 00:14:06 +01:00
|
|
|
# Template file for 'gssdp'
|
|
|
|
pkgname=gssdp
|
2015-01-05 10:05:25 +01:00
|
|
|
version=0.14.11
|
2013-05-30 08:12:18 +02:00
|
|
|
revision=1
|
2011-10-24 14:14:47 +02:00
|
|
|
build_style=gnu-configure
|
2011-10-02 23:34:26 +02:00
|
|
|
configure_args="--disable-static"
|
2014-02-04 04:46:35 +01:00
|
|
|
hostmakedepends="pkg-config intltool"
|
2014-02-04 04:52:24 +01:00
|
|
|
makedepends="gtk+-devel libsoup-devel"
|
2010-11-23 00:22:17 +01:00
|
|
|
short_desc="GObject-based library for SSDP"
|
2015-04-10 09:16:30 +02:00
|
|
|
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
2011-10-02 16:24:54 +02:00
|
|
|
license="LGPL-2.1"
|
2012-08-20 15:28:08 +02:00
|
|
|
homepage="http://gupnp.org"
|
2013-09-26 16:25:19 +02:00
|
|
|
distfiles="${GNOME_SITE}/gssdp/${version%.*}/gssdp-$version.tar.xz"
|
2015-01-05 10:05:25 +01:00
|
|
|
checksum=7bf5aeaf2119fe0bec5f3632ecf39dae15bc85276c72c2ad8dd4b0e345c6535a
|
2014-02-04 04:46:35 +01:00
|
|
|
|
|
|
|
# Package build options
|
|
|
|
build_options="gir"
|
|
|
|
|
|
|
|
# Disable gir for cross builds.
|
|
|
|
if [ -z "$CROSS_BUILD" ]; then
|
|
|
|
build_options_default="gir"
|
|
|
|
fi
|
|
|
|
|
|
|
|
if [ "$build_option_gir" ]; then
|
|
|
|
configure_args+=" --enable-introspection"
|
2015-03-27 10:50:40 +01:00
|
|
|
makedepends+=" gobject-introspection vala-devel"
|
2014-02-04 04:46:35 +01:00
|
|
|
else
|
|
|
|
configure_args+=" --disable-introspection"
|
|
|
|
fi
|
2013-04-12 15:11:12 +02:00
|
|
|
|
|
|
|
gssdp-devel_package() {
|
2014-02-04 04:46:35 +01:00
|
|
|
depends="libsoup-devel gssdp>=${version}_${revision}"
|
2013-05-30 08:12:18 +02:00
|
|
|
short_desc+=" - development files"
|
2013-04-12 15:11:12 +02:00
|
|
|
pkg_install() {
|
|
|
|
vmove usr/include
|
|
|
|
vmove usr/lib/pkgconfig
|
2013-08-07 10:21:18 +02:00
|
|
|
vmove "usr/lib/*.so"
|
2014-02-04 04:46:35 +01:00
|
|
|
if [ "$build_option_gir" ]; then
|
|
|
|
vmove usr/share/gir-1.0
|
2014-02-04 04:52:24 +01:00
|
|
|
vmove usr/share/vala
|
2014-02-04 04:46:35 +01:00
|
|
|
fi
|
2013-04-12 15:11:12 +02:00
|
|
|
vmove usr/share/gtk-doc
|
|
|
|
}
|
|
|
|
}
|