From aea0746cbb7b9d286d12007bd7d2a346f27cfc62 Mon Sep 17 00:00:00 2001 From: Ross Burton Date: Tue, 16 Feb 2016 20:56:08 +0000 Subject: glew: rewrite to use upstream build system Instead of patching in a whole new build system using autotools, use the makefile-based system in upstream with careful variable assignments so that it cross-compiles correctly. One small patch was required to stop an unavoidable strip. Upstream does have a cmake-based build but it's not used or supported by the maintainer, and is quite buggy (for example: doesn't version the libraries, fails to link to required libraries). (From OE-Core rev: c77d0dfa18b2467f8856571837e7007f8fcd9b20) Signed-off-by: Ross Burton Signed-off-by: Richard Purdie --- .../glew/glew/fix-glew.pc-install.patch | 46 ---------------------- 1 file changed, 46 deletions(-) delete mode 100644 meta/recipes-graphics/glew/glew/fix-glew.pc-install.patch (limited to 'meta/recipes-graphics/glew/glew/fix-glew.pc-install.patch') diff --git a/meta/recipes-graphics/glew/glew/fix-glew.pc-install.patch b/meta/recipes-graphics/glew/glew/fix-glew.pc-install.patch deleted file mode 100644 index fea071d1e0..0000000000 --- a/meta/recipes-graphics/glew/glew/fix-glew.pc-install.patch +++ /dev/null @@ -1,46 +0,0 @@ - -We maintain the autotools configure.ac and Makefile.am, to correctly -provide the glew.pc, the following patch is needed. - -Upstream-Status: Inappropriate - -Signed-off-by: Saul Wold - -Index: glew-1.11.0/Makefile.am -=================================================================== ---- glew-1.11.0.orig/Makefile.am -+++ glew-1.11.0/Makefile.am -@@ -3,3 +3,5 @@ ACLOCAL_AMFLAGS = -I m4 --install - - SUBDIRS = include src - -+pkgconfigdir = $(libdir)/pkgconfig -+pkgconfig_DATA = glew.pc -Index: glew-1.11.0/configure.ac -=================================================================== ---- glew-1.11.0.orig/configure.ac -+++ glew-1.11.0/configure.ac -@@ -66,5 +66,6 @@ AC_SUBST([LIBGLEW_SO_VERSION], [1:9:0]) - - AC_CONFIG_FILES([Makefile - include/Makefile -- src/Makefile]) -+ src/Makefile -+ glew.pc]) - AC_OUTPUT -Index: glew-1.11.0/glew.pc.in -=================================================================== ---- glew-1.11.0.orig/glew.pc.in -+++ glew-1.11.0/glew.pc.in -@@ -5,7 +5,7 @@ includedir=${prefix}/include/GL - - Name: glew - Description: The OpenGL Extension Wrangler library --Version: @version@ --Cflags: -I${includedir} @cflags@ --Libs: -L${libdir} -l@libname@ --Requires: @requireslib@ -+Version: @VERSION@ -+Cflags: -I${includedir} -+Libs: -L${libdir} -lGLEW -+Requires: glu -- cgit 1.2.3-korg