File no-unneeded-deps_and-fix-rpath.patch of Package JammerNetz

diff --git a/CMakeLists.txt b/CMakeLists.txt
index cc8ed38..566cab2 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -8,7 +8,7 @@ cmake_minimum_required(VERSION 3.14)
 
 # Target a specific macOS version to allow older hardware to run the client
 set(CMAKE_OSX_DEPLOYMENT_TARGET "10.11" CACHE STRING "Minimum OS X version to target for deployment")
-
+set(CMAKE_SKIP_BUILD_RPATH ON)
 
 project(JammerNetz)
 
@@ -75,13 +75,6 @@ elseif(UNIX)
 	# Include useful scripts for CMake
 	find_package(PkgConfig REQUIRED)
 	find_package(OpenGL)
-
-	# These calls create special `PkgConfig::<MODULE>` variables
-	if(BUILD_JAMMERNETZ_CLIENT)
-		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.1)
-	endif()
 endif()
 
 
@@ -115,17 +108,9 @@ mark_as_advanced(
 
 # 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)
-	if(BUILD_JAMMERNETZ_CLIENT)
-		set(LINUX_UI_LIBRARIES
-		PkgConfig::WEBKIT
-		PkgConfig::GTK
-		PkgConfig::GLEW
-		)
-	endif()
 	set(LINUX_JUCE_LINK_LIBRARIES
 		Xext
 		X11
-		${LINUX_UI_LIBRARIES}
 		pthread
 		${CMAKE_DL_LIBS}
 		freetype
@@ -166,6 +151,7 @@ target_link_libraries(juce-static
 
 target_compile_definitions(juce-static
 	PUBLIC
+		JUCE_WEB_BROWSER=0
 		JUCE_PLUGINHOST_VST=0
 		JUCE_PLUGINHOST_AU=0
 		DONT_SET_USING_JUCE_NAMESPACE=1
diff --git a/Client/CMakeLists.txt b/Client/CMakeLists.txt
index a26ab50..d79a70f 100644
--- a/Client/CMakeLists.txt
+++ b/Client/CMakeLists.txt
@@ -138,9 +138,6 @@ ELSE()
 	target_link_libraries(JammerNetzClient
 		${JUCE_LIBRARIES}
 		${DS_LIBRARIES}
-		PkgConfig::WEBKIT
-		PkgConfig::GTK
-		PkgConfig::GLEW
 		Xext
 		X11
 		pthread
openSUSE Build Service is sponsored by