2011-03-01 17:34:53 +01:00
|
|
|
# Template file for 'clutter-gtk'
|
|
|
|
pkgname=clutter-gtk
|
2015-10-13 09:07:22 +02:00
|
|
|
version=1.6.6
|
2015-10-14 09:22:54 +02:00
|
|
|
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)"
|
2015-03-27 10:50:40 +01:00
|
|
|
makedepends="gtk+3-devel clutter-devel"
|
2011-04-08 16:58:49 +02:00
|
|
|
short_desc="GTK+3 bindings for the Clutter Tolkit"
|
2015-04-10 09:16:30 +02:00
|
|
|
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
|
2013-04-12 08:55:23 +02:00
|
|
|
|
|
|
|
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"
|
2013-04-12 08:55:23 +02:00
|
|
|
pkg_install() {
|
|
|
|
vmove usr/include
|
|
|
|
vmove usr/lib/pkgconfig
|
2013-09-26 13:24:46 +02:00
|
|
|
vmove "usr/lib/*.so"
|
2013-04-12 08:55:23 +02:00
|
|
|
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
|
2013-04-12 08:55:23 +02:00
|
|
|
}
|
|
|
|
}
|