void-packages/srcpkgs/clutter-gst/template

34 lines
1008 B
Bash
Raw Normal View History

2011-08-26 10:29:54 +02:00
# Template file for 'clutter-gst'
pkgname=clutter-gst
2015-05-25 09:03:46 +02:00
version=2.0.16
2014-06-03 10:04:02 +02:00
revision=1
2015-01-28 16:42:30 +01:00
build_options="gir"
build_style=gnu-configure
2015-01-28 16:42:30 +01:00
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"
2011-08-26 10:29:54 +02:00
short_desc="GStreamer bindings for the Clutter Toolkit"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
2011-08-26 10:29:54 +02:00
homepage="http://www.gtk.org/"
license="GPL-2"
2012-09-26 06:13:49 +02:00
distfiles="${GNOME_SITE}/${pkgname}/${version%.*}/${pkgname}-${version}.tar.xz"
2015-05-25 09:03:46 +02:00
checksum=a944f84186937021aba6329c23954f6015d33bf151ba8994e13c59cefd742039
2015-01-28 16:42:30 +01:00
if [ -z "$CROSS_BUILD" ]; then
build_options_default="gir"
fi
clutter-gst-devel_package() {
2015-01-28 16:42:30 +01:00
depends="${makedepends} ${sourcepkg}>=${version}_${revision}"
2013-05-24 20:48:04 +02:00
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove usr/share/gtk-doc
2013-07-23 15:37:33 +02:00
vmove "usr/lib/*.so"
2015-01-28 16:42:30 +01:00
if [ "$build_option_gir" ]; then
vmove usr/share/gir-1.0
fi
}
}