Created attachment 323504 [details] kmplayer ebuild youtube does not work konqueror on default gentoo boxes. the issue depends from some configuration files in media-video/kmplayer. a new ebuild is proposed to fix the problem.
Created attachment 323506 [details] kmplayer patch
Created attachment 323512 [details] new kmplayer ebuild. minor fix
Comment on attachment 323512 [details] new kmplayer ebuild. minor fix --- kmplayer-0.11.3d.ebuild 2012-08-11 16:47:51.000000000 +0200 +++ - 2012-09-11 16:58:25.925727985 +0200 @@ -28,6 +28,7 @@ npp? ( dev-libs/dbus-glib >=x11-libs/gtk+-2.10.14:2 + www-plugins/adobe-flash )" RDEPEND="${DEPEND} media-video/mplayer" @@ -35,6 +36,10 @@ DOCS=( AUTHORS ChangeLog README TODO ) src_prepare() { + if use npp; then { + epatch "${FILESDIR}"/${PN}-flash.patch + } + fi sed -e '/add_subdirectory(icons)/d' \ -i CMakeLists.txt || die @@ -50,3 +55,18 @@ kde4-base_src_configure } + +pkg_postinst() { + if use npp; then { + kwriteconfig --file "${PORTAGE_BUILDDIR}/usr/share/config/kmplayerrc" --group "application/x-shockwave-flash" --key player npp + kwriteconfig --file "${PORTAGE_BUILDDIR}/usr/share/config/kmplayerrc" --group "application/x-shockwave-flash" --key plugin /usr/lib/nsbrowser/plugins/libflashplayer.so + update-desktop-database + ewarn "Kmplayer system configuration is correctly setted to run flash + applications on www.youtube.com with konqueror (KHTML) fro newly created + users. + Some problems may arise for pre-existings ones. + See here http://dev.gentoo.org/~lack/konqueror-flash.xml to solve them. + " + } + fi +}
Fixed in CVS.