diff --git a/recipes-extended/ueberzugpp/ueberzugpp/0001-CMakeLists.txt-fix-gl-egl.patch b/recipes-extended/ueberzugpp/ueberzugpp/0001-CMakeLists.txt-fix-gl-egl.patch new file mode 100644 index 0000000..240532d --- /dev/null +++ b/recipes-extended/ueberzugpp/ueberzugpp/0001-CMakeLists.txt-fix-gl-egl.patch @@ -0,0 +1,28 @@ +From 12da49047ae80ee075bfaca4069fd056801c1c6a Mon Sep 17 00:00:00 2001 +From: Markus Volk +Date: Fri, 27 Mar 2026 18:31:00 +0100 +Subject: [PATCH] CMakeLists.txt: use only egl + +Signed-off-by: Markus Volk + +Upstream-Status: Inappropriate [oe-specific] +--- + CMakeLists.txt | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/CMakeLists.txt b/CMakeLists.txt +index 4f0e54e..f9e7f5d 100644 +--- a/CMakeLists.txt ++++ b/CMakeLists.txt +@@ -109,7 +109,7 @@ if(ENABLE_OPENGL) + target_compile_definitions(ueberzug PRIVATE ENABLE_OPENGL) + find_package(OpenGL REQUIRED) + list(APPEND UEBERZUG_SOURCES "src/util/egl.cpp") +- list(APPEND UEBERZUG_LIBRARIES OpenGL::OpenGL OpenGL::EGL) ++ list(APPEND UEBERZUG_LIBRARIES GL EGL) + endif() + + if(ENABLE_X11) +-- +2.53.0 + diff --git a/recipes-extended/ueberzugpp/ueberzugpp_2.9.8.bb b/recipes-extended/ueberzugpp/ueberzugpp_2.9.8.bb index f8f1da1..342ba60 100644 --- a/recipes-extended/ueberzugpp/ueberzugpp_2.9.8.bb +++ b/recipes-extended/ueberzugpp/ueberzugpp_2.9.8.bb @@ -6,13 +6,15 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=1ebbd3e34237af26da5dc08a4e440464" inherit cmake pkgconfig SRC_URI = "git://github.com/jstkdng/ueberzugpp.git;protocol=https;branch=master" +SRC_URI += "file://0001-CMakeLists.txt-fix-gl-egl.patch" SRCREV = "c1c76e34bac97403ed3f2f403fcf96b5cfd0b914" DEPENDS = "openssl cli11 fmt spdlog range-v3 libvips libsixel extra-cmake-modules chafa nlohmann-json" -PACKAGECONFIG ?= "${@bb.utils.filter('DISTRO_FEATURES', 'wayland x11 dbus', d)} opencv" +PACKAGECONFIG ?= "${@bb.utils.filter('DISTRO_FEATURES', 'wayland x11 dbus opengl', d)} opencv" PACKAGECONFIG[x11] = "-DENABLE_X11=ON -DENABLE_XCB_ERRORS=ON,-DENABLE_X11=OFF -DENABLE_XCB_ERRORS=OFF,libx11 libxcb xcb-util-image xcb-util-errors" PACKAGECONFIG[wayland] = "-DENABLE_WAYLAND=ON,-DENABLE_WAYLAND=OFF,wayland wayland-native" +PACKAGECONFIG[opengl] = "-DENABLE_OPENGL=ON,-DENABLE_OPENGL=OFF,virtual/egl virtual/libgl" PACKAGECONFIG[opencv] = "-DENABLE_OPENCV=ON,-DENABLE_OPENCV=OFF,opencv" PACKAGECONFIG[dbus] = "-DENABLE_DBUS=ON,-DENABLE_DBUS=OFF,dbus"