summaryrefslogtreecommitdiff
path: root/dev-qt/linguist
diff options
context:
space:
mode:
Diffstat (limited to 'dev-qt/linguist')
-rw-r--r--dev-qt/linguist/Manifest3
-rw-r--r--dev-qt/linguist/linguist-5.15.7.ebuild54
2 files changed, 57 insertions, 0 deletions
diff --git a/dev-qt/linguist/Manifest b/dev-qt/linguist/Manifest
index 97a8cedaaf34..4cb1ca6d31fa 100644
--- a/dev-qt/linguist/Manifest
+++ b/dev-qt/linguist/Manifest
@@ -1,3 +1,6 @@
+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
EBUILD linguist-5.15.5.ebuild 1094 BLAKE2B dcce645d99b9c310e9a03831d22b5a32378ea2432f578c147ee54599fe16eb4c592b948fe78c49369c3bb81aa3e9cebece81c65059fdbe7fd376afc72e5503fe SHA512 4418ca32210f91110ef58affc888387be26afcff0d2b7bf77d5eac360ec4e7f1b217cded53f5a0ae1905183814ccde52f3aac59e5d15cea23f1c800941e2e289
+EBUILD linguist-5.15.7.ebuild 1108 BLAKE2B 832b3cc0f72c3b4c02471da112cb64f758d805a0f107f8e5b7d02c2d6fa4635270d7299661b47fa1133c9701935d59ee13116b29c4a8af0596d1b6e41aa84134 SHA512 0beb1e2cbd3973bab852b097b9799a1a04bb1fec5018e670a5e6ee0083a296bda043dc5dd7060cbb06fb6f159dbe35a5e6177a3740053534de26da6eff7c19d7
MISC metadata.xml 482 BLAKE2B 651a49dc4a07f5e5a9c21990868e666d98acdea7d7b0b2c0e4c98eafc3da72c803d380e4abda30f33250f7bbd7654df713833ccdddcb975cbad6f92e488f643b SHA512 192c670abd7da29645513bf1d9297d942efdc49f5cf170861e7689fda47f51daa47f10c7c81c3b045366e0259179c6839ff7747197c9d792e8d0fd1a5818973e
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
+}