void-packages/srcpkgs/clutter/template

44 lines
1.3 KiB
Bash
Raw Normal View History

# Template file for 'clutter'
pkgname=clutter
2015-03-18 16:23:43 +01:00
version=1.22.0
2015-05-19 06:53:10 +02:00
revision=1
patch_args="-Np1"
build_style=gnu-configure
build_options="gir"
configure_args="$(vopt_enable gir introspection) --enable-evdev-input
2013-10-20 07:07:02 +02:00
--enable-wayland-backend --enable-egl-backend --enable-wayland-compositor"
hostmakedepends="automake libtool pkg-config intltool glib-devel
gettext-devel $(vopt_if gir gobject-introspection)"
2013-11-19 06:55:12 +01:00
makedepends="
atk-devel pango-devel libXi-devel libXcomposite-devel json-glib-devel
libxkbcommon-devel cogl-devel libinput-devel eudev-libgudev-devel
2014-11-08 01:20:39 +01:00
eudev-libudev-devel"
short_desc="OpenGL based interactive canvas library"
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-03-18 16:23:43 +01:00
checksum=5225fef91f717118654a5b98e24f2018d09ca3c37d61ecff84f77069de0fbf54
if [ -z "$CROSS_BUILD" ]; then
build_options_default="gir"
fi
pre_configure() {
autoreconf -fi
}
clutter-devel_package() {
depends="${makedepends} clutter>=${version}_${revision}"
2013-05-15 09:28:39 +02:00
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
2013-09-26 13:22:16 +02:00
vmove "usr/lib/*.so"
vmove usr/share/gtk-doc
if [ "$build_option_gir" ]; then
vmove usr/share/gir-1.0
fi
}
}