2010-10-24 14:28:55 +00:00
|
|
|
# Template file for 'libgdata'
|
|
|
|
pkgname=libgdata
|
2014-12-07 18:30:13 +00:00
|
|
|
version=0.16.1
|
2014-09-22 07:41:19 +00:00
|
|
|
revision=1
|
2012-09-26 06:43:29 +00:00
|
|
|
build_style=gnu-configure
|
2014-09-22 07:41:19 +00:00
|
|
|
configure_args="--disable-static $(vopt_enable gir introspection)"
|
|
|
|
hostmakedepends="pkg-config flex intltool $(vopt_if gir gobject-introspection)"
|
2014-03-27 10:53:54 +00:00
|
|
|
makedepends="json-glib-devel>=1.0 gtk+3-devel uhttpmock-devel liboauth-devel gcr-devel gnome-online-accounts-devel"
|
2010-10-24 14:28:55 +00:00
|
|
|
short_desc="Library for accessing GData webservices"
|
|
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
2012-03-19 14:38:44 +00:00
|
|
|
license="LGPL-2.1"
|
2012-09-26 06:43:29 +00:00
|
|
|
homepage="http://live.gnome.org/libgdata"
|
2013-09-26 14:15:23 +00:00
|
|
|
distfiles="${GNOME_SITE}/$pkgname/${version%.*}/$pkgname-$version.tar.xz"
|
2014-12-07 18:30:13 +00:00
|
|
|
checksum=8740e071ecb2ae0d2a4b9f180d2ae5fdf9dc4c41e7ff9dc7e057f62442800827
|
2014-09-22 07:41:19 +00:00
|
|
|
|
|
|
|
build_options="gir"
|
|
|
|
if [ -z "$CROSS_BUILD" ]; then
|
|
|
|
build_options_default="gir"
|
|
|
|
fi
|
2013-04-13 08:15:49 +00:00
|
|
|
|
|
|
|
libgdata-devel_package() {
|
2014-09-22 07:41:19 +00:00
|
|
|
depends="${makedepends} ${sourcepkg}>=${version}_${revision}"
|
2013-09-26 14:15:23 +00:00
|
|
|
short_desc+=" - development files"
|
2013-04-13 08:15:49 +00:00
|
|
|
pkg_install() {
|
|
|
|
vmove usr/include
|
|
|
|
vmove usr/lib/pkgconfig
|
|
|
|
vmove usr/share/gtk-doc
|
|
|
|
vmove usr/share/gir-1.0
|
2013-09-26 14:15:23 +00:00
|
|
|
vmove "usr/lib/*.so"
|
2013-04-13 08:15:49 +00:00
|
|
|
}
|
|
|
|
}
|