libvncserver: Make PACKAGECONFIG easier to read by making the list multiline
PATCH 1/2 libvncserver: Make PACKAGECONFIG easier to read by making the list multiline
Signed-off-by Maxime Roussin-Bélanger <[email protected]>
--- .../recipes-graphics/libvncserver/libvncserver_git.bb | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-)
meta-oe/recipes-graphics/libvncserver/libvncserver_git.bb +9 -1
@@ -5,7 +5,15 @@ PRIORITY = "optional" LICENSE = "GPLv2" LIC_FILES_CHKSUM = "file://COPYING;md5=361b6b837cad26c6900a926b62aada5f" -PACKAGECONFIG ??= "gcrypt gnutls jpeg png ${@bb.utils.contains('DISTRO_FEATURES','systemd','systemd','',d)} sdl zlib" +PACKAGECONFIG ??= " \ + gcrypt \ + gnutls \ + jpeg \ + png \ + ${@bb.utils.contains('DISTRO_FEATURES','systemd','systemd','',d)} \ + sdl \ + zlib \ +" PACKAGECONFIG[gcrypt] = ",,libgcrypt,libgcrypt" PACKAGECONFIG[gnutls] = ",,gnutls" PACKAGECONFIG[jpeg] = ",-DWITH_JPEG=OFF,jpeg"
Signature · 1 line
2.20.1
PATCH 2/2 libvncserver: fix configure argument on openssl when disabled
When openssl is not included in the PACKAGECONFIG it shouldn't try to compile with openssl.
libvncserver CMakeLists.txt activates all of its options and tries to find libssl.so. CMake finds it inside the native sysroot which could be the wrong architecture when linking.
Signed-off-by Maxime Roussin-Bélanger <[email protected]>
--- meta-oe/recipes-graphics/libvncserver/libvncserver_git.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
meta-oe/recipes-graphics/libvncserver/libvncserver_git.bb +1 -1
@@ -17,7 +17,7 @@ PACKAGECONFIG ??= " \ PACKAGECONFIG[gcrypt] = ",,libgcrypt,libgcrypt" PACKAGECONFIG[gnutls] = ",,gnutls" PACKAGECONFIG[jpeg] = ",-DWITH_JPEG=OFF,jpeg" -PACKAGECONFIG[openssl] = ",,openssl" +PACKAGECONFIG[openssl] = ",-DWITH_OPENSSL=OFF,openssl" PACKAGECONFIG[png] = ",-DWITH_PNG=OFF,libpng,libpng" PACKAGECONFIG[systemd] = ",,systemd" PACKAGECONFIG[sdl] = ",,libsdl2"
Signature · 1 line
2.20.1