void-packages/srcpkgs/clutter-gtk/template

37 lines
1.0 KiB
Bash
Raw Normal View History

# Template file for 'clutter-gtk'
pkgname=clutter-gtk
2015-10-13 09:07:22 +02:00
version=1.6.6
revision=2
2012-09-26 04:32:25 +02:00
build_style=gnu-configure
2014-12-04 07:22:36 +01:00
configure_args="$(vopt_enable gir introspection)"
hostmakedepends="pkg-config intltool $(vopt_if gir gobject-introspection)"
makedepends="gtk+3-devel clutter-devel"
2011-04-08 16:58:49 +02:00
short_desc="GTK+3 bindings for the Clutter Tolkit"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
2012-10-18 08:59:19 +02:00
homepage="http://clutter-project.org/"
license="LGPL-2.1"
2013-03-28 09:15:57 +01:00
distfiles="${GNOME_SITE}/$pkgname/${version%.*}/$pkgname-$version.tar.xz"
2015-10-13 09:07:22 +02:00
checksum=9440a68600f58d00fe0af35383738943e8ead9907f4cf507a102d96822434a28
2014-12-04 07:22:36 +01:00
# Package build options
build_options="gir"
# Disable gir for cross builds.
if [ -z "$CROSS_BUILD" ]; then
build_options_default="gir"
fi
clutter-gtk-devel_package() {
2014-09-08 10:42:40 +02:00
depends="${makedepends} ${sourcepkg}>=${version}_${revision}"
2014-03-27 11:24:42 +01:00
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove "usr/lib/*.so"
vmove usr/share/gtk-doc
2014-12-04 07:22:36 +01:00
if [ "$build_option_gir" ]; then
vmove usr/share/gir-1.0
fi
}
}