commit: 739ca9a7bf76d4031d42b890c0eba4bc340014b2
Author: Ionen Wolkens <ionen <AT> gentoo <DOT> org>
AuthorDate: Mon Oct 27 23:53:14 2025 +0000
Commit: Ionen Wolkens <ionen <AT> gentoo <DOT> org>
CommitDate: Tue Oct 28 00:06:17 2025 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=739ca9a7
media-video/mpv: update live
Probably not worth making this its own separate USE, most X users
are going to have Xfixes already. This also brings USE=X to parity
with USE=wayland which already had clipboard support.
It *could* make sense to enable separately for the rather rare case
of someone using the X clipboard *without* X video outputs, but
feel that it's too much of a edge case.
While here, also drop the pkg_pretend -- probably been long enough
and USE=egl is default so this only affect those that went out of
their way to disable it.
Signed-off-by: Ionen Wolkens <ionen <AT> gentoo.org>
media-video/mpv/mpv-9999.ebuild | 14 ++------------
1 file changed, 2 insertions(+), 12 deletions(-)
diff --git a/media-video/mpv/mpv-9999.ebuild b/media-video/mpv/mpv-9999.ebuild
index d05731429fb7..d8012695a75c 100644
--- a/media-video/mpv/mpv-9999.ebuild
+++ b/media-video/mpv/mpv-9999.ebuild
@@ -51,6 +51,7 @@ COMMON_DEPEND="
x11-libs/libX11
x11-libs/libXScrnSaver
x11-libs/libXext
+ x11-libs/libXfixes
x11-libs/libXpresent
x11-libs/libXrandr
xv? ( x11-libs/libXv )
@@ -127,18 +128,6 @@ BDEPEND="
wayland? ( dev-util/wayland-scanner )
"
-pkg_pretend() {
- if has_version "${CATEGORY}/${PN}[X,opengl]" && use !egl; then #953107
- ewarn "${PN}'s 'opengl' USE was removed in favour of the 'egl'
USE as it was"
- ewarn "only for the deprecated 'gl-x11' mpv option when
'egl-x11/wayland'"
- ewarn "should be used if --gpu-api=opengl. It is recommended to
enable 'egl'"
- ewarn "unless using vulkan (default since ${PN}-0.40) or
something else."
- ewarn
- ewarn "USE=vdpau (for nvidia) still enables gl-x11 as it
requires it, however"
- ewarn "it is recommended to instead use --hwdec=nvdec
(USE=nvenc) or =vulkan."
- fi
-}
-
pkg_setup() {
use lua && lua-single_pkg_setup
python-single-r1_pkg_setup
@@ -165,6 +154,7 @@ src_configure() {
-Dbuild-date=false
# misc options
+ $(meson_feature X x11-clipboard)
$(meson_feature archive libarchive)
$(meson_feature bluray libbluray)
$(meson_feature cdda)