From 3621bf4e41ed6fe7eefeb2998622604f1e11d3c0 Mon Sep 17 00:00:00 2001 From: Max Krummenacher Date: Mon, 31 Mar 2014 16:06:03 +0200 Subject: glmark2: remove recipe in favor of meta-openemebedded --- recipes-benchmark/glmark2/glmark2_2012.12.bbappend | 2 ++ recipes/glmark2/files/gl-char.patch | 11 ------- recipes/glmark2/glmark2_2012.08.bb | 35 ---------------------- 3 files changed, 2 insertions(+), 46 deletions(-) create mode 100644 recipes-benchmark/glmark2/glmark2_2012.12.bbappend delete mode 100644 recipes/glmark2/files/gl-char.patch delete mode 100644 recipes/glmark2/glmark2_2012.08.bb diff --git a/recipes-benchmark/glmark2/glmark2_2012.12.bbappend b/recipes-benchmark/glmark2/glmark2_2012.12.bbappend new file mode 100644 index 0000000..d14a24b --- /dev/null +++ b/recipes-benchmark/glmark2/glmark2_2012.12.bbappend @@ -0,0 +1,2 @@ +#build it only for OpenGL ES +PACKAGECONFIG = "gles2" \ No newline at end of file diff --git a/recipes/glmark2/files/gl-char.patch b/recipes/glmark2/files/gl-char.patch deleted file mode 100644 index 956191e..0000000 --- a/recipes/glmark2/files/gl-char.patch +++ /dev/null @@ -1,11 +0,0 @@ ---- glmark2-2012.08/src/gl-headers.h.orig 2012-11-14 11:11:43.991688984 +0100 -+++ glmark2-2012.08/src/gl-headers.h 2012-11-14 11:13:45.581817248 +0100 -@@ -33,6 +33,8 @@ - #elif USE_GLESv2 - #include - #include -+/* provide GLchar which is not defined in our old gl2.h */ -+typedef char GLchar; - #ifndef GL_WRITE_ONLY - #define GL_WRITE_ONLY GL_WRITE_ONLY_OES - #endif diff --git a/recipes/glmark2/glmark2_2012.08.bb b/recipes/glmark2/glmark2_2012.08.bb deleted file mode 100644 index 427a1e0..0000000 --- a/recipes/glmark2/glmark2_2012.08.bb +++ /dev/null @@ -1,35 +0,0 @@ -SECTION = "debug" -DESCRIPTION = "glmark2 is a benchmark for OpenGL (ES) 2.0. It uses only the subset of the OpenGL 2.0 API that is compatible with OpenGL ES 2.0." -HOMEPAGE = "https://launchpad.net/glmark2" -LICENSE ="GPLv3" -RDEPENDS_${PN} = "libpng12" -DEPENDS_${PN} = "python-native libpng12 virtual/jpeg virtual/egl virtual/libgles2" - -SRC_URI = "https://launchpad.net/${PN}/trunk/${PV}/+download/${PN}-${PV}.tar.gz \ - file://gl-char.patch" - -LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504" - -PR = "r5" - -do_configure() { -} - -do_compile() { - ./waf configure --enable-glesv2 --prefix=/usr - ./waf - mkdir -p tmp/ - cp build/src/glmark2* tmp/ - ./waf configure --enable-glesv2 --prefix=${D}/usr - ./waf - rm build/src/glmark2* - cp tmp/glmark2* build/src/ -} - -FILES_${PN} += "/usr" -do_install() { - ./waf install -} - -SRC_URI[md5sum] = "f924a8019df2494222b718c47f6cbdc3" -#SRC_URI[sha256sum] = "252390e4bc687957f09f334095904c8cc53b39c7b663ed47861ae1d11aef5946" -- cgit v1.2.3