File fix-lrelease-path.patch of Package deepin-terminal

diff -Nur deepin-terminal-6.5.6/cmake/translation-generate.cmake deepin-terminal-6.5.6-new/cmake/translation-generate.cmake
--- deepin-terminal-6.5.6/cmake/translation-generate.cmake	2025-04-17 13:19:29.000000000 +0800
+++ deepin-terminal-6.5.6-new/cmake/translation-generate.cmake	2025-05-23 21:51:51.121035204 +0800
@@ -1,6 +1,11 @@
 function(TRANSLATION_GENERATE QMS)
   find_package(Qt${QT_VERSION_MAJOR}LinguistTools QUIET)
 
+  find_program(Qt${QT_VERSION_MAJOR}_LRELEASE_EXECUTABLE NAMES lrelease HINTS
+    "/usr/lib/qt${QT_VERSION_MAJOR}/bin"
+    "/usr/lib64/qt${QT_VERSION_MAJOR}/bin"
+  )
+
   if (NOT Qt${QT_VERSION_MAJOR}_LRELEASE_EXECUTABLE)
     set(QT_LRELEASE "/lib/qt${QT_VERSION_MAJOR}/bin/lrelease")
     message(STATUS "NOT found lrelease, set QT_LRELEASE = ${QT_LRELEASE}")
二进制文件 deepin-terminal-6.5.6/cmake/.translation-generate.cmake.swp 和 deepin-terminal-6.5.6-new/cmake/.translation-generate.cmake.swp 不同
openSUSE Build Service is sponsored by