diff options
author | Michael Palimaka <kensington@gentoo.org> | 2017-08-13 12:22:56 +1000 |
---|---|---|
committer | Michael Palimaka <kensington@gentoo.org> | 2017-08-13 12:23:54 +1000 |
commit | 392cab19b1d3f74fd5344ec46fa1a20a0cb44bda (patch) | |
tree | 42c580cb5e93fb8fb69953979ddc2084deec3bea /x11-libs/qtermwidget | |
parent | x11-misc/safeeyes: 1.2.2 (diff) | |
download | gentoo-392cab19b1d3f74fd5344ec46fa1a20a0cb44bda.tar.gz gentoo-392cab19b1d3f74fd5344ec46fa1a20a0cb44bda.tar.bz2 gentoo-392cab19b1d3f74fd5344ec46fa1a20a0cb44bda.zip |
x11-libs/qtermwidget: do not fetch translations using git at build time
Package-Manager: Portage-2.3.6, Repoman-2.3.3
Diffstat (limited to 'x11-libs/qtermwidget')
-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" ) |