void-packages/srcpkgs/clutter-gst/template

33 lines
1005 B
Bash

# Template file for 'clutter-gst'
pkgname=clutter-gst
version=2.0.18
revision=2
build_style=gnu-configure
build_helper="gir"
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"
short_desc="GStreamer bindings for the Clutter Toolkit"
maintainer="Juan RP <xtraeme@voidlinux.org>"
license="LGPL-2.1-or-later"
homepage="http://www.gtk.org/"
distfiles="${GNOME_SITE}/${pkgname}/${version%.*}/${pkgname}-${version}.tar.xz"
checksum=8d82bebf01b65d433bfb0f8da7bf7a8da42289f58b66bc4dfa775df0385bf8b5
build_options="gir"
build_options_default="gir"
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
}
}