void-packages/srcpkgs/clutter/template

35 lines
1.3 KiB
Plaintext

# Template file for 'clutter'
pkgname=clutter
version=1.16.4
revision=1
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>=0.6 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=cf50836ec5503577b73f75f984577610881b3e2ff7a327bb5b6918b431b51b65
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-*"
}
}