diff options
author | Andreas Sturmlechner <asturm@gentoo.org> | 2024-01-01 20:57:43 +0100 |
---|---|---|
committer | Andreas Sturmlechner <asturm@gentoo.org> | 2024-01-01 22:01:18 +0100 |
commit | de0cfbe3a08db51b004e59e6ef846a231691ac12 (patch) | |
tree | 02bbf6fc4ef45f1147165a43f4bcbe867558af24 | |
parent | dev-qt/designer: add 5.15.12 (diff) | |
download | gentoo-de0cfbe3a08db51b004e59e6ef846a231691ac12.tar.gz gentoo-de0cfbe3a08db51b004e59e6ef846a231691ac12.tar.bz2 gentoo-de0cfbe3a08db51b004e59e6ef846a231691ac12.zip |
dev-qt/linguist: add 5.15.12
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
-rw-r--r-- | dev-qt/linguist/Manifest | 2 | ||||
-rw-r--r-- | dev-qt/linguist/linguist-5.15.12.ebuild | 54 |
2 files changed, 56 insertions, 0 deletions
diff --git a/dev-qt/linguist/Manifest b/dev-qt/linguist/Manifest index cf9f6a97ac48..d95dd8310434 100644 --- a/dev-qt/linguist/Manifest +++ b/dev-qt/linguist/Manifest @@ -1,2 +1,4 @@ DIST qttools-5.15.11-gentoo-kde-1.tar.xz 3188 BLAKE2B 0ec418efb257f9d32e1a245bbdf9321e2070bae0e0b1d1306cde2a748cce1a0cc73a5631631c50b202320d8357fa132d645abbb7da42d38b5d212033aa74a5cd SHA512 eb03030070c3ef87b9a29f7a77f918514e4565f506fc5f39030ffb54aeec3b7fd87fae720595158527288cd152e0d179714159e03819f1cc4efa82650a7054fe +DIST qttools-5.15.12-gentoo-kde-1.tar.xz 3940 BLAKE2B 63dd5fb92d6ac9aeb2aa4015033067a6cee9b2f662fed54d7d699210ceb29bf15d11f6fbb2ace2eecb1a43a1b310a6f853f056fa03adb50722de49783b906556 SHA512 d0b0f614e244728789e8fee5390efd7380980c396b1b674f10ec488565921b5662e3d65b542c077093ba4a9a5ef49aee085a8cb258040527ac800c7878e0e484 DIST qttools-everywhere-opensource-src-5.15.11.tar.xz 8898428 BLAKE2B 88e3e313f2377819345c67cd9e6ff90ca96961662e0e24640a04eda37f46fb444f958c69fb3a5e279da679cd6a25f8b232038d13eb9023cfad79fbd9ea53ae56 SHA512 7aa66964dfc4bd144ee828a5c278b3127c5b269c6fb0e5363e7d2377ba19165e04719636659cb30fee471de26740d3d8692068459e1764d9f84a7737f24c4884 +DIST qttools-everywhere-opensource-src-5.15.12.tar.xz 8900672 BLAKE2B 897e05d8de54b50b47262d1b2606d78d2591bda1d7d4bf9e5d3be084a9a8156da3b8ec7e3b95b44e58e9a94562068b24129844ab1330426ec9b1a00d1409cd92 SHA512 d830129777c481e1a66e32911af82a09e2858b678fdd2b802433fc1009856d9f0b8ea39b6ed1d7e93b6e9db1dda848c3a4077f6d804400f1427f33a3c7ccb40e diff --git a/dev-qt/linguist/linguist-5.15.12.ebuild b/dev-qt/linguist/linguist-5.15.12.ebuild new file mode 100644 index 000000000000..3744b835c443 --- /dev/null +++ b/dev-qt/linguist/linguist-5.15.12.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 +} |