void-packages/srcpkgs/clutter/template

37 lines
1.4 KiB
Text

# Template file for 'clutter'
pkgname=clutter
version=1.16.2
revision=2
build_style=gnu-configure
configure_args="--enable-introspection --enable-evdev-input
--enable-wayland-backend --enable-egl-backend --enable-wayland-compositor"
hostmakedepends="pkg-config intltool gobject-introspection"
makedepends="
atk-devel pango-devel libXi-devel libXcomposite-devel json-glib-devel
libxkbcommon-devel cogl-devel>=1.16.0_2 libevdev-devel libgudev-devel"
# egl/kms/wayland support in cogl
depends="cogl>=1.16.0_2"
short_desc="OpenGL based interactive canvas library"
maintainer="Juan RP <xtraeme@gmail.com>"
homepage="http://www.clutter-project.org"
license="LGPL-2.1"
distfiles="${GNOME_SITE}/clutter/${version%.*}/clutter-${version}.tar.xz"
checksum=0cb7e88c80f43fc7fb869fc6d34c42e98aa1a0ef7aa02e6aeef1b099ad33df42
long_desc="
Clutter is an open source software library for creating fast, visually
rich and animated graphical user interfaces."
clutter-devel_package() {
depends="cogl-devel>=1.16.0_2 cairo-devel atk-devel pango-devel json-glib-devel
libX11-devel libXext-devel libXfixes-devel libXdamage-devel
libXcomposite-devel libXi-devel libevdev-devel libgudev-devel
libxkbcommon-devel clutter>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove "usr/lib/*.so"
vmove usr/share/gtk-doc
vmove "usr/share/gir-*"
}
}