void-packages/srcpkgs/clutter-gst3/template

36 lines
1.1 KiB
Bash
Raw Normal View History

2015-03-18 07:47:10 +00:00
# Template file for 'clutter-gst3'
2015-07-19 06:35:07 +00:00
pkgname=clutter-gst3
2017-04-09 08:07:25 +00:00
version=3.0.24
2016-02-23 06:31:56 +00:00
revision=1
2015-10-01 05:28:15 +00:00
wrksrc="clutter-gst-$version"
2015-03-18 07:47:10 +00:00
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"
2015-10-01 05:28:15 +00:00
depends="gst-plugins-base1 gst-plugins-bad1"
2015-03-18 07:47:10 +00:00
short_desc="GStreamer bindings for the Clutter Toolkit"
2015-09-05 05:33:27 +00:00
maintainer="Juan RP <xtraeme@voidlinux.eu>"
2015-03-18 07:47:10 +00:00
homepage="http://www.gtk.org/"
license="GPL-2"
2015-10-01 05:28:15 +00:00
distfiles="${GNOME_SITE}/clutter-gst/${version%.*}/clutter-gst-${version}.tar.xz"
2017-04-09 08:07:25 +00:00
checksum=e9f1c87d8f4c47062e952fb8008704f8942cf2d6f290688f3f7d13e83578cc6c
2015-03-18 07:47:10 +00:00
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
}
}