mirror of
https://codeberg.org/flk/meta-wayland.git
synced 2026-04-09 14:22:30 +02:00
ueberzugpp: fix opengl build
This commit is contained in:
@@ -0,0 +1,28 @@
|
|||||||
|
From 12da49047ae80ee075bfaca4069fd056801c1c6a Mon Sep 17 00:00:00 2001
|
||||||
|
From: Markus Volk <f_l_k@t-online.de>
|
||||||
|
Date: Fri, 27 Mar 2026 18:31:00 +0100
|
||||||
|
Subject: [PATCH] CMakeLists.txt: use only egl
|
||||||
|
|
||||||
|
Signed-off-by: Markus Volk <f_l_k@t-online.de>
|
||||||
|
|
||||||
|
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
|
||||||
|
|
||||||
@@ -6,13 +6,15 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=1ebbd3e34237af26da5dc08a4e440464"
|
|||||||
inherit cmake pkgconfig
|
inherit cmake pkgconfig
|
||||||
|
|
||||||
SRC_URI = "git://github.com/jstkdng/ueberzugpp.git;protocol=https;branch=master"
|
SRC_URI = "git://github.com/jstkdng/ueberzugpp.git;protocol=https;branch=master"
|
||||||
|
SRC_URI += "file://0001-CMakeLists.txt-fix-gl-egl.patch"
|
||||||
SRCREV = "c1c76e34bac97403ed3f2f403fcf96b5cfd0b914"
|
SRCREV = "c1c76e34bac97403ed3f2f403fcf96b5cfd0b914"
|
||||||
|
|
||||||
DEPENDS = "openssl cli11 fmt spdlog range-v3 libvips libsixel extra-cmake-modules chafa nlohmann-json"
|
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[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[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[opencv] = "-DENABLE_OPENCV=ON,-DENABLE_OPENCV=OFF,opencv"
|
||||||
PACKAGECONFIG[dbus] = "-DENABLE_DBUS=ON,-DENABLE_DBUS=OFF,dbus"
|
PACKAGECONFIG[dbus] = "-DENABLE_DBUS=ON,-DENABLE_DBUS=OFF,dbus"
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user