void-packages/srcpkgs/clutter/template

43 lines
1.4 KiB
Plaintext

# Template file for 'clutter'
pkgname=clutter
version=1.16.0
revision=3
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"
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=a213c7859051d6d19b5550c7e433757a35aa8e2b61a43d2eae83dd87912ea8ae
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
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-*"
}
}
clutter_package() {
# egl/kms/wayland support in cogl
depends="cogl>=1.16.0_2"
pkg_install() {
vmove all
}
}