void-packages/srcpkgs/grilo/template
Juan RP 1c5f4690e6 xbps-src: always require current srcpkgs version in build dependencies.
That means that version comparators are not supported anymore in
hostmakedepends and makedepends.

This will ensure that a pkg is always built with the same build dependencies
everywhere, if the srcpkgs tree is uptodate.
2015-03-27 10:59:58 +01:00

41 lines
1.1 KiB
Bash

# Template file for 'grilo'
pkgname=grilo
version=0.2.12
revision=1
build_style=gnu-configure
configure_args="--disable-static --disable-vala $(vopt_enable gir introspection)"
hostmakedepends="libtool pkg-config intltool
$(vopt_if gir 'vala-devel gobject-introspection')"
makedepends="gtk+3-devel libxml2-devel libsoup-devel liboauth-devel totem-pl-parser-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=55b4663550bc8185f8db232e96b9ba99fbfa9175e31e7321fa5ccaacf3617b85
# Package build options
build_options="gir"
# Disable gir for cross builds.
if [ -z "$CROSS_BUILD" ]; then
build_options_default="gir"
fi
pre_configure() {
libtoolize -f
}
grilo-devel_package() {
depends="${makedepends} grilo>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
if [ "$build_option_gir" ]; then
#vmove "usr/share/vala*/*"
vmove usr/share/gir-1.0
fi
vmove usr/lib/pkgconfig
vmove "usr/lib/*.so"
}
}