media-video/avidemux: fix linking w/ clang

-lX11 is missing while compiling w/ clang

Signed-off-by: Nicolas PARLANT <nicolas.parlant@parhuet.fr>
Part-of: https://github.com/gentoo/gentoo/pull/44589
Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
Nicolas PARLANT 2025-11-11 09:03:01 +01:00 committed by Sam James
parent 33ac2dffc6
commit d79fc3717b
No known key found for this signature in database
GPG Key ID: 738409F520DF9190

View File

@ -1,5 +1,4 @@
avoid deps for both X11 and Wayland
X11 linker is no longer forced (Qt makes the job if needed)
--- a/avidemux/qt4/ADM_qt/src/ADM_qtx.cpp
+++ b/avidemux/qt4/ADM_qt/src/ADM_qtx.cpp
@@ -24,21 +24,29 @@ QT_LINUX_WINDOW_ENGINE admDetectQtEngine()
@ -59,13 +58,3 @@ X11 linker is no longer forced (Qt makes the job if needed)
default:
ADM_warning("Cannot get qt engine infos\n");
myDisplay = NULL;
--- a/avidemux/qt4/cmake/adm_default.cmake
+++ b/avidemux/qt4/cmake/adm_default.cmake
@@ -3,7 +3,6 @@
#
MACRO(ADM_PREBUILD)
LIST(APPEND PlatformLibs "-lm -lstdc++")
- LIST(APPEND PlatformLibs "X11") # Linux, BSD
ENDMACRO(ADM_PREBUILD)
#
#