void-packages/srcpkgs/clutter-gst3/template

37 lines
1.1 KiB
Bash
Raw Normal View History

2015-03-18 08:47:10 +01:00
# Template file for 'clutter-gst3'
pkgname=clutter-gst3
_pkgname=clutter-gst
2015-06-03 17:28:56 +02:00
version=3.0.6
2015-03-18 08:47:10 +01:00
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"
2015-06-03 17:28:56 +02:00
checksum=d6d5493ae57cc175deee479304569c419d2bb90de3be124e6f3350ae7e73df76
2015-03-18 08:47:10 +01:00
wrksrc=$_pkgname-$version
if [ -z "$CROSS_BUILD" ]; then
build_options_default="gir"
fi
clutter-gst3-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
}
}