/[gentoo-x86]/net-misc/youtube-viewer/youtube-viewer-3.0.6.ebuild
Gentoo

Contents of /net-misc/youtube-viewer/youtube-viewer-3.0.6.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (show annotations) (download)
Sat Sep 21 12:35:21 2013 UTC (6 years, 5 months ago) by hasufell
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +1 -1 lines
FILE REMOVED
version bump, remove old

(Portage version: 2.2.6/cvs/Linux x86_64, signed Manifest commit with key E73C35B3)

1 # Copyright 1999-2013 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/net-misc/youtube-viewer/youtube-viewer-3.0.6.ebuild,v 1.1 2013/01/27 20:14:52 hasufell Exp $
4
5 EAPI=4
6
7 inherit perl-module vcs-snapshot
8
9 DESCRIPTION="A command line utility for viewing youtube-videos in Mplayer"
10 HOMEPAGE="http://trizen.googlecode.com"
11 SRC_URI="https://github.com/trizen/youtube-viewer/tarball/${PV} -> ${P}.tar.gz"
12
13 LICENSE="GPL-3"
14 SLOT="0"
15 KEYWORDS="~amd64 ~x86"
16 IUSE="gtk"
17
18 RDEPEND="
19 >=dev-lang/perl-5.16.0
20 dev-perl/Data-Dump
21 dev-perl/libwww-perl
22 || ( media-video/mplayer[X,network]
23 media-video/mplayer2[X,network] )
24 virtual/perl-File-Spec
25 virtual/perl-Getopt-Long
26 virtual/perl-Term-ANSIColor
27 gtk? (
28 >=dev-perl/gtk2-perl-1.244.0
29 !net-misc/gtk-youtube-viewer
30 virtual/freedesktop-icon-theme
31 x11-libs/gdk-pixbuf:2[X,jpeg]
32 )"
33 DEPEND="virtual/perl-Module-Build"
34
35 SRC_TEST="do"
36
37 S=${WORKDIR}/${P}/WWW-YoutubeViewer
38
39 # build system installs files on "perl Build.PL" too
40 # do all the work in src_install
41 src_configure() { :; }
42 src_compile() { :; }
43
44 src_install() {
45 use gtk && local myconf="--gtk-youtube-viewer"
46 perl-module_src_configure
47 perl-module_src_install
48 }
49
50 pkg_postinst() {
51 perl-module_pkg_postinst
52 einfo
53 elog "optional dependencies:"
54 elog " dev-perl/LWP-Protocol-https or dev-perl/libwww-perl[ssl]"
55 elog " (for HTTPS protocol and login support)"
56 elog " dev-perl/TermReadKey (to get the terminal width size)"
57 elog " dev-perl/Term-ReadLine-Gnu (for a better STDIN support)"
58 elog " dev-perl/XML-Fast (faster XML to HASH conversion)"
59 elog " net-misc/gcap (for retrieving Youtube closed captions)"
60 elog " virtual/perl-File-Temp (for posting comments)"
61 elog " virtual/perl-Scalar-List-Utils (to shuffle the playlists (--shuffle)"
62 einfo
63 }

  ViewVC Help
Powered by ViewVC 1.1.20