diff options
author | Andreas Sturmlechner <asturm@gentoo.org> | 2020-04-09 22:00:29 +0200 |
---|---|---|
committer | Andreas Sturmlechner <asturm@gentoo.org> | 2020-04-09 23:36:28 +0200 |
commit | 56acf9bac388533631838ff019e20eb41af0bbe0 (patch) | |
tree | c07a708b057f14c3743b759772c8fb0d82704201 /dev-qt/linguist | |
parent | qt5-build.eclass: Drop obsolete in-source build workaround for >=5.14.2 (diff) | |
download | gentoo-56acf9bac388533631838ff019e20eb41af0bbe0.tar.gz gentoo-56acf9bac388533631838ff019e20eb41af0bbe0.tar.bz2 gentoo-56acf9bac388533631838ff019e20eb41af0bbe0.zip |
dev-qt: Add Qt 5.14.2
Closes: https://bugs.gentoo.org/669994
Closes: https://bugs.gentoo.org/710866
Closes: https://bugs.gentoo.org/713722
Closes: https://bugs.gentoo.org/716754
Package-Manager: Portage-2.3.98, Repoman-2.3.22
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Diffstat (limited to 'dev-qt/linguist')
-rw-r--r-- | dev-qt/linguist/Manifest | 1 | ||||
-rw-r--r-- | dev-qt/linguist/linguist-5.14.2.ebuild | 48 |
2 files changed, 49 insertions, 0 deletions
diff --git a/dev-qt/linguist/Manifest b/dev-qt/linguist/Manifest index 66f957dfd85f..b0b6759f9a87 100644 --- a/dev-qt/linguist/Manifest +++ b/dev-qt/linguist/Manifest @@ -1,2 +1,3 @@ DIST qttools-everywhere-src-5.13.2.tar.xz 9110256 BLAKE2B 4651c350d5bb9200dc6c4b362b8d69abd108f63fde74f6b3382317c8b0f4447cd56f6a463617f50c0901155457ddd693dcf2bc75cde9cbb1565e693b36469bec SHA512 46e76d81c1b16160c9ab8da1475cfeed28e7140bc94868d4fc834639cc15ec67199b6169a7c820107cb72982bc2d56ba6987225f3fc773b8464e4023fda74265 DIST qttools-everywhere-src-5.14.1.tar.xz 8810972 BLAKE2B 324246728e814eeb5d297fe72cfdc8af584c555f4676f8f6325c9f2353140dc04c98b3f1e1d39ffacecd43527e13df1ce1b1608377794eb8247d3f2549d6697b SHA512 59874ed00f7f9749f0dda49d6e1ad064d1594c6b0bde577961c5d45628763d2a2031aa7ebed952f1cebc8a241eb6a0e4a4f8e36c0a93ffe738a0ff360b8d3f30 +DIST qttools-everywhere-src-5.14.2.tar.xz 8815020 BLAKE2B 2535541b53cec5cc2dce1ac06ad70b145fce38642d8142f43a800a630aa2f69ad255e8f0a38c44022d14cc5b4373603026cc7c149c2435621f91a66ea0bf223d SHA512 e5b56d38acaa59511f24c817999f901510397d6e8baccc06a8fb8375f09b71dcffda4c57def4eb88d6c2782926d612b382957175a087a0c2224245051c54fe7e diff --git a/dev-qt/linguist/linguist-5.14.2.ebuild b/dev-qt/linguist/linguist-5.14.2.ebuild new file mode 100644 index 000000000000..4aa1294c58f7 --- /dev/null +++ b/dev-qt/linguist/linguist-5.14.2.ebuild @@ -0,0 +1,48 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +QT5_MODULE="qttools" +inherit desktop qt5-build xdg-utils + +DESCRIPTION="Graphical tool for translating Qt applications" + +if [[ ${QT5_BUILD_TYPE} == release ]]; then + KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc64 ~x86" +fi + +IUSE="" + +DEPEND=" + ~dev-qt/designer-${PV} + ~dev-qt/qtcore-${PV}:5= + ~dev-qt/qtgui-${PV}:5= + ~dev-qt/qtprintsupport-${PV} + ~dev-qt/qtwidgets-${PV} + ~dev-qt/qtxml-${PV} +" +RDEPEND="${DEPEND}" + +QT5_TARGET_SUBDIRS=( + src/linguist/linguist +) + +src_install() { + qt5-build_src_install + + 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 +} |