From aeb61e1abdbb629279cb188180567a3fb957d9e5 Mon Sep 17 00:00:00 2001 From: Andreas Sturmlechner Date: Tue, 26 May 2020 11:18:34 +0200 Subject: dev-qt: Add Qt 5.15.0 release Package-Manager: Portage-2.3.100, Repoman-2.3.22 Signed-off-by: Andreas Sturmlechner --- dev-qt/linguist-tools/Manifest | 1 + dev-qt/linguist-tools/linguist-tools-5.15.0.ebuild | 45 ++++++++++++++++++++++ 2 files changed, 46 insertions(+) create mode 100644 dev-qt/linguist-tools/linguist-tools-5.15.0.ebuild (limited to 'dev-qt/linguist-tools') diff --git a/dev-qt/linguist-tools/Manifest b/dev-qt/linguist-tools/Manifest index 57f7915196f5..daea0cdeb149 100644 --- a/dev-qt/linguist-tools/Manifest +++ b/dev-qt/linguist-tools/Manifest @@ -1,2 +1,3 @@ DIST qttools-everywhere-src-5.14.1.tar.xz 8810972 BLAKE2B 324246728e814eeb5d297fe72cfdc8af584c555f4676f8f6325c9f2353140dc04c98b3f1e1d39ffacecd43527e13df1ce1b1608377794eb8247d3f2549d6697b SHA512 59874ed00f7f9749f0dda49d6e1ad064d1594c6b0bde577961c5d45628763d2a2031aa7ebed952f1cebc8a241eb6a0e4a4f8e36c0a93ffe738a0ff360b8d3f30 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 diff --git a/dev-qt/linguist-tools/linguist-tools-5.15.0.ebuild b/dev-qt/linguist-tools/linguist-tools-5.15.0.ebuild new file mode 100644 index 000000000000..1f62623c5d30 --- /dev/null +++ b/dev-qt/linguist-tools/linguist-tools-5.15.0.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 +} -- cgit v1.2.3-65-gdbad