1 # Copyright 1999-2020 Gentoo Authors
2 # Distributed under the terms of the GNU General Public License v2
6 inherit desktop qt5-build xdg-utils
8 DESCRIPTION="Tool for viewing on-line documentation in Qt help file format"
10 if [[ ${QT5_BUILD_TYPE} == release ]]; then
11 KEYWORDS="amd64 ~arm arm64 ~hppa ppc64 ~sparc x86"
20 ~dev-qt/qtnetwork-${PV}
21 ~dev-qt/qtprintsupport-${PV}
22 ~dev-qt/qtsql-${PV}[sqlite]
23 ~dev-qt/qtwidgets-${PV}
24 webkit? ( >=dev-qt/qtwebkit-5.9.1:5 )
29 src/assistant/assistant
33 qt_use_disable_mod webkit webkitwidgets \
34 src/assistant/assistant/assistant.pro
42 doicon -s 32 src/assistant/assistant/images/assistant.png
43 newicon -s 128 src/assistant/assistant/images/assistant-128.png assistant.png
44 make_desktop_entry "${QT5_BINDIR}"/assistant 'Qt 5 Assistant' assistant 'Qt;Development;Documentation'
48 qt5-build_pkg_postinst