Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 642406

Summary: >=media-video/smplayer-17.11.2 do not accept media-video/mpv as mplayer replacement
Product: Gentoo Linux Reporter: Gerold Schellstede <gentoo>
Component: Current packagesAssignee: Qt Bug Alias <qt>
Status: RESOLVED WORKSFORME    
Severity: normal CC: fturco, itumaykin+gentoo, media-video, mgorny, proxy-maint
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: Mpv only ebuild for smplayer

Description Gerold Schellstede 2017-12-27 14:15:44 UTC
Created attachment 511742 [details]
Mpv only ebuild for smplayer

Hello,

if I emerge smplayer-17.11.2 or higher, it installs mplayer as a dependency, even if mpv in a recent version is already installed. 

I overcome this problem by adjusting the ebuild slightly. I did this by bouncing mlayer and youtube-dl as possible dependencies, only leaving mpv.

Now it works as expected. (But the resulting ebuild is not suitable for mplayer users anymore)

King regards 
GOS
Comment 1 Michael Palimaka (kensington) gentoo-dev 2018-02-10 11:56:47 UTC
From the ebuild:
>RDEPEND="${COMMON_DEPEND}
>        || (
>                media-video/mplayer[bidi?,libass,png,X]
>                (
>                        >=media-video/mpv-0.15.0[libass,X]
>                        >=net-misc/youtube-dl-2014.11.26
>                )
>        )
>"

So this means either just mplayer, or both mpv and youtube-dl together are required.