[oe] [meta-oe][PATCH 1/8] glfw: Update to latest
Khem Raj
raj.khem at gmail.com
Tue Dec 31 01:06:46 UTC 2019
Disable docs which needs doxygen
FPIC in static archives is needed for arches like aarch64
Signed-off-by: Khem Raj <raj.khem at gmail.com>
---
meta-oe/recipes-core/glfw/glfw_3.3.bb | 10 +++++++---
1 file changed, 7 insertions(+), 3 deletions(-)
diff --git a/meta-oe/recipes-core/glfw/glfw_3.3.bb b/meta-oe/recipes-core/glfw/glfw_3.3.bb
index 0ceeba1f19..858e5c0592 100644
--- a/meta-oe/recipes-core/glfw/glfw_3.3.bb
+++ b/meta-oe/recipes-core/glfw/glfw_3.3.bb
@@ -10,11 +10,15 @@ SECTION = "lib"
inherit pkgconfig cmake features_check
-S = "${WORKDIR}/git"
+PV .= "git${SRCPV}"
+SRCREV = "781fbbadb0bccc749058177b1385c82da9ace880"
SRC_URI = "git://github.com/glfw/glfw.git"
-SRCREV = "d25248343e248337284dfbe5ecd1eddbd37ae66d"
-EXTRA_OECMAKE += "-DBUILD_SHARED_LIBS=ON"
+S = "${WORKDIR}/git"
+
+EXTRA_OECMAKE += "-DBUILD_SHARED_LIBS=ON -DGLFW_BUILD_DOCS=OFF"
+
+CFLAGS += "-fPIC"
DEPENDS = "libpng libglu zlib libxrandr libxinerama libxi libxcursor"
REQUIRED_DISTRO_FEATURES = "x11 opengl"
--
2.24.1
More information about the Openembedded-devel
mailing list