diff options
author | Michael Palimaka <kensington@gentoo.org> | 2017-08-13 12:31:40 +1000 |
---|---|---|
committer | Michael Palimaka <kensington@gentoo.org> | 2017-08-13 12:33:10 +1000 |
commit | f3fa8f8e180abcbf1ff1dfa76d1bb678eb68cbc7 (patch) | |
tree | 9a104d2ee0a4b121a5338bd9e06766c74ec03fab /x11-terms/qterminal | |
parent | x11-libs/qtermwidget: dev-util/lxqt-build-tools is only used at build time (diff) | |
download | gentoo-f3fa8f8e180abcbf1ff1dfa76d1bb678eb68cbc7.tar.gz gentoo-f3fa8f8e180abcbf1ff1dfa76d1bb678eb68cbc7.tar.bz2 gentoo-f3fa8f8e180abcbf1ff1dfa76d1bb678eb68cbc7.zip |
x11-terms/qterminal: do not fetch translations using git at build time
Package-Manager: Portage-2.3.6, Repoman-2.3.3
Diffstat (limited to 'x11-terms/qterminal')
-rw-r--r-- | x11-terms/qterminal/files/qterminal-9999-nofetch.patch | 36 | ||||
-rw-r--r-- | x11-terms/qterminal/qterminal-9999.ebuild | 2 |
2 files changed, 37 insertions, 1 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}" diff --git a/x11-terms/qterminal/qterminal-9999.ebuild b/x11-terms/qterminal/qterminal-9999.ebuild index 4934086edc66..40a410f38c7e 100644 --- a/x11-terms/qterminal/qterminal-9999.ebuild +++ b/x11-terms/qterminal/qterminal-9999.ebuild @@ -23,7 +23,7 @@ RDEPEND=" " DEPEND="${RDEPEND}" -PATCHES=( "${FILESDIR}/${PN}-0.7.1-no-liblxqt.patch" ) +PATCHES=( "${FILESDIR}/${P}-nofetch.patch" ) pkg_preinst() { gnome2_icon_savelist |