diff options
-rw-r--r-- | x11-libs/qtermwidget/files/qtermwidget-9999-nofetch.patch | 41 | ||||
-rw-r--r-- | x11-libs/qtermwidget/qtermwidget-9999.ebuild | 4 |
2 files changed, 44 insertions, 1 deletions
diff --git a/x11-libs/qtermwidget/files/qtermwidget-9999-nofetch.patch b/x11-libs/qtermwidget/files/qtermwidget-9999-nofetch.patch new file mode 100644 index 000000000000..a4827d6dbb8b --- /dev/null +++ b/x11-libs/qtermwidget/files/qtermwidget-9999-nofetch.patch @@ -0,0 +1,41 @@ +Do not fetch translations using git at build time. + +--- a/CMakeLists.txt ++++ b/CMakeLists.txt +@@ -29,9 +29,7 @@ + set(CMAKE_INCLUDE_CURRENT_DIR ON) + + find_package(Qt5Widgets "${REQUIRED_QT_VERSION}" REQUIRED) +-find_package(Qt5LinguistTools "${REQUIRED_QT_VERSION}" REQUIRED) + find_package(lxqt-build-tools ${LXQTBT_MINIMUM_VERSION} REQUIRED) +-include(LXQtTranslateTs) + include(LXQtCompilerSettings NO_POLICY_SCOPE) + include(LXQtCreatePkgConfigFile) + +@@ -117,26 +115,6 @@ + qt5_wrap_ui(UI_SRCS ${UI}) + set(PKG_CONFIG_REQ "Qt5Widgets") + +-lxqt_translate_ts(QTERMWIDGET_QM +- TRANSLATION_DIR "lib/translations" +- UPDATE_TRANSLATIONS +- ${UPDATE_TRANSLATIONS} +- SOURCES +- ${SRCS} ${HDRS} ${UI} +- PULL_TRANSLATIONS +- ${PULL_TRANSLATIONS} +- CLEAN_TRANSLATIONS +- ${CLEAN_TRANSLATIONS} +- TRANSLATIONS_REPO +- ${TRANSLATIONS_REPO} +- TRANSLATIONS_REFSPEC +- ${TRANSLATIONS_REFSPEC} +- INSTALL_DIR +- ${TRANSLATIONS_DIR} +- COMPONENT +- Runtime +-) +- + add_library(${QTERMWIDGET_LIBRARY_NAME} SHARED ${SRCS} ${MOCS} ${UI_SRCS} ${QTERMWIDGET_QM}) + target_link_libraries(${QTERMWIDGET_LIBRARY_NAME} Qt5::Widgets) + set_target_properties( ${QTERMWIDGET_LIBRARY_NAME} PROPERTIES diff --git a/x11-libs/qtermwidget/qtermwidget-9999.ebuild b/x11-libs/qtermwidget/qtermwidget-9999.ebuild index ffb964aba90c..31f01f3f178c 100644 --- a/x11-libs/qtermwidget/qtermwidget-9999.ebuild +++ b/x11-libs/qtermwidget/qtermwidget-9999.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2016 Gentoo Foundation +# Copyright 1999-2017 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 EAPI=6 @@ -19,3 +19,5 @@ DEPEND=" dev-qt/qtwidgets:5 " RDEPEND="${DEPEND}" + +PATCHES=( "${FILESDIR}/${P}-nofetch.patch" ) |