summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'x11-terms/qterminal/files/qterminal-9999-nofetch.patch')
-rw-r--r--x11-terms/qterminal/files/qterminal-9999-nofetch.patch36
1 files changed, 36 insertions, 0 deletions
diff --git a/x11-terms/qterminal/files/qterminal-9999-nofetch.patch b/x11-terms/qterminal/files/qterminal-9999-nofetch.patch
new file mode 100644
index 000000000000..72876c954a0e
--- /dev/null
+++ b/x11-terms/qterminal/files/qterminal-9999-nofetch.patch
@@ -0,0 +1,36 @@
+Do not fetch translations using git at build time.
+
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -24,7 +24,6 @@
+ endif()
+ find_package(QTermWidget5 REQUIRED)
+ find_package(lxqt-build-tools ${LXQTBT_MINIMUM_VERSION} REQUIRED)
+-include(LXQtTranslateTs)
+ include(LXQtCompilerSettings NO_POLICY_SCOPE)
+ message(STATUS "Qt version: ${Qt5Core_VERSION}")
+
+@@ -108,23 +107,6 @@
+ qt5_wrap_ui( QTERM_UI ${QTERM_UI_SRC} )
+ qt5_wrap_cpp( QTERM_MOC ${QTERM_MOC_SRC} )
+ qt5_add_resources( QTERM_RCC ${QTERM_RCC_SRC} )
+-lxqt_translate_ts(QTERM_QM
+- UPDATE_TRANSLATIONS
+- ${UPDATE_TRANSLATIONS}
+- SOURCES
+- ${QTERM_SRC}
+- ${QTERM_UI_SRC}
+- ${QTERM_MOC_SRC}
+- TRANSLATION_DIR "src/translations"
+- PULL_TRANSLATIONS
+- ${PULL_TRANSLATIONS}
+- CLEAN_TRANSLATIONS
+- ${CLEAN_TRANSLATIONS}
+- TRANSLATIONS_REPO
+- ${TRANSLATIONS_REPO}
+- TRANSLATIONS_REFSPEC
+- ${TRANSLATIONS_REFSPEC}
+-)
+
+ include_directories(
+ "${PROJECT_SOURCE_DIR}"