diff --git a/common/shlibs b/common/shlibs index 7ea350a0f8..743423f890 100644 --- a/common/shlibs +++ b/common/shlibs @@ -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 diff --git a/srcpkgs/cogl/patches/cogl-winsys-egl-kms.c.patch b/srcpkgs/cogl/patches/cogl-winsys-egl-kms.c.patch new file mode 100644 index 0000000000..5b9a6b713c --- /dev/null +++ b/srcpkgs/cogl/patches/cogl-winsys-egl-kms.c.patch @@ -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 + #include + #include + #include diff --git a/srcpkgs/cogl/template b/srcpkgs/cogl/template index 3a2da8ec68..87659c568a 100644 --- a/srcpkgs/cogl/template +++ b/srcpkgs/cogl/template @@ -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 " 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