Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 880335 - Dependency conflict with mpv-plugin/mpv-mpris, since media-video/mpv doesn't have the "cplugins" USE flag anymore.
Summary: Dependency conflict with mpv-plugin/mpv-mpris, since media-video/mpv doesn't ...
Status: RESOLVED FIXED
Alias: None
Product: GURU
Classification: Unclassified
Component: Package issues (show other bugs)
Hardware: AMD64 Linux
: Normal normal
Assignee: GURU project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-11-08 08:36 UTC by Lucas Rizzini
Modified: 2022-11-16 10:19 UTC (History)
3 users (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 Lucas Rizzini 2022-11-08 08:36:05 UTC
media-video/mpv(gentoo) doesn't have the "cplugins" USE flag anymore, which leads us a dependency conflict, since mpv-plugin/mpv-mpris(guru) still requires it(MPV_REQ_USE="cplugins,libmpv"). 

media-video/mpv now enables cplugins by default. "-Dcplugins=enabled":
https://gitweb.gentoo.org/repo/gentoo.git/diff/media-video/mpv/mpv-0.34.1_p20221105.ebuild?id=6d12bd1af38d8887a89d21a7c7b1807e0eafd029


Reproducible: Always

Steps to Reproduce:
1. Sync repos and update having media-video/mpv and mpv-plugin/mpv-mpris installed

Actual Results:  
WARNING: One or more updates/rebuilds have been skipped due to a dependency conflict:

media-video/mpv:0

  (media-video/mpv-0.34.1_p20221105:0/2::gentoo, ebuild scheduled for merge) USE="X bluray cli dvd egl iconv lcms libmpv libplacebo lua opengl pipewire pulseaudio uchardet vaapi vector xv -alsa (-aqua) -archive -cdda (-coreaudio) -debug -drm -dvb -gamepad -jack -javascript -jpeg -libcaca (-mmal) -nvenc -openal (-raspberry-pi) -rubberband -sdl (-selinux) -sndio -test -tools -vdpau -vulkan -wayland -zimg -zlib" ABI_X86="(64)" LUA_SINGLE_TARGET="luajit -lua5-1" PYTHON_SINGLE_TARGET="python3_10 -python3_11 -python3_8 -python3_9" conflicts with
    media-video/mpv:0/0=[cplugins,libmpv] required by (mpv-plugin/mpv-mpris-0.9:0/0::guru, installed) USE="autoload -test" ABI_X86="(64)"
                   ^^^^^ ^^^^^^^^
    media-video/mpv:=[cplugins,libmpv] required by (mpv-plugin/mpv-mpris-0.9:0/0::guru, installed) USE="autoload -test" ABI_X86="(64)"

Expected Results:  
mpv-plugin/mpv-mpris should now expect that the MPV "cplugins" is enabled by default and the flag doesn't exist anymore.
Comment 1 Ionen Wolkens gentoo-dev 2022-11-08 09:14:21 UTC
Yeah, there was little reason for this flag to be optional, suggest adding (+) ="cplugins(+),libmpv"

On a side-note, this mpv is also using API 2.0 (introduced a year ago but not in 0.34.1). Most maintained things still build (like mpv-mpris) but if any plugins are relying on deprecated elements/features, they may have issues given some were dropped.
Comment 2 Lucas Rizzini 2022-11-13 11:08:06 UTC
It makes sense now to remove the 'cplugins' USE flag requirement, right? Since "-Dcplugins=enabled" at media-video/mpv is enabled by default and it doesn't depend on a fag anymore.
Comment 3 Larry the Git Cow gentoo-dev 2022-11-16 10:19:08 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=64f4317ac128806740896e504c82ce041c1d6a5b

commit 64f4317ac128806740896e504c82ce041c1d6a5b
Author:     Anna (cybertailor) Vyalkova <cyber+gentoo@sysrq.in>
AuthorDate: 2022-11-11 14:10:26 +0000
Commit:     Anna (cybertailor) Vyalkova <cyber+gentoo@sysrq.in>
CommitDate: 2022-11-11 14:10:26 +0000

    mpv-plugin/mpv-mpris: fix MPV_REQ_USE
    
    Closes: https://bugs.gentoo.org/880335
    Signed-off-by: Anna (cybertailor) Vyalkova <cyber+gentoo@sysrq.in>

 mpv-plugin/mpv-mpris/mpv-mpris-0.8.1.ebuild |  2 +-
 mpv-plugin/mpv-mpris/mpv-mpris-0.9.ebuild   |  7 +++----
 mpv-plugin/mpv-mpris/mpv-mpris-9999.ebuild  | 14 +++++---------
 3 files changed, 9 insertions(+), 14 deletions(-)