cogl: enable egl/kms/wayland support.

This commit is contained in:
Juan RP 2013-10-20 07:01:29 +02:00
parent 4bf346ff98
commit 9e3ca9e342
3 changed files with 20 additions and 4 deletions

View file

@ -796,6 +796,7 @@ libjson-c.so.2 json-c-0.11_1
libcogl.so.15 cogl-1.16.0_1
libcogl-pango.so.15 cogl-1.16.0_1
libcogl-gst.so.15 cogl-1.16.0_1
libcogl-gles2.so.15 cogl-1.16.0_2
libp11-kit.so.0 p11-kit-0.7_1
librest-0.7.so.0 rest-0.7_1
librest-extras-0.7.so.0 rest-0.7_1

View file

@ -0,0 +1,12 @@
Fix build error due to drm.h: 'size_t unknown type'
--- cogl/winsys/cogl-winsys-egl-kms.c.orig 2013-10-20 06:58:32.967367785 +0200
+++ cogl/winsys/cogl-winsys-egl-kms.c 2013-10-20 06:58:44.326456462 +0200
@@ -32,6 +32,7 @@
#include "config.h"
#endif
+#include <sys/types.h>
#include <EGL/egl.h>
#include <EGL/eglext.h>
#include <drm.h>

View file

@ -1,12 +1,14 @@
# Template file for 'cogl'
pkgname=cogl
version=1.16.0
revision=1
revision=2
build_style=gnu-configure
configure_args="--enable-introspection --enable-cogl-gst=yes"
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"
gdk-pixbuf-devel gst-plugins-base1-devel>=1:1.2.0 wayland-devel"
short_desc="Library for using 3D graphics hardware for rendering"
maintainer="Juan RP <xtraeme@gmail.com>"
homepage="http://www.clutter-project.org"
@ -16,7 +18,8 @@ checksum=75c2c4636a050fda7ee8722ce3d9c618b08799ed92bbb72b4fdff3e73b096094
cogl-devel_package() {
depends="libdrm-devel libXcomposite-devel libXdamage-devel
libXrandr-devel gdk-pixbuf-devel glib-devel cogl>=${version}"
libXrandr-devel gdk-pixbuf-devel glib-devel wayland-devel
cogl>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include