/[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.13 - (show annotations) (download)
Sat Sep 21 12:36:17 2013 UTC (6 years, 6 months ago) by hasufell
Branch: MAIN
Changes since 1.12: +1 -2 lines
remove obsolete blocker

(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-9999.ebuild,v 1.12 2013/09/21 12:35:54 hasufell Exp $
4
5 EAPI=5
6
7 inherit perl-module git-2
8
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="|| ( Artistic GPL-1+ )"
15 SLOT="0"
16 KEYWORDS=""
17 IUSE="gtk"
18
19 RDEPEND="
20 >=dev-lang/perl-5.16.0
21 dev-perl/Data-Dump
22 dev-perl/libwww-perl
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-Term-ANSIColor
28 virtual/perl-Text-ParseWords
29 virtual/perl-Text-Tabs+Wrap
30 gtk? (
31 >=dev-perl/gtk2-perl-1.244.0
32 virtual/freedesktop-icon-theme
33 x11-libs/gdk-pixbuf:2[X,jpeg]
34 )"
35 DEPEND="virtual/perl-Module-Build"
36
37 EGIT_SOURCEDIR="${WORKDIR}"
38 S=${WORKDIR}/WWW-YoutubeViewer
39
40 SRC_TEST="do"
41
42 # build system installs files on "perl Build.PL" too
43 # do all the work in src_install
44 src_configure() { :; }
45 src_compile() { :; }
46
47 src_install() {
48 use gtk && local myconf="--gtk-youtube-viewer"
49 perl-module_src_configure
50 perl-module_src_install
51 }
52
53 pkg_postinst() {
54 perl-module_pkg_postinst
55 einfo
56 elog "optional dependencies:"
57 elog " dev-perl/LWP-Protocol-https or dev-perl/libwww-perl[ssl]"
58 elog " (for HTTPS protocol and login support)"
59 elog " dev-perl/TermReadKey (to get the terminal width size)"
60 elog " dev-perl/Term-ReadLine-Gnu (for a better STDIN support)"
61 elog " dev-perl/Text-CharWidth (print the results in a fixed-width"
62 elog " format (--fixed-width, -W))"
63 elog " dev-perl/XML-Fast (faster XML to HASH conversion)"
64 elog " net-misc/gcap (for retrieving Youtube closed captions)"
65 elog " virtual/perl-File-Temp (for posting comments)"
66 elog " virtual/perl-Scalar-List-Utils (to shuffle the playlists"
67 elog " (--shuffle, -s))"
68 elog " virtual/perl-threads (threads support)"
69 einfo
70 }

  ViewVC Help
Powered by ViewVC 1.1.20