public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Julian Ospald" <hasufell@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: net-misc/youtube-viewer/
Date: Tue, 27 Oct 2015 12:53:07 +0000 (UTC)	[thread overview]
Message-ID: <1445950366.b6b942cdc109812d23a1a01f6153e5025c6286be.hasufell@gentoo> (raw)

commit:     b6b942cdc109812d23a1a01f6153e5025c6286be
Author:     Julian Ospald <hasufell <AT> gentoo <DOT> org>
AuthorDate: Tue Oct 27 12:52:46 2015 +0000
Commit:     Julian Ospald <hasufell <AT> gentoo <DOT> org>
CommitDate: Tue Oct 27 12:52:46 2015 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b6b942cd

net-misc/youtube-viewer: remove video player dependencies

And rather tell the user to install a compatible video player.
Since these are not strictly limited, it doesn't make sense
to list them all in RDEPEND.

 net-misc/youtube-viewer/youtube-viewer-3.1.9.ebuild | 14 ++++++++++----
 net-misc/youtube-viewer/youtube-viewer-9999.ebuild  | 14 ++++++++++----
 2 files changed, 20 insertions(+), 8 deletions(-)

diff --git a/net-misc/youtube-viewer/youtube-viewer-3.1.9.ebuild b/net-misc/youtube-viewer/youtube-viewer-3.1.9.ebuild
index 59041b3..8a99343 100644
--- a/net-misc/youtube-viewer/youtube-viewer-3.1.9.ebuild
+++ b/net-misc/youtube-viewer/youtube-viewer-3.1.9.ebuild
@@ -21,8 +21,6 @@ RDEPEND="
 	dev-perl/JSON
 	dev-perl/libwww-perl[ssl]
 	dev-perl/Term-ReadLine-Gnu
-	|| ( media-video/mplayer[network]
-		media-video/mpv )
 	virtual/perl-Encode
 	virtual/perl-File-Path
 	virtual/perl-File-Spec
@@ -72,7 +70,7 @@ pkg_preinst() {
 
 pkg_postinst() {
 	use gtk && gnome2_icon_cache_update
-	einfo
+	elog
 	elog "optional dependencies:"
 	elog "  dev-perl/LWP-UserAgent-Cached (cache support)"
 	elog "  dev-perl/Term-ReadLine-Gnu (for a better STDIN support)"
@@ -81,7 +79,15 @@ pkg_postinst() {
 	elog "  dev-perl/Text-CharWidth (print the results in a fixed-width"
 	elog "    format (--fixed-width, -W))"
 	elog "  virtual/perl-threads (threads support)"
-	einfo
+	elog
+	elog "You also need a compatible video player, possible choices are:"
+	elog "  media-video/gnome-mplayer"
+	elog "  media-video/mplayer[network]"
+	elog "  media-video/mpv"
+	elog "  media-video/smplayer"
+	elog "  media-video/vlc"
+	elog "Also check the configuration file in ~/.config/youtube-viewer/"
+	elog "and configure your video player backend."
 }
 
 pkg_postrm() {

diff --git a/net-misc/youtube-viewer/youtube-viewer-9999.ebuild b/net-misc/youtube-viewer/youtube-viewer-9999.ebuild
index 68d8ce7..9290df1 100644
--- a/net-misc/youtube-viewer/youtube-viewer-9999.ebuild
+++ b/net-misc/youtube-viewer/youtube-viewer-9999.ebuild
@@ -22,8 +22,6 @@ RDEPEND="
 	dev-perl/JSON
 	dev-perl/libwww-perl[ssl]
 	dev-perl/Term-ReadLine-Gnu
-	|| ( media-video/mplayer[network]
-		media-video/mpv )
 	virtual/perl-Encode
 	virtual/perl-File-Path
 	virtual/perl-File-Spec
@@ -73,7 +71,7 @@ pkg_preinst() {
 
 pkg_postinst() {
 	use gtk && gnome2_icon_cache_update
-	einfo
+	elog
 	elog "optional dependencies:"
 	elog "  dev-perl/LWP-UserAgent-Cached (cache support)"
 	elog "  dev-perl/Term-ReadLine-Gnu (for a better STDIN support)"
@@ -82,7 +80,15 @@ pkg_postinst() {
 	elog "  dev-perl/Text-CharWidth (print the results in a fixed-width"
 	elog "    format (--fixed-width, -W))"
 	elog "  virtual/perl-threads (threads support)"
-	einfo
+	elog
+	elog "You also need a compatible video player, possible choices are:"
+	elog "  media-video/gnome-mplayer"
+	elog "  media-video/mplayer[network]"
+	elog "  media-video/mpv"
+	elog "  media-video/smplayer"
+	elog "  media-video/vlc"
+	elog "Also check the configuration file in ~/.config/youtube-viewer/"
+	elog "and configure your video player backend."
 }
 
 pkg_postrm() {


             reply	other threads:[~2015-10-27 12:53 UTC|newest]

Thread overview: 61+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-10-27 12:53 Julian Ospald [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-12-01 12:04 [gentoo-commits] repo/gentoo:master commit in: net-misc/youtube-viewer/ Sam James
2024-06-20 23:08 Stefan Strogin
2023-01-24 13:32 Ionen Wolkens
2022-07-29  0:11 Stefan Strogin
2022-07-02 23:08 Sam James
2022-01-21 23:24 Stefan Strogin
2022-01-21 23:18 Stefan Strogin
2021-11-01 16:40 Stefan Strogin
2021-11-01 16:40 Stefan Strogin
2021-11-01 16:40 Stefan Strogin
2021-08-07 20:46 Stefan Strogin
2021-05-01 18:07 Sam James
2021-04-04 18:55 Andreas Sturmlechner
2020-11-26  3:42 Matt Turner
2020-09-07  8:55 David Seifert
2020-06-04 16:52 Aaron Bauman
2020-04-16  8:11 Joonas Niilola
2020-04-16  8:11 Joonas Niilola
2020-04-13 16:53 Agostino Sarubbo
2020-04-13 14:48 Agostino Sarubbo
2020-03-18  8:30 Joonas Niilola
2020-03-05 12:21 Joonas Niilola
2020-03-05 12:21 Joonas Niilola
2020-03-05 12:21 Joonas Niilola
2019-11-16  9:45 Joonas Niilola
2019-11-16  9:45 Joonas Niilola
2019-10-23  5:10 Joonas Niilola
2019-10-23  5:10 Joonas Niilola
2019-10-02 19:08 Agostino Sarubbo
2019-09-26 19:02 Thomas Deutschmann
2019-09-25 13:31 Joonas Niilola
2019-09-25 13:31 Joonas Niilola
2019-08-11 21:30 Thomas Deutschmann
2019-08-09  7:10 Agostino Sarubbo
2019-08-08 15:10 Joonas Niilola
2019-08-08 15:10 Joonas Niilola
2019-08-08 15:10 Joonas Niilola
2019-04-09 12:52 Patrice Clement
2018-04-25 21:49 Aaron Bauman
2018-04-20  7:24 Michał Górny
2018-04-18 16:30 Mikle Kolyada
2018-04-17 22:09 Thomas Deutschmann
2018-02-21  3:01 Thomas Deutschmann
2018-02-20 20:26 Patrice Clement
2017-08-26  6:50 Patrick Lauer
2017-06-30 12:25 Patrice Clement
2017-03-19  4:12 Kent Fredric
2017-03-16  8:21 Amy Liffey
2016-12-02 19:19 Michał Górny
2016-11-20 22:03 Göktürk Yüksek
2016-05-22 19:35 Pacho Ramos
2016-05-07 21:24 Michał Górny
2016-03-26 12:35 Matthias Maier
2016-03-07  8:01 Jason Zaman
2016-02-13 15:33 Agostino Sarubbo
2016-02-08  2:23 Ian Delaney
2015-10-27 12:36 Julian Ospald
2015-10-27 12:36 Julian Ospald
2015-10-27 12:36 Julian Ospald
2015-10-27 11:56 Julian Ospald

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1445950366.b6b942cdc109812d23a1a01f6153e5025c6286be.hasufell@gentoo \
    --to=hasufell@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox