grilo: update to 0.2.9.

This commit is contained in:
Juan RP 2014-02-19 09:45:14 +01:00
parent 7e16a47a37
commit ce2f79fcc2

View file

@ -1,40 +1,47 @@
# Template file for 'grilo' # Template file for 'grilo'
pkgname=grilo pkgname=grilo
version=0.2.7 version=0.2.9
revision=2 revision=1
build_style=gnu-configure build_style=gnu-configure
configure_args="--enable-vala --disable-static --libdir=/usr/lib" configure_args="--enable-vala --disable-static --libdir=/usr/lib"
hostmakedepends="pkg-config intltool gobject-introspection" hostmakedepends="libtool pkg-config intltool vala-devel"
makedepends="vala-devel>=0.22 gtk+3-devel>=3.8 libxml2-devel makedepends="vala-devel>=0.22 gtk+3-devel>=3.8 libxml2-devel
libsoup-devel>=2.44 liboauth-devel" libsoup-devel>=2.44 liboauth-devel totem-pl-parser-devel"
short_desc="Framework focused on making media discovery and browsing easy" short_desc="Framework focused on making media discovery and browsing easy"
maintainer="Juan RP <xtraeme@gmail.com>" maintainer="Juan RP <xtraeme@gmail.com>"
license="LGPL-2.1" license="LGPL-2.1"
homepage="http://live.gnome.org/Grilo" homepage="http://live.gnome.org/Grilo"
distfiles="${GNOME_SITE}/$pkgname/0.2/$pkgname-$version.tar.xz" distfiles="${GNOME_SITE}/$pkgname/0.2/$pkgname-$version.tar.xz"
checksum=4a854ee6f9a220f05e696813949be94780c12a7fb281253f10a545f30ed596d8 checksum=e51e937ae1ceee31d3f07fd459cd67e17d5c4497e32b30eb883830a0995df935
long_desc="
More precisely, Grilo provides:
* A single, high-level API that abstracts the differences among various # Package build options
media content providers, allowing application developers to integrate build_options="gir"
content from various services and sources easily. desc_option_gir="Enable support for building gobject introspection data"
* A collection of plugins for accessing content from various media providers.
Developers can share efforts and code by writing plugins for the framework # Disable gir for cross builds.
that are application agnostic. if [ -z "$CROSS_BUILD" ]; then
* A flexible API that allows plugin developers to write plugins of various kinds." build_options_default="gir"
fi
if [ "$build_option_gir" ]; then
configure_args+=" --enable-introspection"
makedepends+=" gobject-introspection"
else
configure_args+=" --disable-introspection"
fi
pre_configure() { pre_configure() {
# recognize vala>0.20 libtoolize -f
sed -e 's,vala-0.20,vala-0.22,g' -i configure
} }
grilo-devel_package() { grilo-devel_package() {
depends="gtk+3-devel libxml2-devel libsoup-devel>=2.44 grilo-${version}_${revision}" depends="gtk+3-devel libxml2-devel libsoup-devel>=2.44 grilo>=${version}_${revision}"
short_desc+=" - development files" short_desc+=" - development files"
pkg_install() { pkg_install() {
vmove usr/include vmove usr/include
if [ "$build_option_gir" ]; then
vmove usr/share/gir-1.0 vmove usr/share/gir-1.0
fi
vmove usr/lib/pkgconfig vmove usr/lib/pkgconfig
vmove "usr/share/vala*/*" vmove "usr/share/vala*/*"
vmove "usr/lib/*.so" vmove "usr/lib/*.so"