From: "Stefan Strogin" <steils@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: net-misc/youtube-viewer/
Date: Sat, 7 Aug 2021 20:46:32 +0000 (UTC) [thread overview]
Message-ID: <1628369148.c3d19e82711997c14e064821d49f2271fe91a83a.steils@gentoo> (raw)
commit: c3d19e82711997c14e064821d49f2271fe91a83a
Author: Stefan Strogin <steils <AT> gentoo <DOT> org>
AuthorDate: Sat Aug 7 20:40:19 2021 +0000
Commit: Stefan Strogin <steils <AT> gentoo <DOT> org>
CommitDate: Sat Aug 7 20:45:48 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c3d19e82
net-misc/youtube-viewer: upgrade to 3.9.3
Closes: https://bugs.gentoo.org/782607
Package-Manager: Portage-3.0.20, Repoman-3.0.3
Signed-off-by: Stefan Strogin <steils <AT> gentoo.org>
net-misc/youtube-viewer/Manifest | 1 +
...wer-9999.ebuild => youtube-viewer-3.9.3.ebuild} | 45 ++++++++--------------
net-misc/youtube-viewer/youtube-viewer-9999.ebuild | 21 +++-------
3 files changed, 23 insertions(+), 44 deletions(-)
diff --git a/net-misc/youtube-viewer/Manifest b/net-misc/youtube-viewer/Manifest
index 0964429244e..c77b4b9aa8c 100644
--- a/net-misc/youtube-viewer/Manifest
+++ b/net-misc/youtube-viewer/Manifest
@@ -1 +1,2 @@
DIST youtube-viewer-3.7.4.tar.gz 281921 BLAKE2B dac2cbf76f3d0939f79fa875652680e197f41bf09769585894147dfe433db72a94d59309237f5ce5398753a39e2cf2cf83ae3f4f6987f5a4b49d806de2598e2c SHA512 4584821fb0ae3ec7e5f9c3b2e887b1fa158fb74a82be07698277e12d3762fd3b8f0557baddb9e08fe485f322b44b91adc2feaaba46227e0c519a516b54bbc4e8
+DIST youtube-viewer-3.9.3.tar.gz 258488 BLAKE2B 5c8a0fa3e01be483aebcdf3ccab1a1ed583398abadd038a5bf60f76b0b085363fb024c14b39c2223ed3c6027cf65a4b41552e518573f9eac3c09ebf4524edd3b SHA512 1be169858ac0c132b9142549ad63643c3c3bee543f745fbe811c911e6310d65cf9e6f0ff669c7666f2eb1a70592ad95236567301297b9c56726764e3c1174581
diff --git a/net-misc/youtube-viewer/youtube-viewer-9999.ebuild b/net-misc/youtube-viewer/youtube-viewer-3.9.3.ebuild
similarity index 66%
copy from net-misc/youtube-viewer/youtube-viewer-9999.ebuild
copy to net-misc/youtube-viewer/youtube-viewer-3.9.3.ebuild
index b96a94bb134..b4cd505eca6 100644
--- a/net-misc/youtube-viewer/youtube-viewer-9999.ebuild
+++ b/net-misc/youtube-viewer/youtube-viewer-3.9.3.ebuild
@@ -3,26 +3,23 @@
EAPI=7
-inherit desktop optfeature perl-module git-r3 xdg-utils
+inherit desktop optfeature perl-module xdg-utils
DESCRIPTION="A command line utility for viewing youtube-videos in Mplayer"
-HOMEPAGE="https://trizenx.blogspot.com/2012/03/gtk-youtube-viewer.html"
-SRC_URI=""
-EGIT_REPO_URI="https://github.com/trizen/${PN}.git"
+HOMEPAGE="https://github.com/trizen/youtube-viewer"
+SRC_URI="https://github.com/trizen/youtube-viewer/archive/${PV}.tar.gz -> ${P}.tar.gz"
-LICENSE="|| ( Artistic GPL-1+ )"
+LICENSE="|| ( Artistic-2 GPL-1+ )"
SLOT="0"
-KEYWORDS=""
-IUSE="gtk gtk2"
-
-REQUIRED_USE="gtk2? ( gtk )"
+KEYWORDS="~amd64 ~x86"
+IUSE="gtk"
RDEPEND="
dev-perl/Data-Dump
dev-perl/JSON
dev-perl/libwww-perl[ssl]
- dev-perl/Term-ReadLine-Gnu
dev-perl/LWP-Protocol-https
+ dev-perl/Term-ReadLine-Gnu
virtual/perl-Encode
virtual/perl-File-Path
virtual/perl-File-Spec
@@ -33,30 +30,20 @@ RDEPEND="
virtual/perl-Text-ParseWords
virtual/perl-Text-Tabs+Wrap
gtk? (
- gtk2? (
- >=dev-perl/Gtk2-1.244.0
- )
- !gtk2? (
- dev-perl/Gtk3
- )
+ dev-perl/Gtk3
dev-perl/File-ShareDir
virtual/freedesktop-icon-theme
x11-libs/gdk-pixbuf:2[jpeg]
)
- || ( >=media-video/ffmpeg-4.1.3[openssl] >=media-video/ffmpeg-4.1.3[gnutls] )
+ || ( 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"
+DEPEND="${RDEPEND}"
+BDEPEND="dev-perl/Module-Build"
src_configure() {
local myconf
if use gtk; then
- if use gtk2; then
- myconf="--gtk2"
- else
- myconf="--gtk3"
- fi
+ myconf="--gtk3"
fi
perl-module_src_configure
@@ -73,15 +60,17 @@ src_install() {
pkg_postinst() {
use gtk && xdg_icon_cache_update
- optfeature "cache support" dev-perl/LWP-UserAgent-Cached
+ optfeature "local cache support" dev-perl/LWP-UserAgent-Cached
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/"
elog "and configure your video player backend."
+ elog
+ ewarn "Starting with version 3.7.4, youtube-viewer requires the user to"
+ ewarn "get their own API key to function. Please refer to README.md or"
+ ewarn "https://github.com/trizen/youtube-viewer#logging-in for details!"
}
pkg_postrm() {
diff --git a/net-misc/youtube-viewer/youtube-viewer-9999.ebuild b/net-misc/youtube-viewer/youtube-viewer-9999.ebuild
index b96a94bb134..408761565f0 100644
--- a/net-misc/youtube-viewer/youtube-viewer-9999.ebuild
+++ b/net-misc/youtube-viewer/youtube-viewer-9999.ebuild
@@ -21,8 +21,8 @@ RDEPEND="
dev-perl/Data-Dump
dev-perl/JSON
dev-perl/libwww-perl[ssl]
- dev-perl/Term-ReadLine-Gnu
dev-perl/LWP-Protocol-https
+ dev-perl/Term-ReadLine-Gnu
virtual/perl-Encode
virtual/perl-File-Path
virtual/perl-File-Spec
@@ -33,17 +33,12 @@ RDEPEND="
virtual/perl-Text-ParseWords
virtual/perl-Text-Tabs+Wrap
gtk? (
- gtk2? (
- >=dev-perl/Gtk2-1.244.0
- )
- !gtk2? (
- dev-perl/Gtk3
- )
+ dev-perl/Gtk3
dev-perl/File-ShareDir
virtual/freedesktop-icon-theme
x11-libs/gdk-pixbuf:2[jpeg]
)
- || ( >=media-video/ffmpeg-4.1.3[openssl] >=media-video/ffmpeg-4.1.3[gnutls] )
+ || ( 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"
@@ -52,11 +47,7 @@ SRC_TEST="do"
src_configure() {
local myconf
if use gtk; then
- if use gtk2; then
- myconf="--gtk2"
- else
- myconf="--gtk3"
- fi
+ myconf="--gtk3"
fi
perl-module_src_configure
@@ -73,12 +64,10 @@ src_install() {
pkg_postinst() {
use gtk && xdg_icon_cache_update
- optfeature "cache support" dev-perl/LWP-UserAgent-Cached
+ optfeature "local cache support" dev-perl/LWP-UserAgent-Cached
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/"
elog "and configure your video player backend."
next reply other threads:[~2021-08-07 20:46 UTC|newest]
Thread overview: 62+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-08-07 20:46 Stefan Strogin [this message]
-- strict thread matches above, loose matches on Subject: below --
2025-07-04 20:25 [gentoo-commits] repo/gentoo:master commit in: net-misc/youtube-viewer/ Andreas K. Hüttel
2024-12-01 12:04 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-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:53 Julian Ospald
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=1628369148.c3d19e82711997c14e064821d49f2271fe91a83a.steils@gentoo \
--to=steils@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