From 5f76240e8810e681e822e51ea40c8332b5e6d978 Mon Sep 17 00:00:00 2001 From: Samuli Piippo Date: Wed, 13 Dec 2023 08:43:27 +0000 Subject: [PATCH] jasper: enable opengl only wih x11 The opengl PACKAGECONFIG depends on freeglut, but after commit f721876add48dccfd228cc09ef261909afeb2d25 that's only available with x11. Enable it only when both openg and x11 are available. Signed-off-by: Samuli Piippo Signed-off-by: Khem Raj --- meta-oe/recipes-graphics/jasper/jasper_4.1.1.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta-oe/recipes-graphics/jasper/jasper_4.1.1.bb b/meta-oe/recipes-graphics/jasper/jasper_4.1.1.bb index 9052855d1f..14f50d0b29 100644 --- a/meta-oe/recipes-graphics/jasper/jasper_4.1.1.bb +++ b/meta-oe/recipes-graphics/jasper/jasper_4.1.1.bb @@ -18,7 +18,7 @@ do_configure:prepend() { EXTRA_OECMAKE:append = " -DJAS_STDC_VERSION=${JAS_STDC_VERSION}" -PACKAGECONFIG ??= "${@bb.utils.contains('DISTRO_FEATURES', 'opengl', 'opengl', '', d)} \ +PACKAGECONFIG ??= "${@bb.utils.contains('DISTRO_FEATURES', 'opengl x11', 'opengl', '', d)} \ jpeg" PACKAGECONFIG[jpeg] = "-DJAS_ENABLE_LIBJPEG=ON,-DJAS_ENABLE_LIBJPEG=OFF,jpeg,"