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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.7 - (show annotations) (download)
Sat Nov 1 21:25:20 2014 UTC (5 years, 3 months ago) by dilfridge
Branch: MAIN
CVS Tags: HEAD
Changes since 1.6: +1 -1 lines
FILE REMOVED
Drop old, bug 527932

(Portage version: 2.2.14/cvs/Linux x86_64, signed Manifest commit with key EBE6A336BE19039C!)

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.3.ebuild,v 1.6 2013/09/21 12:36:17 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-1.244.0
31 virtual/freedesktop-icon-theme
32 x11-libs/gdk-pixbuf:2[X,jpeg]
33 )"
34 DEPEND="virtual/perl-Module-Build"
35
36 SRC_TEST="do"
37
38 S=${WORKDIR}/${P}/WWW-YoutubeViewer
39
40 # build system installs files on "perl Build.PL" too
41 # do all the work in src_install
42 src_configure() { :; }
43 src_compile() { :; }
44
45 src_install() {
46 use gtk && local myconf="--gtk-youtube-viewer"
47 perl-module_src_configure
48 perl-module_src_install
49 }
50
51 pkg_postinst() {
52 perl-module_pkg_postinst
53 einfo
54 elog "optional dependencies:"
55 elog " dev-perl/TermReadKey (to get the terminal width size)"
56 elog " dev-perl/Term-ReadLine-Gnu (for a better STDIN support)"
57 elog " net-misc/gcap (for retrieving Youtube closed captions)"
58 einfo
59 }

  ViewVC Help
Powered by ViewVC 1.1.20