mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-11-20 10:17:08 -08:00
media-gfx/prusaslicer: 2.6.0-r1: patch out hard dep on wayland (and X11).
Closes: https://bugs.gentoo.org/910751 Signed-off-by: Piotr Karbowski <slashbeast@gentoo.org>
This commit is contained in:
+14
@@ -0,0 +1,14 @@
|
||||
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
|
||||
index 50eccfc84..d0f9205b3 100644
|
||||
--- a/src/CMakeLists.txt
|
||||
+++ b/src/CMakeLists.txt
|
||||
@@ -115,9 +115,6 @@ if (SLIC3R_GUI)
|
||||
# libslic3r_gui will link to opengl anyway, so lets override wx
|
||||
list(FILTER wxWidgets_LIBRARIES EXCLUDE REGEX OpenGL)
|
||||
|
||||
- if (UNIX AND NOT APPLE)
|
||||
- list(APPEND wxWidgets_LIBRARIES X11 wayland-client wayland-egl EGL)
|
||||
- endif ()
|
||||
# list(REMOVE_ITEM wxWidgets_LIBRARIES oleacc)
|
||||
message(STATUS "wx libs: ${wxWidgets_LIBRARIES}")
|
||||
|
||||
+1
@@ -53,6 +53,7 @@ DEPEND="${RDEPEND}
|
||||
PATCHES=(
|
||||
"${FILESDIR}/${P}-libexpat-double-definition-fix.patch"
|
||||
"${FILESDIR}/${P}-disable-noisy-asserts.patch"
|
||||
"${FILESDIR}/${P}-dont-force-link-to-wayland-and-x11.patch"
|
||||
)
|
||||
|
||||
S="${WORKDIR}/${MY_PN}-version_${MY_PV}"
|
||||
Reference in New Issue
Block a user