2011-03-01 17:34:53 +01:00
|
|
|
# Template file for 'clutter-gtk'
|
|
|
|
pkgname=clutter-gtk
|
2015-07-01 07:55:29 +02:00
|
|
|
version=1.6.2
|
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)"
|
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-07-01 07:55:29 +02:00
|
|
|
checksum=bbd03dfa9a20102d5cdb440513b0a035933da557ad7e9da31546034de2daf069
|
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
|
|
|
}
|
|
|
|
}
|