commit:     3812f7154f2b2c0708a0432041c03a5b00e4d5d6
Author:     Maciej Barć <xgqt <AT> protonmail <DOT> com>
AuthorDate: Tue Jul 28 10:41:40 2020 +0000
Commit:     Maciej Barć <xgqt <AT> protonmail <DOT> com>
CommitDate: Tue Jul 28 10:41:40 2020 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=3812f715

net-misc/gallery-dl: use optfeature

Package-Manager: Portage-2.3.103, Repoman-2.3.23
Signed-off-by: Maciej Barć <xgqt <AT> protonmail.com>

 net-misc/gallery-dl/gallery-dl-1.14.3.ebuild | 8 +++++---
 net-misc/gallery-dl/gallery-dl-9999.ebuild   | 8 +++++---
 2 files changed, 10 insertions(+), 6 deletions(-)

diff --git a/net-misc/gallery-dl/gallery-dl-1.14.3.ebuild 
b/net-misc/gallery-dl/gallery-dl-1.14.3.ebuild
index 9e9053b..edcab4b 100644
--- a/net-misc/gallery-dl/gallery-dl-1.14.3.ebuild
+++ b/net-misc/gallery-dl/gallery-dl-1.14.3.ebuild
@@ -45,7 +45,9 @@ src_compile() {
 }
 
 pkg_postinst() {
-       elog "Optional dependencies:"
-       elog "media-video/ffmpeg - for Pixiv Ugoira to WebM conversion"
-       elog "net-misc/youtube-dl - for video downloads"
+       elog "To get additional features, some optional runtime dependencies"
+       elog "may be installed:"
+       elog ""
+       optfeature "Pixiv Ugoira to WebM conversion" media-video/ffmpeg
+       optfeature "video downloads" net-misc/youtube-dl
 }

diff --git a/net-misc/gallery-dl/gallery-dl-9999.ebuild 
b/net-misc/gallery-dl/gallery-dl-9999.ebuild
index 9e9053b..edcab4b 100644
--- a/net-misc/gallery-dl/gallery-dl-9999.ebuild
+++ b/net-misc/gallery-dl/gallery-dl-9999.ebuild
@@ -45,7 +45,9 @@ src_compile() {
 }
 
 pkg_postinst() {
-       elog "Optional dependencies:"
-       elog "media-video/ffmpeg - for Pixiv Ugoira to WebM conversion"
-       elog "net-misc/youtube-dl - for video downloads"
+       elog "To get additional features, some optional runtime dependencies"
+       elog "may be installed:"
+       elog ""
+       optfeature "Pixiv Ugoira to WebM conversion" media-video/ffmpeg
+       optfeature "video downloads" net-misc/youtube-dl
 }

Reply via email to