File fix-plugin-path.patch of Package deepin-image-viewer

diff -Nur deepin-image-viewer-6.0.1/qimage-plugins/libraw/CMakeLists.txt deepin-image-viewer-6.0.1-new/qimage-plugins/libraw/CMakeLists.txt
--- deepin-image-viewer-6.0.1/qimage-plugins/libraw/CMakeLists.txt	2023-05-02 21:20:40.761760654 +0800
+++ deepin-image-viewer-6.0.1-new/qimage-plugins/libraw/CMakeLists.txt	2023-05-02 21:28:24.877332800 +0800
@@ -44,7 +44,7 @@
 
 target_link_libraries(${CMD_NAME} Qt5::Core Qt5::Gui raw)
 
-install(TARGETS ${CMD_NAME} DESTINATION ${CMAKE_INSTALL_PREFIX}/plugins/imageformats)
+install(TARGETS ${CMD_NAME} DESTINATION ${CMAKE_INSTALL_LIBDIR}/qt5/plugins/imageformats)
 
 
 QT5_USE_MODULES(${PROJECT_NAME} Core Gui)
openSUSE Build Service is sponsored by