From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-commits+bounces-1104642-garchives=archives.gentoo.org@lists.gentoo.org>
Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
	(No client certificate requested)
	by finch.gentoo.org (Postfix) with ESMTPS id 8ED5B138334
	for <garchives@archives.gentoo.org>; Thu,  8 Aug 2019 15:10:54 +0000 (UTC)
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id 1D6E6E07FE;
	Thu,  8 Aug 2019 15:10:52 +0000 (UTC)
Received: from smtp.gentoo.org (smtp.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4])
	(using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits))
	(No client certificate requested)
	by pigeon.gentoo.org (Postfix) with ESMTPS id E4ACDE07FE
	for <gentoo-commits@lists.gentoo.org>; Thu,  8 Aug 2019 15:10:51 +0000 (UTC)
Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84])
	(using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits))
	(No client certificate requested)
	by smtp.gentoo.org (Postfix) with ESMTPS id 8287534969A
	for <gentoo-commits@lists.gentoo.org>; Thu,  8 Aug 2019 15:10:50 +0000 (UTC)
Received: from localhost.localdomain (localhost [IPv6:::1])
	by oystercatcher.gentoo.org (Postfix) with ESMTP id F3EB3757
	for <gentoo-commits@lists.gentoo.org>; Thu,  8 Aug 2019 15:10:47 +0000 (UTC)
From: "Joonas Niilola" <juippis@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Content-Transfer-Encoding: 8bit
Content-type: text/plain; charset=UTF-8
Reply-To: gentoo-dev@lists.gentoo.org, "Joonas Niilola" <juippis@gentoo.org>
Message-ID: <1565277006.5b247a368ed9a0b23dd72f90b039880a9e8c26e9.juippis@gentoo>
Subject: [gentoo-commits] repo/gentoo:master commit in: net-misc/youtube-viewer/
X-VCS-Repository: repo/gentoo
X-VCS-Files: net-misc/youtube-viewer/youtube-viewer-9999.ebuild
X-VCS-Directories: net-misc/youtube-viewer/
X-VCS-Committer: juippis
X-VCS-Committer-Name: Joonas Niilola
X-VCS-Revision: 5b247a368ed9a0b23dd72f90b039880a9e8c26e9
X-VCS-Branch: master
Date: Thu,  8 Aug 2019 15:10:47 +0000 (UTC)
Precedence: bulk
List-Post: <mailto:gentoo-commits@lists.gentoo.org>
List-Help: <mailto:gentoo-commits+help@lists.gentoo.org>
List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org>
List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org>
List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org>
X-BeenThere: gentoo-commits@lists.gentoo.org
X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply
X-Archives-Salt: 17d952ce-fc7f-4f8b-b76f-e4c8d5254bad
X-Archives-Hash: 8cfd82f5445db49a59921581f5a6feea

commit:     5b247a368ed9a0b23dd72f90b039880a9e8c26e9
Author:     Zoltan Puskas <zoltan <AT> sinustrom <DOT> info>
AuthorDate: Thu Aug  8 05:36:17 2019 +0000
Commit:     Joonas Niilola <juippis <AT> gentoo <DOT> org>
CommitDate: Thu Aug  8 15:10:06 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5b247a36

net-misc/youtube-viewer: Update -9999 with changes from new releases

Signed-off-by: Zoltan Puskas <zoltan <AT> sinustrom.info>
Package-Manager: Portage-2.3.69, Repoman-2.3.16
Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>

 net-misc/youtube-viewer/youtube-viewer-9999.ebuild | 29 +++++++---------------
 1 file changed, 9 insertions(+), 20 deletions(-)

diff --git a/net-misc/youtube-viewer/youtube-viewer-9999.ebuild b/net-misc/youtube-viewer/youtube-viewer-9999.ebuild
index 94ebef6a27a..42baf31b22b 100644
--- a/net-misc/youtube-viewer/youtube-viewer-9999.ebuild
+++ b/net-misc/youtube-viewer/youtube-viewer-9999.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -16,12 +16,11 @@ KEYWORDS=""
 IUSE="gtk"
 
 RDEPEND="
-	>=dev-lang/perl-5.16.0
 	dev-perl/Data-Dump
 	dev-perl/JSON
 	dev-perl/libwww-perl[ssl]
 	dev-perl/Term-ReadLine-Gnu
-	media-video/ffmpeg[openssl]
+	dev-perl/LWP-Protocol-https
 	virtual/perl-Encode
 	virtual/perl-File-Path
 	virtual/perl-File-Spec
@@ -37,26 +36,21 @@ RDEPEND="
 		virtual/freedesktop-icon-theme
 		x11-libs/gdk-pixbuf:2[X,jpeg]
 	)
-	|| ( media-video/mpv media-video/mplayer media-video/smplayer media-video/vlc )"
+	|| ( media-video/ffmpeg[openssl] media-video/ffmpeg[gnutls] )
+	|| ( media-video/mpv media-video/mplayer media-video/vlc gtk? ( media-video/smplayer ) )"
 DEPEND="dev-perl/Module-Build"
 
 SRC_TEST="do"
 
-src_prepare() {
-	perl-module_src_prepare
-}
-
-# build system installs files on "perl Build.PL" too
-# do all the work in src_install
-src_configure() { :; }
-src_compile() { :; }
-
-src_install() {
+src_configure() {
 	local myconf
 	if use gtk ; then
 		myconf="--gtk-youtube-viewer"
 	fi
 	perl-module_src_configure
+}
+
+src_install() {
 	perl-module_src_install
 
 	if use gtk ; then
@@ -65,19 +59,14 @@ src_install() {
 	fi
 }
 
-pkg_preinst() {
-	use gtk && gnome2_icon_savelist
-	perl_set_version
-}
-
 pkg_postinst() {
 	use gtk && gnome2_icon_cache_update
 	elog "Optional dependencies:"
 	optfeature "cache support" dev-perl/LWP-UserAgent-Cached
-	optfeature "better STDIN support" dev-perl/Term-ReadLine-Gnu
 	optfeature "faster JSON to HASH conversion" dev-perl/JSON-XS
 	optfeature "the case if there are SSL problems" dev-perl/Mozilla-CA
 	optfeature "printing results in a fixed-width format (--fixed-width, -W)" dev-perl/Text-CharWidth
+	optfeature "live streams support" net-misc/youtube-dl
 	optfeature "threads support" virtual/perl-threads
 	elog
 	elog "Check the configuration file in ~/.config/youtube-viewer/"