summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2022-11-29 20:25:49 +0100
committerAndreas Sturmlechner <asturm@gentoo.org>2022-11-29 21:50:17 +0100
commitc322ad797f3ba7d24191242419e3fff51025da76 (patch)
treebac4eb42ecb01439953715bb91237cac366d874d /dev-qt/linguist
parentdev-qt/designer: 5.15.7 version bump (diff)
downloadgentoo-c322ad797f3ba7d24191242419e3fff51025da76.tar.gz
gentoo-c322ad797f3ba7d24191242419e3fff51025da76.tar.bz2
gentoo-c322ad797f3ba7d24191242419e3fff51025da76.zip
dev-qt/linguist: 5.15.7 version bump
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Diffstat (limited to 'dev-qt/linguist')
-rw-r--r--dev-qt/linguist/Manifest2
-rw-r--r--dev-qt/linguist/linguist-5.15.7.ebuild54
2 files changed, 56 insertions, 0 deletions
diff --git a/dev-qt/linguist/Manifest b/dev-qt/linguist/Manifest
index 8d769e1b9a5d..a36dc5fbf974 100644
--- a/dev-qt/linguist/Manifest
+++ b/dev-qt/linguist/Manifest
@@ -1 +1,3 @@
+DIST qttools-5.15.7-gentoo-kde-1.tar.xz 1016 BLAKE2B 2269c02954d34a2862585228b2e3a3536a4b6f37b93c170571afa83d5e9c601684d1bf3d961d8be84acf8af074f4fdf929614c03ba262de8056af778bd41ac71 SHA512 0ac735a9e54fa147a495403e710a75aaf3ab4d2cb51a5db783d7b4b401bc2d6f46bb451d3afaa0efef57fe0dbd1aad95ab3262d88eafeb1f533314132cf400e6
DIST qttools-everywhere-opensource-src-5.15.5.tar.xz 8898140 BLAKE2B 49b7b0db9d9ae9c6d405678eab0ec097bc160eb7787bc939aa92816cc63c5c97aef2de0c978a2a3597014878dca9466631131bc7746bd03d87229ed7edb6594c SHA512 ff5e658ec812dd36d00ad3ac7e824de708968ff1c66a73da1470b6f0cdb6853a7084f18b1bcf1614afd4c23f381d817d7eb665f8573a4e981a9b87c6e4d6fa2b
+DIST qttools-everywhere-opensource-src-5.15.7.tar.xz 8900816 BLAKE2B c414cd92eeb7b3cc1b90c1bbb77409ba4e6f33b36cef9376a49068d8698461f211f062d5a7e80321e62ae2dd84f476252658ce3f0239d710945378d8ddfb01d4 SHA512 40176727d8c8430171483fd5815c1f84b8fc4d1a1b26b943c817e9a14cfe2d155c76039593f68f45b7e9276189968f3b37e1b17fd99adda7664582bf30a3935a
diff --git a/dev-qt/linguist/linguist-5.15.7.ebuild b/dev-qt/linguist/linguist-5.15.7.ebuild
new file mode 100644
index 000000000000..e26f321ca163
--- /dev/null
+++ b/dev-qt/linguist/linguist-5.15.7.ebuild
@@ -0,0 +1,54 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+if [[ ${PV} != *9999* ]]; then
+ QT5_KDEPATCHSET_REV=1
+ KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc64 ~x86"
+fi
+
+QT5_MODULE="qttools"
+inherit desktop qt5-build xdg-utils
+
+DESCRIPTION="Graphical tool for translating Qt applications"
+
+IUSE=""
+
+DEPEND="
+ =dev-qt/designer-${QT5_PV}*
+ =dev-qt/qtcore-${QT5_PV}*:5=
+ =dev-qt/qtgui-${QT5_PV}*:5=[png]
+ =dev-qt/qtprintsupport-${QT5_PV}*
+ =dev-qt/qtwidgets-${QT5_PV}*
+ =dev-qt/qtxml-${QT5_PV}*
+"
+RDEPEND="${DEPEND}
+ !dev-qt/${PN}:5
+ !<dev-qt/qtchooser-66-r2
+"
+
+QT5_TARGET_SUBDIRS=(
+ src/linguist/linguist
+)
+
+src_install() {
+ qt5-build_src_install
+ qt5_symlink_binary_to_path linguist
+
+ local size
+ for size in 16 32 48 64 128; do
+ newicon -s ${size} src/linguist/linguist/images/icons/linguist-${size}-32.png linguist.png
+ done
+ make_desktop_entry "${QT5_BINDIR}"/linguist 'Qt 5 Linguist' linguist 'Qt;Development;Translation'
+}
+
+pkg_postinst() {
+ qt5-build_pkg_postinst
+ xdg_icon_cache_update
+}
+
+pkg_postrm() {
+ qt5-build_pkg_postrm
+ xdg_icon_cache_update
+}