void-packages/srcpkgs/grilo/template

46 lines
1.5 KiB
Text

# Template file for 'grilo'
pkgname=grilo
version=0.2.5
revision=1
build_style=gnu-configure
configure_args="--enable-vala --disable-static --libdir=/usr/lib"
hostmakedepends="pkg-config gobject-introspection"
makedepends="vala-devel>=0.20 gtk+3-devel>=3.8 libxml2-devel libsoup-devel"
short_desc="Framework focused on making media discovery and browsing easy"
maintainer="Juan RP <xtraeme@gmail.com>"
license="LGPL-2.1"
homepage="http://live.gnome.org/Grilo"
distfiles="${GNOME_SITE}/$pkgname/0.2/$pkgname-$version.tar.xz"
checksum=ff281f60bc3afcb70913e61a6447b33ab259b3d89c1441c7e307fc998c050cdc
long_desc="
More precisely, Grilo provides:
* A single, high-level API that abstracts the differences among various
media content providers, allowing application developers to integrate
content from various services and sources easily.
* A collection of plugins for accessing content from various media providers.
Developers can share efforts and code by writing plugins for the framework
that are application agnostic.
* A flexible API that allows plugin developers to write plugins of various kinds."
pre_configure() {
# fool configure to use vala-0.20
sed -e s,vala-0.18,vala-0.20,g -i configure
}
grilo-devel_package() {
depends="gtk+3-devel libxml2-devel libsoup-devel grilo-${version}_${revision}"
short_desc="${short_desc} - development files"
pkg_install() {
vmove usr/include
vmove usr/share/gir-1.0
vmove usr/lib/pkgconfig
vmove "usr/share/vala*/*"
}
}
grilo_package() {
pkg_install() {
vmove usr
}
}