diff options
author | Andreas Sturmlechner <asturm@gentoo.org> | 2019-11-01 12:58:56 +0100 |
---|---|---|
committer | Andreas Sturmlechner <asturm@gentoo.org> | 2019-11-01 13:00:56 +0100 |
commit | 2592a62f5b30a672e915879ac9134f68f20c5e38 (patch) | |
tree | c1fc25eafacb679fb6a12b556496ddb804e25a06 /dev-qt/linguist | |
parent | media-sound/jack2-1.9.13: bump (diff) | |
download | gentoo-2592a62f5b30a672e915879ac9134f68f20c5e38.tar.gz gentoo-2592a62f5b30a672e915879ac9134f68f20c5e38.tar.bz2 gentoo-2592a62f5b30a672e915879ac9134f68f20c5e38.zip |
dev-qt: Add Qt 5.13.2
Closes: https://bugs.gentoo.org/689016
Package-Manager: Portage-2.3.78, Repoman-2.3.17
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.13.2.ebuild | 48 |
2 files changed, 49 insertions, 0 deletions
diff --git a/dev-qt/linguist/Manifest b/dev-qt/linguist/Manifest index 586c07da1add..99ba61a641e9 100644 --- a/dev-qt/linguist/Manifest +++ b/dev-qt/linguist/Manifest @@ -1,2 +1,3 @@ DIST qttools-everywhere-src-5.12.3.tar.xz 9809196 BLAKE2B 8d0317dc70c1dc6fc7c125453d22bbaa7decd57f9ba0f7572cc1e27f9494ff3423b5be412bcbd2e841a1f9b7494dae9101b3ac9254c563c24f22492b3b6ec3c9 SHA512 d37c0e11a26a21aa60f29f3b17ddc9895385d848692956e4481e49003cbe9c227daf8fda1c40a2ab70ac8e7e56d3771c1b2964524589eb77ac1f2362c269162e DIST qttools-everywhere-src-5.12.5.tar.xz 9759888 BLAKE2B a9d8477a8f27de405c390d0901754020bed457dfaf7419cb070c5bf4eee30f3bb0b39bd29d3c32f8f78e82ffa8bc10e58cea3eae389792227cd6f21f783624c2 SHA512 e88af049ad9261720bc44ff9030113179d9429eaf073bed45115decd520ecf5d3ca860983f012bac189310ce9f3826b1fcb484faadb4f6d0b16c67c0d998f34c +DIST qttools-everywhere-src-5.13.2.tar.xz 9110256 BLAKE2B 4651c350d5bb9200dc6c4b362b8d69abd108f63fde74f6b3382317c8b0f4447cd56f6a463617f50c0901155457ddd693dcf2bc75cde9cbb1565e693b36469bec SHA512 46e76d81c1b16160c9ab8da1475cfeed28e7140bc94868d4fc834639cc15ec67199b6169a7c820107cb72982bc2d56ba6987225f3fc773b8464e4023fda74265 diff --git a/dev-qt/linguist/linguist-5.13.2.ebuild b/dev-qt/linguist/linguist-5.13.2.ebuild new file mode 100644 index 000000000000..af542e66afbb --- /dev/null +++ b/dev-qt/linguist/linguist-5.13.2.ebuild @@ -0,0 +1,48 @@ +# Copyright 1999-2019 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} + ~dev-qt/qtgui-${PV} + ~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 +} |