Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 669198 - media-video/smplayer-18.x.x - wrong depends calculation
Summary: media-video/smplayer-18.x.x - wrong depends calculation
Status: UNCONFIRMED
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: 2018-10-21 13:23 UTC by Boris Vingradov
Modified: 2020-05-19 23:44 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Boris Vingradov 2018-10-21 13:23:41 UTC
Than I install smplayer on clear system with previosly installed media-video/mpv it's ignore mpv and already install media-video/mplayer. But than I install net-misc/youtube-dl mplayer not needed for success instalation.

I think there's depend bug:

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
        )
    )

Rule:
An any-of group, which consists of the string ||, followed by whitespace, followed by an open parenthesis, followed by whitespace, followed by one or more of (a dependency item of any kind followed by whitespace), followed by a close parenthesis
Comment 1 Jeroen Roovers gentoo-dev 2018-10-24 04:30:58 UTC
Does media-video/mpv have USE="libass X"?
Comment 2 Boris Vingradov 2018-10-24 15:18:14 UTC
(In reply to Jeroen Roovers from comment #1)
> Does media-video/mpv have USE="libass X"?

Yes, it does.
Comment 3 Michael Palimaka (kensington) gentoo-dev 2019-03-11 07:25:46 UTC
Please add the out of: emerge -pv smplayer mplayer
Comment 4 Boris Vingradov 2019-03-13 18:41:04 UTC
(In reply to Michael Palimaka (kensington) from comment #3)
> Please add the out of: emerge -pv smplayer mplayer

[ebuild  N     ] app-i18n/enca-1.19-r1::gentoo  USE="iconv -doc -recode -static-libs" ABI_X86="(64) -32 (-x32)" 0 KiB
[ebuild  N     ] media-video/mplayer-1.3.0-r5::gentoo  USE="X a52 alsa cdio dts dvd dvdnav enca encode gif iconv ipv6 jpeg libass mad mng mp3 network opengl osdmenu png pulseaudio sdl shm truetype unicode vorbis x264 xscreensaver xv xvid -aalib (-altivec) (-aqua) -bidi -bl -bluray -bs2b -cddb -cdparanoia -cpudetection -debug -dga -doc -dv -dvb -faac -faad -fbcon -ftp -ggi -gsm -jack -joystick -ladspa -libcaca -libmpeg2 -lirc -live -lzo -md5sum -nas -nut -openal -oss -pnm -pvr -radio -rar -rtc -rtmp -samba (-selinux) -speex -tga -theora -toolame -tremor -twolame -v4l -vcd -vdpau (-vidix) -xinerama -yuv4mpeg -zoran" CPU_FLAGS_X86="mmx mmxext sse sse2 -3dnow -3dnowext -ssse3" VIDEO_CARDS="-mga (-tdfx)" 0 KiB
[ebuild   R    ] media-video/smplayer-19.1.0-r1::gentoo  USE="-autoshutdown -bidi -debug -mpris" 0 KiB
Comment 5 Michael Palimaka (kensington) gentoo-dev 2019-03-16 06:21:45 UTC
I think I understand now.

smplayer requires mplayer OR (mpv AND youtube-dl). You had mpv installed, but not youtube-dl.

When faced with an any-of group with neither item. satisfied, portage typically prefers the left-hand item (hence pulling in mplayer).
Comment 6 jospezial 2020-05-19 23:44:58 UTC
https://gitweb.gentoo.org/repo/gentoo.git/commit/media-video/mpv/mpv-9999.ebuild?id=4d5efde6e0f15d4c4537e72ddb5350b08b512952
"media-video/mpv: sync live ebuild
make libass no-op
Closes: https://bugs.gentoo.org/716624"

This is the result when I want to use mpv-9999:

These are the packages that would be merged, in reverse order:

Calculating dependencies... done!
[nomerge       ] media-video/smplayer-20.4.2::gentoo  USE="-autoshutdown -bidi -debug -mpris" 
[ebuild  N     ]  media-video/mplayer-1.4_pre::poly-c  USE="X a52 aalib alsa bluray cddb cdio dga dts dv dvb dvd dvdnav enca encode faac faad fbcon ftp gif gsm iconv ipv6 jack jpeg ladspa libass live lzo mad md5sum mng mp3 network openal opengl osdmenu png pulseaudio pvr radio rar rtc rtmp sdl shm speex theora truetype twolame unicode v4l vdpau vorbis x264 xinerama xscreensaver xv xvid (-altivec) (-aqua) -bidi -bl -bs2b -cdparanoia -cpudetection -debug -doc -ggi -joystick -libcaca -libmpeg2 -lirc -nas (-nut) -oss -pnm -samba (-selinux) -tga -toolame -tremor -vcd (-vidix) -yuv4mpeg -zoran" CPU_FLAGS_X86="3dnow 3dnowext mmx mmxext sse sse2 -ssse3" VIDEO_CARDS="-mga" 14.703 KiB
[ebuild     U *] media-video/mpv-9999::gentoo [0.32.0-r1::gentoo] USE="X alsa archive bluray cdda cli drm dvb dvd egl iconv jack javascript jpeg lcms lua openal opengl pulseaudio rubberband sdl uchardet vaapi vdpau vulkan xv zlib (-aqua) (-coreaudio) -cplugins -cuda -debug (-doc) -gamepad -gbm -libcaca -libmpv -luajit (-raspberry-pi) (-selinux) -test -tools -wayland -zimg (-libass%*) (-oss%) (-samba%)" PYTHON_TARGETS="python3_7 python3_8 -python3_6" 0 KiB
[nomerge       ] media-video/mplayer-1.4_pre::poly-c  USE="X a52 aalib alsa bluray cddb cdio dga dts dv dvb dvd dvdnav enca encode faac faad fbcon ftp gif gsm iconv ipv6 jack jpeg ladspa libass live lzo mad md5sum mng mp3 network openal opengl osdmenu png pulseaudio pvr radio rar rtc rtmp sdl shm speex theora truetype twolame unicode v4l vdpau vorbis x264 xinerama xscreensaver xv xvid (-altivec) (-aqua) -bidi -bl -bs2b -cdparanoia -cpudetection -debug -doc -ggi -joystick -libcaca -libmpeg2 -lirc -nas (-nut) -oss -pnm -samba (-selinux) -tga -toolame -tremor -vcd (-vidix) -yuv4mpeg -zoran" CPU_FLAGS_X86="3dnow 3dnowext mmx mmxext sse sse2 -ssse3" VIDEO_CARDS="-mga" 
[ebuild  N     ]  app-i18n/enca-1.19-r2::gentoo  USE="iconv -doc -recode -static-libs" ABI_X86="32 (64) (-x32)" 455 KiB
[ebuild  N     ]  media-plugins/live-2020.03.06:0/8::gentoo  USE="libressl ssl" 7.062 KiB

Total: 4 packages (1 upgrade, 3 new), Size of downloads: 22.219 KiB