diff options
author | Zoltan Puskas <zoltan@sinustrom.info> | 2018-02-19 18:14:11 -0800 |
---|---|---|
committer | Patrice Clement <monsieurp@gentoo.org> | 2018-02-20 21:26:29 +0100 |
commit | bff4fac941cdc52774e322dfc82b94451d1a01a7 (patch) | |
tree | 3a14dafd33dd4e38aa4497421500527d41bba4a1 /net-misc/youtube-viewer | |
parent | net-im/mattermost-desktop-bin: version bump to 4.0.0. (diff) | |
download | gentoo-bff4fac941cdc52774e322dfc82b94451d1a01a7.tar.gz gentoo-bff4fac941cdc52774e322dfc82b94451d1a01a7.tar.bz2 gentoo-bff4fac941cdc52774e322dfc82b94451d1a01a7.zip |
net-misc/youtube-viewer: version bump to 3.3.3.
Package-Manager: Portage-2.3.24, Repoman-2.3.6
Closes: https://github.com/gentoo/gentoo/pull/7234
Diffstat (limited to 'net-misc/youtube-viewer')
-rw-r--r-- | net-misc/youtube-viewer/Manifest | 1 | ||||
-rw-r--r-- | net-misc/youtube-viewer/youtube-viewer-3.3.3.ebuild | 74 |
2 files changed, 75 insertions, 0 deletions
diff --git a/net-misc/youtube-viewer/Manifest b/net-misc/youtube-viewer/Manifest index f8af3bb1fb2c..62576acac7c4 100644 --- a/net-misc/youtube-viewer/Manifest +++ b/net-misc/youtube-viewer/Manifest @@ -3,3 +3,4 @@ DIST youtube-viewer-3.2.0.tar.gz 222528 BLAKE2B 13492d444130218ab54337f2e6a578d1 DIST youtube-viewer-3.2.4.tar.gz 224282 BLAKE2B 3905e6cb7c014a279ee239bd63418508f2626fd6ba22161508833f962b0a8ad5c2d2137a43509061e0fdd878f1844096d969e57289d2bb4f97eec2478e814356 SHA512 06bb763460b90f26aa1671c29056374df62d4e840acb3a800f4840160535fef30e60e6655b1d4ba7423a0424384acdfc00aa068a420aa836110974a5f7152ec2 DIST youtube-viewer-3.2.5.tar.gz 228801 BLAKE2B 7407419ee5334a6bc78ede0151e8b3110aa11bfbebb9a7d4a75ea83b751e179d5448ce3c6566ffb6821c76c964d84769bc057e28e3f5683735001ffb90e1a843 SHA512 093c62a3fcbfdf538ae5a205b4263ef91408e4aa7f1824a12f4b5d7b387437fe48af5914e792d743b135e1389534ddba89aaa9a1226969d3cc360515a0d885ae DIST youtube-viewer-3.2.8.tar.gz 233912 BLAKE2B 87e3d96a54d3a83de6e805eeb420a5cfb633ca33a030f619b5b9db52b3c079da4969b0bb7fc76203adea59eb2f82d89962d2140a1f4281367d5b0ea307660da6 SHA512 ae4012f164ff86208975968efe3460774f6740ada9badbfbb373b1e4a22b9983667d96c0f8d857431a6b344bbd061895abab39d353e850662b0b131ef9016f45 +DIST youtube-viewer-3.3.3.tar.gz 232856 BLAKE2B 68f3529edeaeb443203f1c6bf4a9967346a5015d05d40ffeca65a1deeacb73cb9bd7fbc79ed2c70f161c82a03df8461b3d39b071ccbe480b10d4259eba08d430 SHA512 ca624c456d33aa804398f71f1dd4a095f7b9ca5ae5a1cb255b9e8a3dea671a8b0f986977428e797f1fc1f96d69087a66c71185e37cc521d668c036c4e7a5825f diff --git a/net-misc/youtube-viewer/youtube-viewer-3.3.3.ebuild b/net-misc/youtube-viewer/youtube-viewer-3.3.3.ebuild new file mode 100644 index 000000000000..0a797691ff7f --- /dev/null +++ b/net-misc/youtube-viewer/youtube-viewer-3.3.3.ebuild @@ -0,0 +1,74 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit eutils gnome2-utils perl-module + +DESCRIPTION="A command line utility for viewing youtube-videos in Mplayer" +HOMEPAGE="https://trizenx.blogspot.com/2012/03/gtk-youtube-viewer.html" +SRC_URI="https://github.com/trizen/youtube-viewer/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="|| ( Artistic GPL-1+ )" +SLOT="0" +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 + virtual/perl-Encode + virtual/perl-File-Path + virtual/perl-File-Spec + virtual/perl-Getopt-Long + virtual/perl-Scalar-List-Utils + virtual/perl-Term-ANSIColor + virtual/perl-Term-ReadLine + virtual/perl-Text-ParseWords + virtual/perl-Text-Tabs+Wrap + gtk? ( + dev-perl/File-ShareDir + >=dev-perl/Gtk2-1.244.0 + virtual/freedesktop-icon-theme + x11-libs/gdk-pixbuf:2[X,jpeg] + ) + || ( 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_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 + domenu share/gtk-youtube-viewer.desktop + doicon share/icons/gtk-youtube-viewer.png + fi +} + +pkg_postinst() { + use gtk && gnome2_icon_cache_update + elog "Optional dependencies:" + optfeature "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 "threads support" virtual/perl-threads + elog + elog "Check the configuration file in ~/.config/youtube-viewer/" + elog "and configure your video player backend." +} + +pkg_postrm() { + use gtk && gnome2_icon_cache_update +} |