void-packages/srcpkgs/cogl/template

37 lines
1019 B
Plaintext

# Template file for 'cogl'
pkgname=cogl
version=1.14.0
revision=3
build_style=gnu-configure
configure_args="--enable-introspection"
hostmakedepends="pkg-config intltool automake libtool gettext-devel gobject-introspection"
makedepends="libXcomposite-devel libXrandr-devel libXdamage-devel pango-devel gdk-pixbuf-devel"
short_desc="Library for using 3D graphics hardware for rendering"
maintainer="Juan RP <xtraeme@gmail.com>"
homepage="http://www.clutter-project.org"
license="LGPL-2.1"
distfiles="${GNOME_SITE}/cogl/${version%.*}/cogl-${version}.tar.xz"
checksum=276e8c9f5ff0fcd57c1eaf74cc245f41ad469a95a18ac831fac2d5960baa5ae8
pre_configure() {
autoreconf -fi
}
cogl-devel_package() {
depends="libdrm-devel libXcomposite-devel libXdamage-devel
libXrandr-devel gdk-pixbuf-devel glib-devel cogl>=${version}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove "usr/lib/*.so"
vmove usr/share/gir-1.0
}
}
cogl_package() {
pkg_install() {
vmove usr
}
}