Created attachment 273169 [details, diff] Add phonon use flag Non-KDE systems that install programs depending on qt-webkit often have no need for phonon and its dependencies. See the attached patch for changes to qt-webkit-4.7.3 that adds a phonon USE flag similar to how its used for qt-qt3support. Note that a local use flag description will also have to be added to qt-webkit's metadata.
Also, the lines : !kde? ( || ( ~x11-libs/qt-phonon-${PV}:${SLOT}[aqua=,dbus=,debug=] media-libs/phonon[aqua=] ) ) kde? ( || ( media-libs/phonon[aqua=] ~x11-libs/qt-phonon-${PV}:${SLOT}[aqua=,dbus=,debug=] ) ) in the file qt-webkit-4.7.4.ebuild add dependencies to phonon and qt-phonon whatever the value of the kde use flag, which seems strange to me.
Created attachment 302459 [details, diff] Add phonon useflag to qt-webkit-4.8.0 Updated patch for qt-webkit-4.8.0 with the phonon useflag defaulting to on.
QtWebKit switched from phonon to gstreamer, since Qt 4.7. Therefore the 'phonon' USE flag has been completely removed in qt-webkit-4.8.0-r1, and a new 'gstreamer' flag has been added.