void-packages/srcpkgs/clutter-gtk/template

37 lines
1.0 KiB
Plaintext
Raw Normal View History

# Template file for 'clutter-gtk'
pkgname=clutter-gtk
2014-12-04 07:22:36 +01:00
version=1.6.0
2014-03-27 11:24:42 +01:00
revision=1
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)"
2014-03-27 11:24:42 +01:00
makedepends="gtk+3-devel clutter-devel>=1.18"
2011-04-08 16:58:49 +02:00
short_desc="GTK+3 bindings for the Clutter Tolkit"
maintainer="Juan RP <xtraeme@gmail.com>"
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"
2014-12-04 07:22:36 +01:00
checksum=883550b574a036363239442edceb61cf3f6bedc8adc97d3404278556dc82234d
# 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
}
}