diff options
author | Zoltan Puskas <zoltan@sinustrom.info> | 2017-05-24 23:49:49 -0700 |
---|---|---|
committer | Patrice Clement <monsieurp@gentoo.org> | 2017-06-30 14:25:07 +0200 |
commit | d255de756438544d0aeb12da260cc41483a4e5af (patch) | |
tree | ec5fcb7ee7664e2dc3c53fe16cacc49e6f575062 /net-misc/youtube-viewer | |
parent | app-editors/atom: version bump to 1.18.0. (diff) | |
download | gentoo-d255de756438544d0aeb12da260cc41483a4e5af.tar.gz gentoo-d255de756438544d0aeb12da260cc41483a4e5af.tar.bz2 gentoo-d255de756438544d0aeb12da260cc41483a4e5af.zip |
net-misc/youtube-viewer: version bump to 3.2.8.
Adjusted dependencies according to release, fixed RDEPEND of video players,
allowed ffmpeg with gnutls
Gentoo-Bug: https://bugs.gentoo.org/600460
Package-Manager: Portage-2.3.6, Repoman-2.3.2
Closes: https://github.com/gentoo/gentoo/pull/4989
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.2.8.ebuild | 74 |
2 files changed, 75 insertions, 0 deletions
diff --git a/net-misc/youtube-viewer/Manifest b/net-misc/youtube-viewer/Manifest index 30d50d048d6d..acfe1ef4209b 100644 --- a/net-misc/youtube-viewer/Manifest +++ b/net-misc/youtube-viewer/Manifest @@ -2,3 +2,4 @@ DIST youtube-viewer-3.1.9.tar.gz 222276 SHA256 9b7ba2b50cea054898024bc871e231673 DIST youtube-viewer-3.2.0.tar.gz 222528 SHA256 60a4ded8798da3cdadadf816b1c4e87c6feb697f01db70630f014584e5a2392e SHA512 bda3592874ded71e6a60d87b669d2c80999425ef2f2061e942a8db5755d9d6f2dabf038b8b7984efb1cccc3a5f9f12b2fa56290be9db871b2784b2c464367c3b WHIRLPOOL 73ec965bf4cf65d545b99d73e003ce7d74d92dcdc1f5d29c8b925e4d96e93d5924b66e06ec40e22f16119b6df6445344d650d5ca086e52aeb60a350c7ca8ce0d DIST youtube-viewer-3.2.4.tar.gz 224282 SHA256 ca37024ce018e31bd4c99f5df208e842f44979c07c5d31647c1fbe4e17b1b296 SHA512 06bb763460b90f26aa1671c29056374df62d4e840acb3a800f4840160535fef30e60e6655b1d4ba7423a0424384acdfc00aa068a420aa836110974a5f7152ec2 WHIRLPOOL bfeb12bacd98b6da8ecb0ee4b626a8fdc98331f21049bdd99524d65ff5de109abe859c882dac5347fa07cee704d229e64496a369ae1c3ae6d24557c4ff142b59 DIST youtube-viewer-3.2.5.tar.gz 228801 SHA256 306199649972137e7181fac4efccb295b5c3aedc3f103975cca533db3be1f53b SHA512 093c62a3fcbfdf538ae5a205b4263ef91408e4aa7f1824a12f4b5d7b387437fe48af5914e792d743b135e1389534ddba89aaa9a1226969d3cc360515a0d885ae WHIRLPOOL 5d0168866d58ee88e6d7fa98f2a7ffdc3527203680c224bcd5998e322f6329e28cecbc33986aea764137c9917b78e65f250afe664af6fd5c308a50cfa626c869 +DIST youtube-viewer-3.2.8.tar.gz 233912 SHA256 50e26c4f9548f0211cb0dd35ade192939ec12c5aab9d0d55692223390dbb9039 SHA512 ae4012f164ff86208975968efe3460774f6740ada9badbfbb373b1e4a22b9983667d96c0f8d857431a6b344bbd061895abab39d353e850662b0b131ef9016f45 WHIRLPOOL ac0c6176ec9636e0b9192e3018f73f3ef3e5ddd4498994e024392164510607891af0ee8c487d159822ad9601552c38c6f755307274df7798b7d1dcd33ba7f041 diff --git a/net-misc/youtube-viewer/youtube-viewer-3.2.8.ebuild b/net-misc/youtube-viewer/youtube-viewer-3.2.8.ebuild new file mode 100644 index 000000000000..3b5e362cd1be --- /dev/null +++ b/net-misc/youtube-viewer/youtube-viewer-3.2.8.ebuild @@ -0,0 +1,74 @@ +# Copyright 1999-2017 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 +} |