summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2023-10-08 16:57:28 +0200
committerAndreas Sturmlechner <asturm@gentoo.org>2023-10-08 17:47:20 +0200
commita241d0e50437eb999c87175d4bf594e2f5e1b2d7 (patch)
treefdc4b53d933fd44204b7d5899e5268f50df4b2b2 /dev-qt/linguist
parentdev-qt/designer: add 5.15.11 (diff)
downloadgentoo-a241d0e50437eb999c87175d4bf594e2f5e1b2d7.tar.gz
gentoo-a241d0e50437eb999c87175d4bf594e2f5e1b2d7.tar.bz2
gentoo-a241d0e50437eb999c87175d4bf594e2f5e1b2d7.zip
dev-qt/linguist: add 5.15.11
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.11.ebuild54
2 files changed, 56 insertions, 0 deletions
diff --git a/dev-qt/linguist/Manifest b/dev-qt/linguist/Manifest
index 2dff6e98bd82..ef483dd51bbd 100644
--- a/dev-qt/linguist/Manifest
+++ b/dev-qt/linguist/Manifest
@@ -1,2 +1,4 @@
DIST qttools-5.15.10-gentoo-kde-1.tar.xz 3188 BLAKE2B bc9b411398dc225f16a654d025ef69318988c80554c732ab0fdf19cedd8429775c6569f99f656fa27494c407eb319e7a4eb42fc201ef0f543380dcbdb2898559 SHA512 b95278acb13db8c2c05f2d1fcf1d07f3939135c6684ee078db1fa9fb88dfe435c5095faf567fb510be018ed6aa04c0c780359116f38ada41bf56151f4dc8fa97
+DIST qttools-5.15.11-gentoo-kde-1.tar.xz 3188 BLAKE2B 0ec418efb257f9d32e1a245bbdf9321e2070bae0e0b1d1306cde2a748cce1a0cc73a5631631c50b202320d8357fa132d645abbb7da42d38b5d212033aa74a5cd SHA512 eb03030070c3ef87b9a29f7a77f918514e4565f506fc5f39030ffb54aeec3b7fd87fae720595158527288cd152e0d179714159e03819f1cc4efa82650a7054fe
DIST qttools-everywhere-opensource-src-5.15.10.tar.xz 8899372 BLAKE2B c49cfc36640f68743f7c21f06ac87221b3e8b92a2fa096c54cf539bc4eb80a99decfb6f0fde53b1c5334612bf5d8641465f350143470429c505b6dc7f597bcf0 SHA512 08d5182309c0f19f14af4e509871bca13b89cdd762bd4b7f98b15120b2e74308e478f826b4236f01abc299520da32b716df9e7bfaa84935fbdc0a74422ade5f1
+DIST qttools-everywhere-opensource-src-5.15.11.tar.xz 8898428 BLAKE2B 88e3e313f2377819345c67cd9e6ff90ca96961662e0e24640a04eda37f46fb444f958c69fb3a5e279da679cd6a25f8b232038d13eb9023cfad79fbd9ea53ae56 SHA512 7aa66964dfc4bd144ee828a5c278b3127c5b269c6fb0e5363e7d2377ba19165e04719636659cb30fee471de26740d3d8692068459e1764d9f84a7737f24c4884
diff --git a/dev-qt/linguist/linguist-5.15.11.ebuild b/dev-qt/linguist/linguist-5.15.11.ebuild
new file mode 100644
index 000000000000..0f41358c9ef3
--- /dev/null
+++ b/dev-qt/linguist/linguist-5.15.11.ebuild
@@ -0,0 +1,54 @@
+# Copyright 1999-2023 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
+}