1 # Copyright 1999-2017 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
5 inherit eutils qt4-build-multilib
7 DESCRIPTION="Tool for viewing on-line documentation in Qt help file format"
9 if [[ ${QT4_BUILD_TYPE} == release ]]; then
10 KEYWORDS="alpha amd64 arm ia64 ppc ppc64 sparc x86"
16 ~dev-qt/qtcore-${PV}[aqua=,debug=,${MULTILIB_USEDEP}]
17 ~dev-qt/qtgui-${PV}[aqua=,debug=,${MULTILIB_USEDEP}]
18 ~dev-qt/qthelp-${PV}[aqua=,debug=,${MULTILIB_USEDEP}]
19 ~dev-qt/qtsql-${PV}[aqua=,debug=,sqlite,${MULTILIB_USEDEP}]
20 webkit? ( ~dev-qt/qtwebkit-${PV}[aqua=,debug=,${MULTILIB_USEDEP}] )
25 "${FILESDIR}/${PN}-4.8.2+gcc-4.7.patch"
28 QT4_TARGET_DIRECTORIES="tools/assistant/tools/assistant"
32 use webkit || PATCHES+=("${FILESDIR}/disable-webkit.patch")
34 qt4-build-multilib_src_prepare
37 multilib_src_configure() {
39 -system-libpng -system-libjpeg -system-zlib
40 -no-sql-mysql -no-sql-psql -no-sql-ibase -no-sql-sqlite2 -no-sql-odbc
41 -sm -xshape -xsync -xcursor -xfixes -xrandr -xrender -mitshm -xinput -xkb
42 -fontconfig -no-multimedia -no-opengl -no-phonon -no-svg -no-xmlpatterns
45 qt4_multilib_src_configure
48 multilib_src_install_all() {
49 qt4_multilib_src_install_all
51 doicon tools/assistant/tools/assistant/images/assistant.png
52 make_desktop_entry assistant Assistant assistant 'Qt;Development;Documentation'