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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.9 - (hide annotations) (download)
Mon Jan 7 19:33:20 2013 UTC (7 years, 2 months ago) by hasufell
Branch: MAIN
Changes since 1.8: +21 -4 lines
update live ebuild

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

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

  ViewVC Help
Powered by ViewVC 1.1.20