orca-slicer: remove dependency on libsoup2
This commit is contained in:
@@ -35,7 +35,7 @@
|
||||
pcre,
|
||||
systemd,
|
||||
tbb_2021,
|
||||
webkitgtk_4_0,
|
||||
webkitgtk_4_1,
|
||||
wxGTK31,
|
||||
xorg,
|
||||
libnoise,
|
||||
@@ -112,7 +112,7 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
openvdb
|
||||
pcre
|
||||
tbb_2021
|
||||
webkitgtk_4_0
|
||||
webkitgtk_4_1
|
||||
wxGTK'
|
||||
xorg.libX11
|
||||
opencv.cxxdev
|
||||
|
||||
+3
-4
@@ -20,15 +20,14 @@ index 9c5cb96..e92a0e3 100644
|
||||
@@ -175,6 +175,11 @@ if (WIN32)
|
||||
target_link_libraries(BambuStudio_app_gui PRIVATE boost_headeronly)
|
||||
endif ()
|
||||
|
||||
|
||||
+# We link against webkit2gtk symbols in src/slic3r/GUI/Widgets/WebView.cpp
|
||||
+if (CMAKE_SYSTEM_NAME STREQUAL "Linux")
|
||||
+ target_link_libraries(libslic3r_gui "-lwebkit2gtk-4.0")
|
||||
+ target_link_libraries(libslic3r_gui "-lwebkit2gtk-4.1")
|
||||
+endif ()
|
||||
+
|
||||
# Link the resources dir to where Slic3r GUI expects it
|
||||
set(output_dlls_Release "")
|
||||
set(output_dlls_Debug "")
|
||||
--
|
||||
--
|
||||
2.38.1
|
||||
|
||||
|
||||
Reference in New Issue
Block a user