Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 712076 - media-video/mpv-0.32.0-r1 : automagic dependency on media-libs/libplacebo
Summary: media-video/mpv-0.32.0-r1 : automagic dependency on media-libs/libplacebo
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Mikle Kolyada (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-03-10 18:20 UTC by Enne Eziarc
Modified: 2020-03-29 10:26 UTC (History)
1 user (show)

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


Attachments
build log after `emerge -1 libplacebo; USE=-vulkan FEATURES=keeptemp emerge -1 mpv` (build.log,372.42 KB, text/plain)
2020-03-12 17:18 UTC, Enne Eziarc
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Enne Eziarc 2020-03-10 18:20:19 UTC
mpv will attempt to use an installed libplacebo even if USE="-vulkan" is specified:

>>> package: media-libs/libplacebo-1.29.1
 *  - /usr/lib64/libplacebo.so.29
 *      used by /usr/bin/mpv (media-video/mpv-0.32.0-r1)

media-video/mpv-0.32.0-r1::gentoo was built with the following:
USE="X alsa cli dvb egl iconv lcms libass lua opengl pulseaudio uchardet vaapi vdpau wayland xv zlib (-aqua) -archive -bluray -cdda (-coreaudio) -cplugins -cuda -debug -doc -drm -dvd -gamepad -gbm -jack -javascript -jpeg -libcaca -libmpv -luajit -openal -oss (-raspberry-pi) -rubberband -samba -sdl (-selinux) -test -tools -vulkan -zimg" ABI_X86="(64)" PYTHON_TARGETS="python3_7 -python3_6"
Comment 1 Ionen Wolkens gentoo-dev 2020-03-10 22:28:30 UTC
Yeah, looking at the wscript the only option depending on libplacebo is vulkan (does indeed seem to be the case looking at the source).

But it doesn't automatically use --disable-libplacebo if vulkan is unused so I guess the ebuild has to do it when USE=-vulkan for now (I don't think placebo needs its own USE).
Comment 2 Mikle Kolyada (RETIRED) archtester Gentoo Infrastructure gentoo-dev Security 2020-03-12 15:21:37 UTC
Please also submit the full build.log
Comment 3 Enne Eziarc 2020-03-12 17:18:35 UTC
Created attachment 618088 [details]
build log after `emerge -1 libplacebo; USE=-vulkan FEATURES=keeptemp emerge -1 mpv`

Oh, of course.
Comment 4 Mikle Kolyada (RETIRED) archtester Gentoo Infrastructure gentoo-dev Security 2020-03-17 10:12:34 UTC
Seems like libplacebo could just be bind to the vulkan use flag.
Comment 5 Mikle Kolyada (RETIRED) archtester Gentoo Infrastructure gentoo-dev Security 2020-03-29 10:26:12 UTC
fixed.