commit:     4bfb3c2fa12bc6f26cf20d6c22bc9a9fbac75caf
Author:     Mikle Kolyada <zlogene <AT> gentoo <DOT> org>
AuthorDate: Sat Mar 27 14:35:01 2021 +0000
Commit:     Mikle Kolyada <zlogene <AT> gentoo <DOT> org>
CommitDate: Sat Mar 27 14:35:21 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4bfb3c2f

media-video/mpv: use optfeature fpr youtube-dl

Closes: https://bugs.gentoo.org/767463
Package-Manager: Portage-3.0.13, Repoman-3.0.2
Signed-off-by: Mikle Kolyada <zlogene <AT> gentoo.org>

 media-video/mpv/mpv-0.33.0-r100.ebuild | 4 ++--
 media-video/mpv/mpv-9999.ebuild        | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/media-video/mpv/mpv-0.33.0-r100.ebuild 
b/media-video/mpv/mpv-0.33.0-r100.ebuild
index edb74a93b70..c749f487bd6 100644
--- a/media-video/mpv/mpv-0.33.0-r100.ebuild
+++ b/media-video/mpv/mpv-0.33.0-r100.ebuild
@@ -9,7 +9,7 @@ PYTHON_REQ_USE='threads(+)'
 
 WAF_PV=2.0.9
 
-inherit bash-completion-r1 flag-o-matic lua-single pax-utils python-r1 
toolchain-funcs waf-utils xdg-utils
+inherit bash-completion-r1 flag-o-matic lua-single optfeature pax-utils 
python-r1 toolchain-funcs waf-utils xdg-utils
 
 DESCRIPTION="Media player based on MPlayer and mplayer2"
 HOMEPAGE="https://mpv.io/ https://github.com/mpv-player/mpv";
@@ -336,7 +336,7 @@ pkg_postinst() {
                elog "X11 or Mac OS Aqua. Consider enabling the 'opengl' USE 
flag."
        fi
 
-       elog "If you want URL support, please install net-misc/youtube-dl."
+       optfeature "URL support" net-misc/youtube-dl
 
        xdg_icon_cache_update
        xdg_desktop_database_update

diff --git a/media-video/mpv/mpv-9999.ebuild b/media-video/mpv/mpv-9999.ebuild
index edb74a93b70..c749f487bd6 100644
--- a/media-video/mpv/mpv-9999.ebuild
+++ b/media-video/mpv/mpv-9999.ebuild
@@ -9,7 +9,7 @@ PYTHON_REQ_USE='threads(+)'
 
 WAF_PV=2.0.9
 
-inherit bash-completion-r1 flag-o-matic lua-single pax-utils python-r1 
toolchain-funcs waf-utils xdg-utils
+inherit bash-completion-r1 flag-o-matic lua-single optfeature pax-utils 
python-r1 toolchain-funcs waf-utils xdg-utils
 
 DESCRIPTION="Media player based on MPlayer and mplayer2"
 HOMEPAGE="https://mpv.io/ https://github.com/mpv-player/mpv";
@@ -336,7 +336,7 @@ pkg_postinst() {
                elog "X11 or Mac OS Aqua. Consider enabling the 'opengl' USE 
flag."
        fi
 
-       elog "If you want URL support, please install net-misc/youtube-dl."
+       optfeature "URL support" net-misc/youtube-dl
 
        xdg_icon_cache_update
        xdg_desktop_database_update

Reply via email to