diff options
author | Andreas Sturmlechner <asturm@gentoo.org> | 2019-02-28 20:07:49 +0100 |
---|---|---|
committer | Andreas Sturmlechner <asturm@gentoo.org> | 2019-03-01 10:24:37 +0100 |
commit | 1b4c9f2dbdb4fb32ab0250f0f5904a6985881059 (patch) | |
tree | bf72c58aa1c524fd65380ffa26b406148449b0ec /dev-qt/assistant | |
parent | qt5-build.eclass: Relocate QT5_DOCDIR to /usr/share/qt5-doc (diff) | |
download | gentoo-1b4c9f2dbdb4fb32ab0250f0f5904a6985881059.tar.gz gentoo-1b4c9f2dbdb4fb32ab0250f0f5904a6985881059.tar.bz2 gentoo-1b4c9f2dbdb4fb32ab0250f0f5904a6985881059.zip |
dev-qt: Add Qt 5.12.1
Package-Manager: Portage-2.3.62, Repoman-2.3.12
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Diffstat (limited to 'dev-qt/assistant')
-rw-r--r-- | dev-qt/assistant/Manifest | 1 | ||||
-rw-r--r-- | dev-qt/assistant/assistant-5.12.1.ebuild | 55 |
2 files changed, 56 insertions, 0 deletions
diff --git a/dev-qt/assistant/Manifest b/dev-qt/assistant/Manifest index bba81754bde2..1baeb3bef8de 100644 --- a/dev-qt/assistant/Manifest +++ b/dev-qt/assistant/Manifest @@ -1 +1,2 @@ DIST qttools-everywhere-src-5.11.3.tar.xz 9705920 BLAKE2B 1c44d914463cd2bb2e61652debbd4661822442e0fc02569d98c17e3898d6acdd7546fb978af4a3dfe4fd00d66cbd4424b794ee7e7a26460465503b03b5f9957a SHA512 f9604ef4c33892a429c4f7252892271888b64e087ce8e943308680628b8c3a033aa2ea6659e6210ac90e3404120f458c77f650f20fed13f4723ed3c03a598eaf +DIST qttools-everywhere-src-5.12.1.tar.xz 9818060 BLAKE2B 1a1cf98d19e41b5fa2ec765ce9b931e9d678dc6e504f65f5b2b96ba5420d36c3955098abc4b66a886f37243e13fa388ff4e2761fc39295d864818cca50cb0380 SHA512 e3ae1974f0b20bad1b86d038c3585753183b8c24c133393e3ecf65a0487402ad8dcf8147bf263e9a4c2d3abef1b706981943fcf5268726e424f1b61f69ce4f2e diff --git a/dev-qt/assistant/assistant-5.12.1.ebuild b/dev-qt/assistant/assistant-5.12.1.ebuild new file mode 100644 index 000000000000..6d109d6a499a --- /dev/null +++ b/dev-qt/assistant/assistant-5.12.1.ebuild @@ -0,0 +1,55 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +QT5_MODULE="qttools" +inherit desktop gnome2-utils qt5-build + +DESCRIPTION="Tool for viewing on-line documentation in Qt help file format" + +if [[ ${QT5_BUILD_TYPE} == release ]]; then + KEYWORDS="~amd64 ~arm ~hppa ~ppc64 ~sparc ~x86" +fi + +IUSE="webkit" + +DEPEND=" + ~dev-qt/qtcore-${PV} + ~dev-qt/qtgui-${PV} + ~dev-qt/qthelp-${PV} + ~dev-qt/qtnetwork-${PV} + ~dev-qt/qtprintsupport-${PV} + ~dev-qt/qtsql-${PV}[sqlite] + ~dev-qt/qtwidgets-${PV} + webkit? ( >=dev-qt/qtwebkit-5.9.1:5 ) +" +RDEPEND="${DEPEND}" + +QT5_TARGET_SUBDIRS=( + src/assistant/assistant +) + +src_prepare() { + qt_use_disable_mod webkit webkitwidgets \ + src/assistant/assistant/assistant.pro + + qt5-build_src_prepare +} + +src_install() { + qt5-build_src_install + + doicon -s 32 src/assistant/assistant/images/assistant.png + newicon -s 128 src/assistant/assistant/images/assistant-128.png assistant.png + make_desktop_entry "${QT5_BINDIR}"/assistant 'Qt 5 Assistant' assistant 'Qt;Development;Documentation' +} + +pkg_postinst() { + qt5-build_pkg_postinst + gnome2_icon_cache_update +} + +pkg_postrm() { + qt5-build_pkg_postrm + gnome2_icon_cache_update +} |