void-packages/srcpkgs/libgdata/template
2014-09-22 09:41:19 +02:00

31 lines
1,020 B
Text

# Template file for 'libgdata'
pkgname=libgdata
version=0.15.2
revision=1
build_style=gnu-configure
configure_args="--disable-static $(vopt_enable gir introspection)"
hostmakedepends="pkg-config flex intltool $(vopt_if gir gobject-introspection)"
makedepends="json-glib-devel>=1.0 gtk+3-devel uhttpmock-devel liboauth-devel gcr-devel gnome-online-accounts-devel"
short_desc="Library for accessing GData webservices"
maintainer="Juan RP <xtraeme@gmail.com>"
license="LGPL-2.1"
homepage="http://live.gnome.org/libgdata"
distfiles="${GNOME_SITE}/$pkgname/${version%.*}/$pkgname-$version.tar.xz"
checksum=fb70ab60d355edabb05cb82737f322111496b835a0db9e03acee6425891cfd0c
build_options="gir"
if [ -z "$CROSS_BUILD" ]; then
build_options_default="gir"
fi
libgdata-devel_package() {
depends="${makedepends} ${sourcepkg}>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove usr/share/gtk-doc
vmove usr/share/gir-1.0
vmove "usr/lib/*.so"
}
}