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

Diff of /net-misc/youtube-viewer/youtube-viewer-9999.ebuild

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.2 Revision 1.6
1# Copyright 1999-2012 Gentoo Foundation 1# Copyright 1999-2012 Gentoo Foundation
2# Distributed under the terms of the GNU General Public License v2 2# Distributed under the terms of the GNU General Public License v2
3# $Header: /var/cvsroot/gentoo-x86/net-misc/youtube-viewer/youtube-viewer-9999.ebuild,v 1.2 2012/05/01 23:55:08 hasufell Exp $ 3# $Header: /var/cvsroot/gentoo-x86/net-misc/youtube-viewer/youtube-viewer-9999.ebuild,v 1.6 2012/08/20 15:12:23 hasufell Exp $
4 4
5EAPI=4 5EAPI=4
6 6
7inherit git-2 7inherit perl-module git-2
8 8
9DESCRIPTION="A command line utility for viewing youtube-videos in Mplayer" 9DESCRIPTION="A command line utility for viewing youtube-videos in Mplayer"
10HOMEPAGE="http://trizen.googlecode.com" 10HOMEPAGE="http://trizen.googlecode.com"
11SRC_URI="" 11SRC_URI=""
12EGIT_REPO_URI="git://github.com/trizen/${PN}.git" 12EGIT_REPO_URI="git://github.com/trizen/${PN}.git"
14LICENSE="GPL-3" 14LICENSE="GPL-3"
15SLOT="0" 15SLOT="0"
16KEYWORDS="" 16KEYWORDS=""
17IUSE="" 17IUSE=""
18 18
19RDEPEND="dev-lang/perl 19RDEPEND="
20 dev-perl/Data-Dump
20 dev-perl/libwww-perl 21 dev-perl/libwww-perl
21 dev-perl/XML-Fast 22 dev-perl/XML-Fast
22 media-video/mplayer[X,mp3,faad,x264] 23 || ( media-video/mplayer[X,network]
24 media-video/mplayer2[X,network] )
25 virtual/perl-File-Spec
26 virtual/perl-Getopt-Long
23 virtual/perl-Scalar-List-Utils" 27 virtual/perl-Scalar-List-Utils
28 virtual/perl-Term-ANSIColor"
29DEPEND="virtual/perl-Module-Build"
24 30
25src_install() { 31EGIT_SOURCEDIR="${WORKDIR}"
26 dobin ${PN} 32S=${WORKDIR}/WWW-YoutubeViewer
33
34SRC_TEST="do"
35
36pkg_postinst() {
37 perl-module_pkg_postinst
38 einfo
39 elog "optional dependencies:"
40 elog " dev-perl/TermReadKey (to get the terminal width size)"
41 elog " dev-perl/Term-ReadLine-Gnu (for a better STDIN support)"
42 elog " net-misc/gcap (for retrieving Youtube closed captions)"
43 einfo
27} 44}

Legend:
Removed from v.1.2  
changed lines
  Added in v.1.6

  ViewVC Help
Powered by ViewVC 1.1.20