diff options
author | Zoltan Puskas <zoltan@sinustrom.info> | 2019-08-07 22:36:17 -0700 |
---|---|---|
committer | Joonas Niilola <juippis@gentoo.org> | 2019-08-08 18:10:06 +0300 |
commit | 5b247a368ed9a0b23dd72f90b039880a9e8c26e9 (patch) | |
tree | c71d1469c7450a8e8ba113e5d5929cb825215596 /net-misc/youtube-viewer | |
parent | net-misc/youtube-viewer: Bump to 3.5.5 version (diff) | |
download | gentoo-5b247a368ed9a0b23dd72f90b039880a9e8c26e9.tar.gz gentoo-5b247a368ed9a0b23dd72f90b039880a9e8c26e9.tar.bz2 gentoo-5b247a368ed9a0b23dd72f90b039880a9e8c26e9.zip |
net-misc/youtube-viewer: Update -9999 with changes from new releases
Signed-off-by: Zoltan Puskas <zoltan@sinustrom.info>
Package-Manager: Portage-2.3.69, Repoman-2.3.16
Signed-off-by: Joonas Niilola <juippis@gentoo.org>
Diffstat (limited to 'net-misc/youtube-viewer')
-rw-r--r-- | net-misc/youtube-viewer/youtube-viewer-9999.ebuild | 29 |
1 files 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 94ebef6a27a5..42baf31b22b6 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/" |