Although this version is "unstable" it comes with mpv support and can be interested to many users. Ebuild patch: --- ../../../../../portage/media-video/smplayer/smplayer-14.9.0-r1.ebuild 2014-10-07 23:51:37.000000000 +0400 +++ ./smplayer-14.9.0.6690.ebuild 2015-01-27 21:45:29.249322161 +0300 @@ -17,17 +17,26 @@ LICENSE="GPL-2 BSD" SLOT="0" KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ppc ~ppc64 ~x86 ~x86-fbsd ~amd64-linux" -IUSE="autoshutdown bidi debug" +IUSE="autoshutdown bidi debug youtube" +COMMON_USE="libass,X" +MPV_DEPEND=">=media-video/mpv-0.6.2[${COMMON_USE}]" DEPEND="dev-qt/qtcore:4 dev-qt/qtgui:4 autoshutdown? ( dev-qt/qtdbus:4 )" -COMMON_USE="libass,png,X" RDEPEND="${DEPEND} - || ( - media-video/mplayer[bidi?,${COMMON_USE}] - media-video/mplayer2[${COMMON_USE}] - )" + youtube? ( + >=net-misc/youtube-dl-2014.11.26 + ${MPV_DEPEND} + ) + !youtube? ( + || ( + media-video/mplayer[bidi?,png,${COMMON_USE}] + media-video/mplayer2[png,${COMMON_USE}] + ${MPV_DEPEND} + ) + ) +" src_prepare() { use bidi || epatch "${FILESDIR}"/${P}-zero-bidi.patch
Created attachment 395112 [details, diff] smplayer-14.9.0.6690-zero-bidi.patch Ebuild patch is good, but the zero-bidi patch does not apply anymore. Here is a new one.
Done. Thanks so much for your patches! I just renamed youtube useflag to streaming, since it supports other video sites as well. And since this version prefers mpv, we need to keep it masked, until we can unmask the needed mpv and libav versions (but it is safe for the user to do so).