1 # Copyright 1999-2014 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
7 inherit eutils qt4-build
9 DESCRIPTION="Tool for viewing on-line documentation in Qt help file format"
11 if [[ ${QT4_BUILD_TYPE} == live ]]; then
14 KEYWORDS="alpha amd64 arm ia64 ppc ppc64 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos"
20 ~dev-qt/qtcore-${PV}[aqua=,debug=]
21 ~dev-qt/qtgui-${PV}[aqua=,debug=]
22 ~dev-qt/qthelp-${PV}[aqua=,debug=]
23 ~dev-qt/qtsql-${PV}[aqua=,debug=,sqlite]
24 webkit? ( ~dev-qt/qtwebkit-${PV}[aqua=,debug=] )
29 "${FILESDIR}/${PN}-4.8.2+gcc-4.7.patch"
33 QT4_TARGET_DIRECTORIES="tools/assistant/tools/assistant"
34 QT4_EXTRACT_DIRECTORIES="
44 use webkit || PATCHES+=("${FILESDIR}/disable-webkit.patch")
51 -system-libpng -system-libjpeg -system-zlib
52 -no-sql-mysql -no-sql-psql -no-sql-ibase -no-sql-sqlite2 -no-sql-odbc
53 -sm -xshape -xsync -xcursor -xfixes -xrandr -xrender -mitshm -xinput -xkb
54 -fontconfig -no-multimedia -no-opengl -no-phonon -no-svg -no-xmlpatterns
57 qt4-build_src_configure
63 doicon tools/assistant/tools/assistant/images/assistant.png
64 make_desktop_entry assistant Assistant assistant 'Qt;Development;Documentation'