From b15496ac48748f50a258720c2f35e985faee39e9 Mon Sep 17 00:00:00 2001 From: Ross Burton Date: Tue, 16 Feb 2016 20:56:09 +0000 Subject: glew: upgrade to 1.13.0. Signed-off-by: Ross Burton Signed-off-by: Richard Purdie --- meta/recipes-graphics/glew/glew_1.12.0.bb | 40 ------------------------------- meta/recipes-graphics/glew/glew_1.13.0.bb | 40 +++++++++++++++++++++++++++++++ 2 files changed, 40 insertions(+), 40 deletions(-) delete mode 100644 meta/recipes-graphics/glew/glew_1.12.0.bb create mode 100644 meta/recipes-graphics/glew/glew_1.13.0.bb (limited to 'meta/recipes-graphics/glew') diff --git a/meta/recipes-graphics/glew/glew_1.12.0.bb b/meta/recipes-graphics/glew/glew_1.12.0.bb deleted file mode 100644 index f1707d6655..0000000000 --- a/meta/recipes-graphics/glew/glew_1.12.0.bb +++ /dev/null @@ -1,40 +0,0 @@ -SUMMARY = "OpenGL extension loading library" -DESCRIPTION = "The OpenGL Extension Wrangler Library (GLEW) is a cross-platform open-source C/C++ extension loading library." -HOMEPAGE = "http://glew.sourceforge.net/" -BUGTRACKER = "http://sourceforge.net/tracker/?group_id=67586" -SECTION = "x11" -LICENSE = "MIT" -LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=2ac251558de685c6b9478d89be3149c2" - -DEPENDS = "virtual/libx11 virtual/libgl libglu libxext libxi libxmu" - -SRC_URI = "${SOURCEFORGE_MIRROR}/project/glew/glew/${PV}/glew-${PV}.tgz \ - file://no-strip.patch" - -SRC_URI[md5sum] = "01246c7ecd135d99be031aa63f86dca1" -SRC_URI[sha256sum] = "af58103f4824b443e7fa4ed3af593b8edac6f3a7be3b30911edbc7344f48e4bf" - -UPSTREAM_CHECK_URI = "http://sourceforge.net/projects/glew/files/glew" -UPSTREAM_CHECK_REGEX = "/glew/(?P(\d+[\.\-_]*)+)/" - -inherit lib_package pkgconfig distro_features_check - -REQUIRED_DISTRO_FEATURES = "x11" - -# Override SYSTEM to avoid calling config.guess, we're cross-compiling. Pass -# our CFLAGS via POPT as that's the optimisation variable and safely -# overwritten. -EXTRA_OEMAKE = "SYSTEM='linux' \ - CC='${CC}' LD='${CC}' STRIP='' \ - LDFLAGS.EXTRA='${LDFLAGS}' \ - POPT='${CFLAGS}' \ - GLEW_PREFIX='${prefix}' BINDIR='${bindir}' \ - LIBDIR='${libdir}' INCDIR='${includedir}/GL'" - -do_compile() { - oe_runmake -} - -do_install() { - oe_runmake 'DESTDIR=${D}' install.all -} diff --git a/meta/recipes-graphics/glew/glew_1.13.0.bb b/meta/recipes-graphics/glew/glew_1.13.0.bb new file mode 100644 index 0000000000..a25c405f3f --- /dev/null +++ b/meta/recipes-graphics/glew/glew_1.13.0.bb @@ -0,0 +1,40 @@ +SUMMARY = "OpenGL extension loading library" +DESCRIPTION = "The OpenGL Extension Wrangler Library (GLEW) is a cross-platform open-source C/C++ extension loading library." +HOMEPAGE = "http://glew.sourceforge.net/" +BUGTRACKER = "http://sourceforge.net/tracker/?group_id=67586" +SECTION = "x11" +LICENSE = "MIT" +LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=2ac251558de685c6b9478d89be3149c2" + +DEPENDS = "virtual/libx11 virtual/libgl libglu libxext libxi libxmu" + +SRC_URI = "${SOURCEFORGE_MIRROR}/project/glew/glew/${PV}/glew-${PV}.tgz \ + file://no-strip.patch" + +SRC_URI[md5sum] = "7cbada3166d2aadfc4169c4283701066" +SRC_URI[sha256sum] = "aa25dc48ed84b0b64b8d41cdd42c8f40f149c37fa2ffa39cd97f42c78d128bc7" + +UPSTREAM_CHECK_URI = "http://sourceforge.net/projects/glew/files/glew" +UPSTREAM_CHECK_REGEX = "/glew/(?P(\d+[\.\-_]*)+)/" + +inherit lib_package pkgconfig distro_features_check + +REQUIRED_DISTRO_FEATURES = "x11" + +# Override SYSTEM to avoid calling config.guess, we're cross-compiling. Pass +# our CFLAGS via POPT as that's the optimisation variable and safely +# overwritten. +EXTRA_OEMAKE = "SYSTEM='linux' \ + CC='${CC}' LD='${CC}' STRIP='' \ + LDFLAGS.EXTRA='${LDFLAGS}' \ + POPT='${CFLAGS}' \ + GLEW_PREFIX='${prefix}' BINDIR='${bindir}' \ + LIBDIR='${libdir}' INCDIR='${includedir}/GL'" + +do_compile() { + oe_runmake +} + +do_install() { + oe_runmake 'DESTDIR=${D}' install.all +} -- cgit v1.2.3