void-packages/srcpkgs/cogl/template

35 lines
1.0 KiB
Plaintext

# Template file for 'cogl'
pkgname=cogl
version=1.16.0
revision=1
build_style=gnu-configure
configure_args="--enable-introspection --enable-cogl-gst=yes"
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"
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=75c2c4636a050fda7ee8722ce3d9c618b08799ed92bbb72b4fdff3e73b096094
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() {
depends="gst-plugins-base1>=1:1.2.0"
pkg_install() {
vmove all
}
}