void-packages/srcpkgs/cogl/template
2014-03-27 11:11:08 +01:00

31 lines
1.1 KiB
Text

# Template file for 'cogl'
pkgname=cogl
version=1.18.0
revision=1
build_style=gnu-configure
configure_args="--enable-introspection --enable-cogl-gst=yes
--enable-gles1 --enable-gles2 --enable-kms-egl-platform
--enable-wayland-egl-platform --enable-wayland-egl-server"
hostmakedepends="pkg-config intltool gobject-introspection"
makedepends="libXcomposite-devel libXrandr-devel libXdamage-devel pango-devel
gdk-pixbuf-devel gst-plugins-base1-devel>=1:1.2.0 wayland-devel"
depends="gst-plugins-base1>=1:1.2.0"
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=a4d91ebf7e7aba362eb5c6e4ffebbf1167ff4ac87fabae104912d879a5390f5e
cogl-devel_package() {
depends="libdrm-devel libXcomposite-devel libXdamage-devel
libXrandr-devel gdk-pixbuf-devel glib-devel wayland-devel
cogl>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove "usr/lib/*.so"
vmove usr/share/gir-1.0
}
}