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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.3 - (show annotations) (download)
Mon Jan 7 19:28:28 2013 UTC (7 years, 1 month ago) by hasufell
Branch: MAIN
CVS Tags: HEAD
Changes since 1.2: +1 -1 lines
FILE REMOVED
update dependencies

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

1 # Copyright 1999-2012 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.2.ebuild,v 1.2 2012/11/20 18:43:53 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.10.0
20 dev-perl/Data-Dump
21 dev-perl/libwww-perl
22 dev-perl/XML-Fast
23 || ( media-video/mplayer[X,network]
24 media-video/mplayer2[X,network] )
25 virtual/perl-File-Spec
26 virtual/perl-Getopt-Long
27 virtual/perl-Scalar-List-Utils
28 virtual/perl-Term-ANSIColor
29 gtk? (
30 dev-perl/gtk2-perl
31 !net-misc/gtk-youtube-viewer
32 virtual/freedesktop-icon-theme
33 x11-libs/gdk-pixbuf:2[X,jpeg]
34 )"
35 DEPEND="virtual/perl-Module-Build"
36
37 SRC_TEST="do"
38
39 S=${WORKDIR}/${P}/WWW-YoutubeViewer
40
41 # build system installs files on "perl Build.PL" too
42 # do all the work in src_install
43 src_configure() { :; }
44 src_compile() { :; }
45
46 src_install() {
47 use gtk && local myconf="--gtk-youtube-viewer"
48 perl-module_src_configure
49 perl-module_src_install
50 }
51
52 pkg_postinst() {
53 perl-module_pkg_postinst
54 einfo
55 elog "optional dependencies:"
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 " net-misc/gcap (for retrieving Youtube closed captions)"
59 einfo
60 }

  ViewVC Help
Powered by ViewVC 1.1.20