commit:     49e3fc2bc181f702c102c98948a66311151eef37
Author:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Thu Jun  9 13:56:15 2022 +0000
Commit:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Thu Jun  9 14:13:06 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=49e3fc2b

dev-qt/linguist-tools: Add 5.15.4 QT5_KDEPATCHSET_REV=1

Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>

 dev-qt/linguist-tools/Manifest                     |  1 +
 .../linguist-tools/linguist-tools-5.15.4-r1.ebuild | 37 ++++++++++++++++++++++
 2 files changed, 38 insertions(+)

diff --git a/dev-qt/linguist-tools/Manifest b/dev-qt/linguist-tools/Manifest
index 6d5271a661d5..b6df78945886 100644
--- a/dev-qt/linguist-tools/Manifest
+++ b/dev-qt/linguist-tools/Manifest
@@ -1,3 +1,4 @@
 DIST qttools-5.15.3-gentoo-kde-1.tar.xz 1472 BLAKE2B 
eb4f5555127b91767a06c126795930a8331b8431e77dc6c689098dd0249dc324bec37f2f7e816505cc41fd9578d62110a41d2d064b3ca509a56600f967c31690
 SHA512 
5572b228cd80df8d49627bba4078943eed3e284de53336608ef7c2db36d6f9fd03be0f6060ccce79c59ab439650125fd59ad7d8ae16a2aeeebe4702f7b7f9354
+DIST qttools-5.15.4-gentoo-kde-1.tar.xz 1320 BLAKE2B 
6e25237a0c36380e55dc48c04bc01a9d1ac0d398f47bde09ef2435d97267a38a5c74af856ef4544727292c3aa0bf10f305529b7ccc24b4565c60119dd5597559
 SHA512 
19ea717ccd5c053037206cdd2dc533f285306c207fcc0daf46fba6e2d6fcde3561043b45da4bc830bb181bad46904b191149b65c5bb76414bd975f1a4706afef
 DIST qttools-everywhere-opensource-src-5.15.3.tar.xz 8896764 BLAKE2B 
65a5d67a5f1c00c244ed91baf24ca10cd2e371963c4f55b3837701d71859b7adc03897db2021040eb08b85eb0f5d353bc8b9d7944aecbeec64397f7e0c20735f
 SHA512 
3c4ffee1d67126e3dd10c1dabae3660b94b97541480814b77bc88c0eaf86d8d43324d582465521fbdbd49dbb4155561f93e91c998dc1ad6553da02a3fcb0da47
 DIST qttools-everywhere-opensource-src-5.15.4.tar.xz 8897256 BLAKE2B 
e7d8055c9b4b52b188f61c73a300275838647d95f9eb0437129482d91584bbc0705ce9360b0a8fee2775a4cfefda53bc5aae70b10ca34d1bdeb09aa19b7d13bb
 SHA512 
26edf546a1ec7195f1ff5a9e40e430fdd0c7ebb7d86e44ed22b093426c23ff25b2c972fa520abd1064369d32609019746c2fe972a3f593c6f7539d339642f06e

diff --git a/dev-qt/linguist-tools/linguist-tools-5.15.4-r1.ebuild 
b/dev-qt/linguist-tools/linguist-tools-5.15.4-r1.ebuild
new file mode 100644
index 000000000000..dbbb3b873604
--- /dev/null
+++ b/dev-qt/linguist-tools/linguist-tools-5.15.4-r1.ebuild
@@ -0,0 +1,37 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+QT5_KDEPATCHSET_REV=1
+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 ~loong ~ppc ~ppc64 ~riscv ~sparc 
~x86"
+fi
+
+IUSE="qml"
+
+DEPEND="
+       =dev-qt/qtcore-${QT5_PV}*:5=
+       =dev-qt/qtxml-${QT5_PV}*
+       qml? ( =dev-qt/qtdeclarative-${QT5_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
+}

Reply via email to