--- /usr/portage/x11-libs/qt-assistant/qt-assistant-4.4.1.ebuild 2008-08-11 14:56:22.000000000 +0200 +++ qt-assistant-4.4.1.ebuild 2008-09-08 14:38:04.000000000 +0200 @@ -11,11 +11,12 @@ LICENSE="|| ( GPL-3 GPL-2 )" SLOT="4" KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86" -IUSE="" +IUSE="webkit" DEPEND="~x11-libs/qt-gui-${PV} ~x11-libs/qt-sql-${PV} - !<=x11-libs/qt-4.4.0_alpha:${SLOT}" + !<=x11-libs/qt-4.4.0_alpha:${SLOT} + webkit? ( ~x11-libs/qt-webkit-${PV} )" RDEPEND="${DEPEND}" # Pixeltool isn't really assistant related, but it relies on @@ -40,9 +41,14 @@ myconf="${myconf} -no-xkb -no-tablet -no-fontconfig -no-xrender -no-xrandr -no-xfixes -no-xcursor -no-xinerama -no-xshape -no-sm -no-opengl -no-nas-sound -no-dbus -iconv -no-cups -no-nis -no-gif -no-libpng - -no-libmng -no-libjpeg -no-openssl -system-zlib -no-webkit -no-phonon + -no-libmng -no-libjpeg -no-openssl -system-zlib -no-phonon -no-xmlpatterns -no-freetype -no-libtiff -no-accessibility -no-fontconfig -no-glib -no-opengl -no-qt3support -no-svg" + if use webkit; then + myconf="$myconf -assistant-webkit" + else + myconf="$myconf -no-webkit" + fi qt4-build_src_compile }