diff options
Diffstat (limited to 'dev-qt/linguist-tools')
-rw-r--r-- | dev-qt/linguist-tools/Manifest | 2 | ||||
-rw-r--r-- | dev-qt/linguist-tools/linguist-tools-5.15.1.ebuild | 45 |
2 files changed, 47 insertions, 0 deletions
diff --git a/dev-qt/linguist-tools/Manifest b/dev-qt/linguist-tools/Manifest index 78f88795ad4b..ba5fe8bd3227 100644 --- a/dev-qt/linguist-tools/Manifest +++ b/dev-qt/linguist-tools/Manifest @@ -1,5 +1,7 @@ DIST qttools-everywhere-src-5.14.2.tar.xz 8815020 BLAKE2B 2535541b53cec5cc2dce1ac06ad70b145fce38642d8142f43a800a630aa2f69ad255e8f0a38c44022d14cc5b4373603026cc7c149c2435621f91a66ea0bf223d SHA512 e5b56d38acaa59511f24c817999f901510397d6e8baccc06a8fb8375f09b71dcffda4c57def4eb88d6c2782926d612b382957175a087a0c2224245051c54fe7e DIST qttools-everywhere-src-5.15.0.tar.xz 8850752 BLAKE2B fed030b2e0bdb3bf397b28e33c1afc84c0b22bf3ede5bdf9a0822f44f8cbf6f7564d0d2c04215f79aec722deeac373d2d46cdd3d7e3d9135f9211486feaf12b0 SHA512 ebcebbc828e6a34766f2f5eeb4775d29af7b60b6124549df5256902ed2bd683721084b45a869ba76d29b1b170fe3834291af0833ab17ee8d05407c509f03d3eb +DIST qttools-everywhere-src-5.15.1.tar.xz 8901096 BLAKE2B f8927993dfc6888a1143b6a8ce09f075636600f77891edb64dd5c39bee75e2c752d3da4443c7956297c65c5b7f1103b1c6bb53b607cd054473a96adc1350e2b9 SHA512 8c7851431de8686a01fc5f85de5dcfa61b6878bd65b53ed78a8a23e57de70f2dcc1a72b4eed9a7219cfd443215a32a59a25fb929d343afcfd498517d6bcfb951 EBUILD linguist-tools-5.14.2.ebuild 682 BLAKE2B bfe79eac879018faef52283dfe413f5855d91b0e4f7185eb1fcbdb4a3c855c799b38631ca8a4ebadf0b3278efd1a7b78abe034dc120b8c1fd54b5b3ab5aab7ad SHA512 35891619bc9b7db15599a980b20bebbbb69b8aa12e06668fb945f9fa4cdefbccca0988459c56d967f2ce3e0d010218f9871f426db10bd06094b7db9d7a2b62c3 EBUILD linguist-tools-5.15.0.ebuild 1001 BLAKE2B a8bdb3f3e76441a511839a7b38dd0d9d643b190fe797bbbc2828c3ef828d2e44395df2e60e1068c20bdb0e166e2e91ba98567f6a750945a9dcc8b0695abc1c34 SHA512 7b40c6159e2bd4ee75e088d83db20b369473fcb6518d2c149a81702af04c95667a7ac84b67814f144c082b26d69408dc7ddd22a0263f4a7fb6b75c7e47ae992d +EBUILD linguist-tools-5.15.1.ebuild 1001 BLAKE2B a8bdb3f3e76441a511839a7b38dd0d9d643b190fe797bbbc2828c3ef828d2e44395df2e60e1068c20bdb0e166e2e91ba98567f6a750945a9dcc8b0695abc1c34 SHA512 7b40c6159e2bd4ee75e088d83db20b369473fcb6518d2c149a81702af04c95667a7ac84b67814f144c082b26d69408dc7ddd22a0263f4a7fb6b75c7e47ae992d MISC metadata.xml 552 BLAKE2B 210a285385dd5d1cebfa52a89c84e648873f76f57983b86b19e530540b26a518868322d331df0d13ccd79d231dec4abbd63c3d103c160d2fd38aed675ec4ffc9 SHA512 46972372e47619f16e45cee8623310fc3eb31d7490c9df58664e135d4b7be96140789655d7fcc42e472fb598de07c51b7286e0791f413f9b5271d90c9f89b36f diff --git a/dev-qt/linguist-tools/linguist-tools-5.15.1.ebuild b/dev-qt/linguist-tools/linguist-tools-5.15.1.ebuild new file mode 100644 index 000000000000..1f62623c5d30 --- /dev/null +++ b/dev-qt/linguist-tools/linguist-tools-5.15.1.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +QT5_MODULE="qttools" +inherit qt5-build + +DESCRIPTION="Tools for working with Qt translation data files" + +if [[ ${QT5_BUILD_TYPE} == release ]]; then + KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~sparc ~x86" +fi + +IUSE="qml" + +DEPEND=" + ~dev-qt/qtcore-${PV}:5= + ~dev-qt/qtxml-${PV} + qml? ( ~dev-qt/qtdeclarative-${PV} ) +" +RDEPEND="${DEPEND}" + +QT5_TARGET_SUBDIRS=( + src/linguist +) + +src_prepare() { + sed -i -e '/SUBDIRS += linguist/d' \ + src/linguist/linguist.pro || die + + qt_use_disable_mod qml qmldevtools-private \ + src/linguist/lupdate/lupdate.pro + + qt5-build_src_prepare +} + +src_configure() { + # Most of qttools require files that are only generated when qmake is + # run in the root directory. + # Related bugs: 633776, 676948, and 716514. + mkdir -p "${QT5_BUILD_DIR}" || die + qt5_qmake "${QT_BUILD_DIR}" + cp "${S}"/qttools-config.pri "${QT5_BUILD_DIR}" || die + qt5-build_src_configure +} |