File wireshark-mingw-no-qt-windeployqt.patch of Package mingw64-wireshark

diff --git a/CMakeLists.txt b/CMakeLists.txt
index 95e3015..09fb69b 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -2997,36 +2997,36 @@ if(BUILD_wireshark AND QT_FOUND)
 		BUNDLE DESTINATION ${CMAKE_INSTALL_BINDIR}
 	)
 
-	if(QT_WINDEPLOYQT_EXECUTABLE)
-		add_custom_target(copy_qt_dlls ALL)
-		set_target_properties(copy_qt_dlls PROPERTIES FOLDER "Copy Tasks")
-		# Will we ever need to use --debug? Windeployqt seems to
-		# be smart enough to copy debug DLLs when needed.
-		if (USE_MSYSTEM AND Qt${qtver}Widgets_VERSION VERSION_EQUAL 6.5.0)
-			# windeployqt released with Qt 6.5.0 is broken.
-			# https://bugreports.qt.io/browse/QTBUG-112204
-			message(WARNING "Qt Deploy Tool 6.5.0 is broken, please upgrade to a later version.")
-			# lconvert will fail
-		endif()
-		add_custom_command(TARGET copy_qt_dlls
-			POST_BUILD
-			COMMAND set "PATH=${QT_BIN_PATH};%PATH%"
-			COMMAND "${QT_WINDEPLOYQT_EXECUTABLE}"
-				${QT_WINDEPLOYQT_EXTRA_ARGS}
-				--no-compiler-runtime
-				--verbose 0
-				$<$<BOOL:${MSVC}>:--pdb>
-				"$<TARGET_FILE:wireshark>"
-		)
-		add_dependencies(copy_qt_dlls wireshark)
+	#if(QT_WINDEPLOYQT_EXECUTABLE)
+	#	add_custom_target(copy_qt_dlls ALL)
+	#	set_target_properties(copy_qt_dlls PROPERTIES FOLDER "Copy Tasks")
+	#	# Will we ever need to use --debug? Windeployqt seems to
+	#	# be smart enough to copy debug DLLs when needed.
+	#	if (USE_MSYSTEM AND Qt${qtver}Widgets_VERSION VERSION_EQUAL 6.5.0)
+	#		# windeployqt released with Qt 6.5.0 is broken.
+	#		# https://bugreports.qt.io/browse/QTBUG-112204
+	#		message(WARNING "Qt Deploy Tool 6.5.0 is broken, please upgrade to a later version.")
+	#		# lconvert will fail
+	#	endif()
+	#	add_custom_command(TARGET copy_qt_dlls
+	#		POST_BUILD
+	#		COMMAND set "PATH=${QT_BIN_PATH};%PATH%"
+	#		COMMAND "${QT_WINDEPLOYQT_EXECUTABLE}"
+	#			${QT_WINDEPLOYQT_EXTRA_ARGS}
+	#			--no-compiler-runtime
+	#			--verbose 0
+	#			$<$<BOOL:${MSVC}>:--pdb>
+	#			"$<TARGET_FILE:wireshark>"
+	#	)
+	#	add_dependencies(copy_qt_dlls wireshark)
 
-		install(CODE "execute_process(COMMAND
-			\"${QT_WINDEPLOYQT_EXECUTABLE}\"
-			--no-compiler-runtime
-			\"\${CMAKE_INSTALL_PREFIX}/${CMAKE_INSTALL_BINDIR}/Wireshark.exe\")"
-		)
+	#	install(CODE "execute_process(COMMAND
+	#		\"${QT_WINDEPLOYQT_EXECUTABLE}\"
+	#		--no-compiler-runtime
+	#		\"\${CMAKE_INSTALL_PREFIX}/${CMAKE_INSTALL_BINDIR}/Wireshark.exe\")"
+	#	)
 
-	endif(QT_WINDEPLOYQT_EXECUTABLE)
+	#endif(QT_WINDEPLOYQT_EXECUTABLE)
 endif()
 
 if(BUILD_stratoshark AND QT_FOUND)
openSUSE Build Service is sponsored by