void-packages/srcpkgs/clutter-gst/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

34 lines
1 KiB
Bash

# Template file for 'clutter-gst'
pkgname=clutter-gst
version=2.0.14
revision=1
build_options="gir"
build_style=gnu-configure
configure_args="--disable-debug $(vopt_enable gir introspection)"
hostmakedepends="pkg-config intltool glib-devel $(vopt_if gir gobject-introspection)"
makedepends="clutter-devel gst-plugins-bad1-devel"
depends="gst-plugins-base1>=1:1.2 gst-plugins-bad1>=1:1.2"
short_desc="GStreamer bindings for the Clutter Toolkit"
maintainer="Juan RP <xtraeme@gmail.com>"
homepage="http://www.gtk.org/"
license="GPL-2"
distfiles="${GNOME_SITE}/${pkgname}/${version%.*}/${pkgname}-${version}.tar.xz"
checksum=5d7d8c1a31748e9039b7ba9dae9f412ec065715008adffdfde332dd34e7d0535
if [ -z "$CROSS_BUILD" ]; then
build_options_default="gir"
fi
clutter-gst-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/lib/*.so"
if [ "$build_option_gir" ]; then
vmove usr/share/gir-1.0
fi
}
}