From 8b87169bd784d2437cf7c4980f4cf596bc919adf Mon Sep 17 00:00:00 2001 From: Ionen Wolkens Date: Fri, 10 May 2024 23:56:15 -0400 Subject: [PATCH] media-video/mpv: reword yt-dlp optfeature USE=lua led to confusion that some action is needed, let's be more verbose and only mention it when it's not set. Signed-off-by: Ionen Wolkens --- media-video/mpv/mpv-0.38.0.ebuild | 3 ++- media-video/mpv/mpv-9999.ebuild | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/media-video/mpv/mpv-0.38.0.ebuild b/media-video/mpv/mpv-0.38.0.ebuild index bc585e8fdb664..a44f459bb171c 100644 --- a/media-video/mpv/mpv-0.38.0.ebuild +++ b/media-video/mpv/mpv-0.38.0.ebuild @@ -271,5 +271,6 @@ src_install() { pkg_postinst() { xdg_pkg_postinst - optfeature "URL support with USE=lua" net-misc/yt-dlp + optfeature "various websites URL support$(usev !lua \ + " (requires ${PN} with USE=lua)")" net-misc/yt-dlp } diff --git a/media-video/mpv/mpv-9999.ebuild b/media-video/mpv/mpv-9999.ebuild index 43d88a932570a..3825d102d45b7 100644 --- a/media-video/mpv/mpv-9999.ebuild +++ b/media-video/mpv/mpv-9999.ebuild @@ -271,5 +271,6 @@ src_install() { pkg_postinst() { xdg_pkg_postinst - optfeature "URL support with USE=lua" net-misc/yt-dlp + optfeature "various websites URL support$(usev !lua \ + " (requires ${PN} with USE=lua)")" net-misc/yt-dlp }