summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJulian Ospald <hasufell@gentoo.org>2012-10-16 22:11:24 +0000
committerJulian Ospald <hasufell@gentoo.org>2012-10-16 22:11:24 +0000
commitc14a9597a7496b587580feefb0e004ef750ee5aa (patch)
tree31c75a3ad8e3c23025e150c64ec0c50c9f00e3da /net-misc/youtube-viewer
parentadd ~arm, bug #433655 (diff)
downloadgentoo-2-c14a9597a7496b587580feefb0e004ef750ee5aa.tar.gz
gentoo-2-c14a9597a7496b587580feefb0e004ef750ee5aa.tar.bz2
gentoo-2-c14a9597a7496b587580feefb0e004ef750ee5aa.zip
version bump
(Portage version: 2.2.0_alpha137/cvs/Linux x86_64)
Diffstat (limited to 'net-misc/youtube-viewer')
-rw-r--r--net-misc/youtube-viewer/ChangeLog8
-rw-r--r--net-misc/youtube-viewer/youtube-viewer-3.0.3.ebuild59
2 files changed, 66 insertions, 1 deletions
diff --git a/net-misc/youtube-viewer/ChangeLog b/net-misc/youtube-viewer/ChangeLog
index 3eb5c4af368c..c963dd626228 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-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-misc/youtube-viewer/ChangeLog,v 1.12 2012/10/05 11:24:57 hasufell Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-misc/youtube-viewer/ChangeLog,v 1.13 2012/10/16 22:11:24 hasufell Exp $
+
+*youtube-viewer-3.0.3 (16 Oct 2012)
+
+ 16 Oct 2012; Julian Ospald <hasufell@gentoo.org>
+ +youtube-viewer-3.0.3.ebuild:
+ version bump
*youtube-viewer-3.0.2 (05 Oct 2012)
diff --git a/net-misc/youtube-viewer/youtube-viewer-3.0.3.ebuild b/net-misc/youtube-viewer/youtube-viewer-3.0.3.ebuild
new file mode 100644
index 000000000000..6b7992a934df
--- /dev/null
+++ b/net-misc/youtube-viewer/youtube-viewer-3.0.3.ebuild
@@ -0,0 +1,59 @@
+# Copyright 1999-2012 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.3.ebuild,v 1.1 2012/10/16 22:11:24 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="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="gtk"
+
+RDEPEND="
+ dev-perl/Data-Dump
+ dev-perl/libwww-perl
+ dev-perl/XML-Fast
+ || ( media-video/mplayer[X,network]
+ media-video/mplayer2[X,network] )
+ virtual/perl-File-Spec
+ virtual/perl-Getopt-Long
+ virtual/perl-Scalar-List-Utils
+ virtual/perl-Term-ANSIColor
+ gtk? (
+ dev-perl/gtk2-perl
+ !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/TermReadKey (to get the terminal width size)"
+ elog " dev-perl/Term-ReadLine-Gnu (for a better STDIN support)"
+ elog " net-misc/gcap (for retrieving Youtube closed captions)"
+ einfo
+}