Skip to contentSkip to conversation

glfw: missing feature check.

PATCH New Armin Kuster 1 participant 3 messages Dec 23, 2019

lore
Share & tools
lore
#0 lore raw

PATCH 1/3 glfw: missing feature check.

glfw depends on libglu which wont build if "opengl" is not in DISTRO_FEATURES

---
 meta-oe/recipes-core/glfw/glfw_3.3.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta-oe/recipes-core/glfw/glfw_3.3.bb +1 -1
index da2bae37a5..0ceeba1f19 100644
@@ -17,6 +17,6 @@ SRCREV = "d25248343e248337284dfbe5ecd1eddbd37ae66d"
 EXTRA_OECMAKE += "-DBUILD_SHARED_LIBS=ON"
 
 DEPENDS = "libpng libglu zlib libxrandr libxinerama libxi libxcursor"
-REQUIRED_DISTRO_FEATURES = "x11"
+REQUIRED_DISTRO_FEATURES = "x11 opengl"
 
 COMPATIBLE_HOST_libc-musl = "null"
Signature · 1 line
2.17.1
#1 lore raw

PATCH 2/3 libvncserver: fix build depends issue

only include ffmpeg if correct license is defined

---
 meta-oe/recipes-graphics/libvncserver/libvncserver_0.9.12.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta-oe/recipes-graphics/libvncserver/libvncserver_0.9.12.bb +1 -1
index 74aa7de076..22fc83a64f 100644
@@ -8,7 +8,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=361b6b837cad26c6900a926b62aada5f"
 PACKAGECONFIG ??= " \
     24bpp \
     filetransfer \
-    ffmpeg \
+    ${@bb.utils.contains('LICENSE_FLAGS_WHITELIST','commercial','ffmpeg','',d)} \
     gcrypt \
     gnutls \
     jpeg \
Signature · 1 line
2.17.1
#2 lore raw

PATCH 3/3 surf: Add opengl requirement

In reply to Armin Kuster

webkitgtk depends on opengel so this package wont build unless opengl is set.

---
 meta-oe/recipes-graphics/surf/surf_2.0.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta-oe/recipes-graphics/surf/surf_2.0.bb +1 -1
index 9932d0a1c4..989730186a 100644
@@ -7,7 +7,7 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=b57e7f7720307a02d5a6598b00fe3afa"
 
 DEPENDS = "webkitgtk gtk+3 glib-2.0"
 
-REQUIRED_DISTRO_FEATURES = "x11"
+REQUIRED_DISTRO_FEATURES = "x11 opengl"
 
 SRC_URI = "git://git.suckless.org/surf;branch=surf-webkit2 \
            file://0001-config.mk-Fix-compiler-and-linker.patch \
Signature · 1 line
2.17.1