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