Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 538002 - media-video/smplayer-14.9.0.6690 version bump
Summary: media-video/smplayer-14.9.0.6690 version bump
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Qt Bug Alias
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-01-27 18:48 UTC by nE0sIghT
Modified: 2015-01-31 13:20 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
smplayer-14.9.0.6690-zero-bidi.patch (smplayer-14.9.0.6690-zero-bidi.patch,410 bytes, patch)
2015-01-29 13:33 UTC, Paolo Pedroni
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description nE0sIghT 2015-01-27 18:48:01 UTC
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
Comment 1 Paolo Pedroni 2015-01-29 13:33:23 UTC
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.
Comment 2 Ben de Groot (RETIRED) gentoo-dev 2015-01-31 13:20:38 UTC
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).