2009-12-23 20:45:51 +01:00
|
|
|
# Template file for 'clutter'
|
|
|
|
pkgname=clutter
|
2015-10-13 09:07:21 +02:00
|
|
|
version=1.24.2
|
2015-10-17 16:53:57 +02:00
|
|
|
revision=6
|
2011-10-24 14:14:47 +02:00
|
|
|
build_style=gnu-configure
|
2015-01-13 18:20:07 +01:00
|
|
|
build_options="gir"
|
2015-10-16 23:37:59 +02:00
|
|
|
configure_args="$(vopt_enable gir introspection) --enable-evdev --enable-evdev-input
|
2015-10-17 16:53:57 +02:00
|
|
|
--enable-wayland-backend --enable-egl-backend --enable-wayland-compositor"
|
2015-02-15 11:05:07 +01:00
|
|
|
hostmakedepends="automake libtool pkg-config intltool glib-devel
|
|
|
|
gettext-devel $(vopt_if gir gobject-introspection)"
|
2013-11-19 06:55:12 +01:00
|
|
|
makedepends="
|
2015-10-16 23:37:59 +02:00
|
|
|
atk-devel pango-devel libXi-devel libXcomposite-devel json-glib-devel libgudev-devel
|
2015-10-17 16:53:57 +02:00
|
|
|
libxkbcommon-devel cogl-devel libinput-devel libevdev-devel eudev-libudev-devel"
|
2009-12-23 20:45:51 +01:00
|
|
|
short_desc="OpenGL based interactive canvas library"
|
2015-04-10 09:16:30 +02:00
|
|
|
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
2011-06-15 23:22:21 +02:00
|
|
|
homepage="http://www.clutter-project.org"
|
|
|
|
license="LGPL-2.1"
|
2013-03-28 08:27:33 +01:00
|
|
|
distfiles="${GNOME_SITE}/clutter/${version%.*}/clutter-${version}.tar.xz"
|
2015-10-13 09:07:21 +02:00
|
|
|
checksum=9631c98cb4bcbfec15e1bbe9eaa6eef0f127201552fce40d7d28f2133803cd63
|
2013-04-12 08:55:23 +02:00
|
|
|
|
2015-01-13 18:20:07 +01:00
|
|
|
if [ -z "$CROSS_BUILD" ]; then
|
|
|
|
build_options_default="gir"
|
|
|
|
fi
|
|
|
|
|
2015-02-15 11:05:07 +01:00
|
|
|
pre_configure() {
|
|
|
|
autoreconf -fi
|
|
|
|
}
|
|
|
|
|
2013-04-12 08:55:23 +02:00
|
|
|
clutter-devel_package() {
|
2015-01-13 18:20:07 +01:00
|
|
|
depends="${makedepends} clutter>=${version}_${revision}"
|
2013-05-15 09:28:39 +02: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:22:16 +02:00
|
|
|
vmove "usr/lib/*.so"
|
2013-04-12 08:55:23 +02:00
|
|
|
vmove usr/share/gtk-doc
|
2015-01-13 18:20:07 +01:00
|
|
|
if [ "$build_option_gir" ]; then
|
|
|
|
vmove usr/share/gir-1.0
|
|
|
|
fi
|
2013-04-12 08:55:23 +02:00
|
|
|
}
|
|
|
|
}
|