diff options
author | Andreas Sturmlechner <asturm@gentoo.org> | 2024-05-30 12:18:30 +0200 |
---|---|---|
committer | Andreas Sturmlechner <asturm@gentoo.org> | 2024-05-30 14:34:15 +0200 |
commit | 5c361e2a97650f27504da409145908b23918010e (patch) | |
tree | e7f35f77681f051f9e4169a01888ac25ad23a889 /dev-qt/linguist | |
parent | dev-qt/designer: add 5.15.14 (diff) | |
download | gentoo-5c361e2a97650f27504da409145908b23918010e.tar.gz gentoo-5c361e2a97650f27504da409145908b23918010e.tar.bz2 gentoo-5c361e2a97650f27504da409145908b23918010e.zip |
dev-qt/linguist: add 5.15.14
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Diffstat (limited to 'dev-qt/linguist')
-rw-r--r-- | dev-qt/linguist/Manifest | 2 | ||||
-rw-r--r-- | dev-qt/linguist/linguist-5.15.14.ebuild | 54 |
2 files changed, 56 insertions, 0 deletions
diff --git a/dev-qt/linguist/Manifest b/dev-qt/linguist/Manifest index 2bc7a875934f..7d501309333e 100644 --- a/dev-qt/linguist/Manifest +++ b/dev-qt/linguist/Manifest @@ -1,2 +1,4 @@ DIST qttools-5.15.13-gentoo-kde-1.tar.xz 3948 BLAKE2B 081e5d9fa81809545a15da707c58eb3754672f68084c8514282f7edbea3f469b681c003da9e59053d7f5654883ca06769cf46398461930f6222bb3ed86758522 SHA512 8afc3f763732a40e7e827de339395b4398b84bc2b2c0749f96f3cf6afdc655ba59b94809658f16d975eed63c28fd2b2b4f96b9b50fda251c2a1d085ed3c1cd15 +DIST qttools-5.15.14-gentoo-kde-1.tar.xz 3944 BLAKE2B 2a90ad35a743b36144be44ad15add4aa1a867776b78a97f98e656570bcae1e8ad4f9dc571bd0cb6587b7a70b5075e35222b39b7747fe4d59b6f8295d33dfe9ae SHA512 c7347b6dcc845dd312d035f83fcccfc43778961519d009371b30ae98bf110bd473f3191495302cfb1ae4de4ab0494c5899f1abe2ba6bc686f35d3f9163a245d3 DIST qttools-everywhere-opensource-src-5.15.13.tar.xz 8897928 BLAKE2B cd4743e5cf8f444f8d8d8cd971eedd727ea7e7d8c3d237e61222cece0c0d10cb5090bba4db2f9c6a8dabfb0002eb21d58fe1c9aa916188d29e58f04ddfa24504 SHA512 a73abba58c76a69e2208c4228bf115f2ef6173db8fa00df9302eb4c8f04ff04b64690367c31a680dba3b0b8865ef27343e8d7343f7f81954c39458c443fd3500 +DIST qttools-everywhere-opensource-src-5.15.14.tar.xz 8890236 BLAKE2B 738441eb9d7d860c9007b957724726d6d98aa378006f1761ceb1f4106005f0f287b51b29072fa7069b187b5311e044dbb2aef40a35e98a03544d2902575da195 SHA512 c936ed67a7c5d36fadf55ab8ebb9d22d6697a86b34b1c162f472341de31fa14fc2a3116b50d847d46ba953dab0231eae8131634c4ad0dfd4009b7d7f9ba960ae diff --git a/dev-qt/linguist/linguist-5.15.14.ebuild b/dev-qt/linguist/linguist-5.15.14.ebuild new file mode 100644 index 000000000000..3744b835c443 --- /dev/null +++ b/dev-qt/linguist/linguist-5.15.14.ebuild @@ -0,0 +1,54 @@ +# Copyright 1999-2024 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 +} |