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>
This commit is contained in:
Ionen Wolkens
2024-05-10 23:56:15 -04:00
parent 0b9dc767b6
commit 8b87169bd7
2 changed files with 4 additions and 2 deletions

View File

@@ -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
}

View File

@@ -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
}