summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIonen Wolkens <ionen@gentoo.org>2024-05-10 23:56:15 -0400
committerIonen Wolkens <ionen@gentoo.org>2024-05-10 23:59:04 -0400
commit8b87169bd784d2437cf7c4980f4cf596bc919adf (patch)
tree533db024824a73ec8889ea4cd7d1ed6c3a0609c4
parentsys-devel/gcc: drop 14.0.1_pre20240430, 14.0.1_pre20240503 (diff)
downloadgentoo-8b87169bd784d2437cf7c4980f4cf596bc919adf.tar.gz
gentoo-8b87169bd784d2437cf7c4980f4cf596bc919adf.tar.bz2
gentoo-8b87169bd784d2437cf7c4980f4cf596bc919adf.zip
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 <ionen@gentoo.org>
-rw-r--r--media-video/mpv/mpv-0.38.0.ebuild3
-rw-r--r--media-video/mpv/mpv-9999.ebuild3
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 bc585e8fdb66..a44f459bb171 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 43d88a932570..3825d102d45b 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
}