summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJulian Ospald <hasufell@gentoo.org>2013-02-21 16:13:39 +0000
committerJulian Ospald <hasufell@gentoo.org>2013-02-21 16:13:39 +0000
commitb152a267ce880b335619dbdb13a30dc61a47c22b (patch)
tree656edfe4fb7d97d8a2df374b397d95be56aee545 /net-misc
parentStable for sparc, wrt bug #458138 (diff)
downloadgentoo-2-b152a267ce880b335619dbdb13a30dc61a47c22b.tar.gz
gentoo-2-b152a267ce880b335619dbdb13a30dc61a47c22b.tar.bz2
gentoo-2-b152a267ce880b335619dbdb13a30dc61a47c22b.zip
version bump
(Portage version: 2.2.0_alpha163/cvs/Linux x86_64, signed Manifest commit with key E73C35B3)
Diffstat (limited to 'net-misc')
-rw-r--r--net-misc/youtube-viewer/ChangeLog8
-rw-r--r--net-misc/youtube-viewer/youtube-viewer-3.0.7.ebuild63
2 files changed, 70 insertions, 1 deletions
diff --git a/net-misc/youtube-viewer/ChangeLog b/net-misc/youtube-viewer/ChangeLog
index 418379384b6f..2cfec760725e 100644
--- a/net-misc/youtube-viewer/ChangeLog
+++ b/net-misc/youtube-viewer/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for net-misc/youtube-viewer
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-misc/youtube-viewer/ChangeLog,v 1.21 2013/01/27 20:14:52 hasufell Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-misc/youtube-viewer/ChangeLog,v 1.22 2013/02/21 16:13:39 hasufell Exp $
+
+*youtube-viewer-3.0.7 (21 Feb 2013)
+
+ 21 Feb 2013; Julian Ospald <hasufell@gentoo.org>
+ +youtube-viewer-3.0.7.ebuild:
+ version bump
*youtube-viewer-3.0.6 (27 Jan 2013)
diff --git a/net-misc/youtube-viewer/youtube-viewer-3.0.7.ebuild b/net-misc/youtube-viewer/youtube-viewer-3.0.7.ebuild
new file mode 100644
index 000000000000..10b35458daf0
--- /dev/null
+++ b/net-misc/youtube-viewer/youtube-viewer-3.0.7.ebuild
@@ -0,0 +1,63 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-misc/youtube-viewer/youtube-viewer-3.0.7.ebuild,v 1.1 2013/02/21 16:13:39 hasufell Exp $
+
+EAPI=4
+
+inherit perl-module vcs-snapshot
+
+DESCRIPTION="A command line utility for viewing youtube-videos in Mplayer"
+HOMEPAGE="http://trizen.googlecode.com"
+SRC_URI="https://github.com/trizen/youtube-viewer/tarball/${PV} -> ${P}.tar.gz"
+
+LICENSE="|| ( Artistic GPL-1+ )"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="gtk"
+
+RDEPEND="
+ >=dev-lang/perl-5.16.0
+ dev-perl/Data-Dump
+ dev-perl/libwww-perl
+ || ( media-video/mplayer[X,network]
+ media-video/mplayer2[X,network] )
+ virtual/perl-File-Spec
+ virtual/perl-Getopt-Long
+ virtual/perl-Term-ANSIColor
+ gtk? (
+ >=dev-perl/gtk2-perl-1.244.0
+ !net-misc/gtk-youtube-viewer
+ virtual/freedesktop-icon-theme
+ x11-libs/gdk-pixbuf:2[X,jpeg]
+ )"
+DEPEND="virtual/perl-Module-Build"
+
+SRC_TEST="do"
+
+S=${WORKDIR}/${P}/WWW-YoutubeViewer
+
+# build system installs files on "perl Build.PL" too
+# do all the work in src_install
+src_configure() { :; }
+src_compile() { :; }
+
+src_install() {
+ use gtk && local myconf="--gtk-youtube-viewer"
+ perl-module_src_configure
+ perl-module_src_install
+}
+
+pkg_postinst() {
+ perl-module_pkg_postinst
+ einfo
+ elog "optional dependencies:"
+ elog " dev-perl/LWP-Protocol-https or dev-perl/libwww-perl[ssl]"
+ elog " (for HTTPS protocol and login support)"
+ elog " dev-perl/TermReadKey (to get the terminal width size)"
+ elog " dev-perl/Term-ReadLine-Gnu (for a better STDIN support)"
+ elog " dev-perl/XML-Fast (faster XML to HASH conversion)"
+ elog " net-misc/gcap (for retrieving Youtube closed captions)"
+ elog " virtual/perl-File-Temp (for posting comments)"
+ elog " virtual/perl-Scalar-List-Utils (to shuffle the playlists (--shuffle)"
+ einfo
+}