File noneeded-deps-and-flags.patch of Package KnobKraft-orm
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 8cc1119..5644a25 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -119,11 +119,6 @@ ELSEIF(UNIX)
# Include useful scripts for CMake
find_package(PkgConfig REQUIRED)
find_package(OpenGL)
-
- # These calls create special `PkgConfig::<MODULE>` variables
- pkg_check_modules(GTK REQUIRED IMPORTED_TARGET gtk+-3.0)
- pkg_check_modules(GLEW REQUIRED IMPORTED_TARGET glew)
- pkg_check_modules(WEBKIT REQUIRED IMPORTED_TARGET webkit2gtk-4.0)
find_package(ICU REQUIRED data uc)
ENDIF()
@@ -148,15 +143,11 @@ add_subdirectory("third_party/pybind11")
# Define the list of link libraries required on Linux linking with JUCE, this must be used by any executable / module to run standalone
if(UNIX AND NOT APPLE)
set(LINUX_JUCE_LINK_LIBRARIES
- PkgConfig::WEBKIT
- PkgConfig::GTK
- PkgConfig::GLEW
Xext
X11
pthread
${CMAKE_DL_LIBS}
freetype
- curl
asound)
# Also, as we will be building a shared module for Python, make sure GCC generates relocatable code suited for inclusion in a shared library
@@ -205,6 +196,8 @@ target_compile_definitions(juce-static
JUCE_COREGRAPHICS_DRAW_ASYNC=1
JUCE_WIN_PER_MONITOR_DPI_AWARE=1
JUCE_USE_FLAC=1
+ JUCE_WEB_BROWSER=0
+ JUCE_USE_CURL=0
# JUCE_USE_WINRT_MIDI=1 # So much doesn't work when activating this that this is really scary
INTERFACE
$<TARGET_PROPERTY:juce-static,COMPILE_DEFINITIONS>)
diff --git a/The-Orm/CMakeLists.txt b/The-Orm/CMakeLists.txt
index c07a0d5..2b2eed9 100644
--- a/The-Orm/CMakeLists.txt
+++ b/The-Orm/CMakeLists.txt
@@ -200,7 +200,6 @@ ELSEIF(UNIX)
gin
spdlog::spdlog
)
- target_compile_options(KnobKraftOrm PRIVATE -pthread -I/usr/include/webkitgtk-4.0 -I/usr/include/gtk-3.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -I/usr/include/gtk-3.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/libsoup-2.4 -I/usr/include/libxml2 -I/usr/include/webkitgtk-4.0 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include)
ENDIF()
# Use all cores
Submodule pytschirp contains modified content
diff --git a/pytschirp/CMakeLists.txt b/pytschirp/CMakeLists.txt
index a29ab73..8d6ac6c 100644
--- a/pytschirp/CMakeLists.txt
+++ b/pytschirp/CMakeLists.txt
@@ -11,15 +11,15 @@ project(PyTschirp)
IF (NOT DEFINED JUCE_LINUX_LINK_LIBRARIES)
# They normally should be set by the top level module
set(LINUX_JUCE_LINK_LIBRARIES
- PkgConfig::WEBKIT
- PkgConfig::GTK
- PkgConfig::GLEW
+# PkgConfig::WEBKIT
+# PkgConfig::GTK
+# PkgConfig::GLEW
Xext
X11
pthread
${CMAKE_DL_LIBS}
freetype
- curl
+# curl
asound)
ENDIF()