void-packages/srcpkgs/clutter-gst3/template

36 lines
1.1 KiB
Bash

# Template file for 'clutter-gst3'
pkgname=clutter-gst3
version=3.0.26
revision=1
wrksrc="clutter-gst-$version"
configure_args="--disable-debug $(vopt_enable gir introspection)"
build_style=gnu-configure
hostmakedepends="pkg-config intltool glib-devel $(vopt_if gir gobject-introspection)"
makedepends="clutter-devel gst-plugins-bad1-devel"
depends="gst-plugins-base1 gst-plugins-bad1"
short_desc="GStreamer bindings for the Clutter Toolkit"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
homepage="http://www.gtk.org/"
license="GPL-2.0-or-later"
distfiles="${GNOME_SITE}/clutter-gst/${version%.*}/clutter-gst-${version}.tar.xz"
checksum=d8618a6d9accec0f2a8574c5e1220051f8505fb82b20336c26bdbd482aa6cb3a
build_options="gir"
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
}
}