2011-09-28 14:37:23 +00:00
|
|
|
# Template file for 'cogl'
|
|
|
|
pkgname=cogl
|
2013-09-26 11:15:03 +00:00
|
|
|
version=1.16.0
|
2013-10-20 05:01:29 +00:00
|
|
|
revision=2
|
2011-10-24 12:14:47 +00:00
|
|
|
build_style=gnu-configure
|
2013-10-20 05:01:29 +00:00
|
|
|
configure_args="--enable-introspection --enable-cogl-gst=yes
|
|
|
|
--enable-gles1 --enable-gles2 --enable-kms-egl-platform
|
|
|
|
--enable-wayland-egl-platform --enable-wayland-egl-server"
|
2013-09-26 11:15:03 +00:00
|
|
|
hostmakedepends="pkg-config intltool gobject-introspection"
|
|
|
|
makedepends="libXcomposite-devel libXrandr-devel libXdamage-devel pango-devel
|
2013-10-20 05:01:29 +00:00
|
|
|
gdk-pixbuf-devel gst-plugins-base1-devel>=1:1.2.0 wayland-devel"
|
2011-09-28 14:37:23 +00:00
|
|
|
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"
|
2013-03-28 07:18:48 +00:00
|
|
|
distfiles="${GNOME_SITE}/cogl/${version%.*}/cogl-${version}.tar.xz"
|
2013-09-26 11:15:03 +00:00
|
|
|
checksum=75c2c4636a050fda7ee8722ce3d9c618b08799ed92bbb72b4fdff3e73b096094
|
2013-09-15 11:34:09 +00:00
|
|
|
|
2013-04-12 06:55:23 +00:00
|
|
|
cogl-devel_package() {
|
|
|
|
depends="libdrm-devel libXcomposite-devel libXdamage-devel
|
2013-10-20 05:01:29 +00:00
|
|
|
libXrandr-devel gdk-pixbuf-devel glib-devel wayland-devel
|
|
|
|
cogl>=${version}_${revision}"
|
2013-09-15 11:34:09 +00:00
|
|
|
short_desc+=" - development files"
|
2013-04-12 06:55:23 +00:00
|
|
|
pkg_install() {
|
|
|
|
vmove usr/include
|
|
|
|
vmove usr/lib/pkgconfig
|
2013-09-15 11:34:09 +00:00
|
|
|
vmove "usr/lib/*.so"
|
2013-04-12 06:55:23 +00:00
|
|
|
vmove usr/share/gir-1.0
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
cogl_package() {
|
2013-09-26 11:15:03 +00:00
|
|
|
depends="gst-plugins-base1>=1:1.2.0"
|
2013-04-12 06:55:23 +00:00
|
|
|
pkg_install() {
|
2013-09-26 11:15:03 +00:00
|
|
|
vmove all
|
2013-04-12 06:55:23 +00:00
|
|
|
}
|
|
|
|
}
|