summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJulian Ospald <hasufell@gentoo.org>2012-11-20 18:48:51 +0000
committerJulian Ospald <hasufell@gentoo.org>2012-11-20 18:48:51 +0000
commitae88ccaef54fb4485f9bf7308fc4d15edf747ccc (patch)
treeaf489a73d69b829dca190c4a7de4f1079dd3badc /net-misc/youtube-viewer
parentadd tools to the nvidia-drivers use flag masks to prevent it trying to pull i... (diff)
downloadgentoo-2-ae88ccaef54fb4485f9bf7308fc4d15edf747ccc.tar.gz
gentoo-2-ae88ccaef54fb4485f9bf7308fc4d15edf747ccc.tar.bz2
gentoo-2-ae88ccaef54fb4485f9bf7308fc4d15edf747ccc.zip
version bump
(Portage version: 2.2.0_alpha142/cvs/Linux x86_64, signed Manifest commit with key E73C35B3)
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.4.ebuild60
2 files changed, 67 insertions, 1 deletions
diff --git a/net-misc/youtube-viewer/ChangeLog b/net-misc/youtube-viewer/ChangeLog
index e11458062cde..52a808deb7b9 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.15 2012/11/20 18:43:53 hasufell Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-misc/youtube-viewer/ChangeLog,v 1.16 2012/11/20 18:48:51 hasufell Exp $
+
+*youtube-viewer-3.0.4 (20 Nov 2012)
+
+ 20 Nov 2012; Julian Ospald <hasufell@gentoo.org>
+ +youtube-viewer-3.0.4.ebuild:
+ version bump
20 Nov 2012; Julian Ospald <hasufell@gentoo.org> youtube-viewer-2.5.9.ebuild,
youtube-viewer-3.0.2.ebuild, youtube-viewer-3.0.3.ebuild:
diff --git a/net-misc/youtube-viewer/youtube-viewer-3.0.4.ebuild b/net-misc/youtube-viewer/youtube-viewer-3.0.4.ebuild
new file mode 100644
index 000000000000..04484dcbe9c0
--- /dev/null
+++ b/net-misc/youtube-viewer/youtube-viewer-3.0.4.ebuild
@@ -0,0 +1,60 @@
+# 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.4.ebuild,v 1.1 2012/11/20 18:48:51 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-lang/perl-5.16.0
+ 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
+}