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

Contents of /net-misc/youtube-viewer/youtube-viewer-3.0.1_p20120924.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (show annotations) (download)
Fri Oct 5 11:24:57 2012 UTC (7 years, 4 months ago) by hasufell
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +1 -1 lines
FILE REMOVED
version bump, remove old

(Portage version: 2.2.0_alpha134/cvs/Linux x86_64)

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.1_p20120924.ebuild,v 1.1 2012/09/24 23:39:29 hasufell Exp $
4
5 EAPI=4
6
7 inherit eutils perl-module
8
9 DESCRIPTION="A command line utility for viewing youtube-videos in Mplayer"
10 HOMEPAGE="http://trizen.googlecode.com"
11 SRC_URI="http://dev.gentoo.org/~hasufell/distfiles/${P}.tar.xz"
12
13 LICENSE="GPL-3"
14 SLOT="0"
15 KEYWORDS="~amd64 ~x86"
16 IUSE="gtk"
17
18 RDEPEND="
19 dev-perl/Data-Dump
20 dev-perl/libwww-perl
21 dev-perl/XML-Fast
22 || ( media-video/mplayer[X,network]
23 media-video/mplayer2[X,network] )
24 virtual/perl-File-Spec
25 virtual/perl-Getopt-Long
26 virtual/perl-Scalar-List-Utils
27 virtual/perl-Term-ANSIColor
28 gtk? (
29 dev-perl/gtk2-perl
30 !net-misc/gtk-youtube-viewer
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 src_prepare() {
39 epatch "${FILESDIR}"/${P}-desktopfile.patch
40 perl-module_src_prepare
41 }
42
43 # 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 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 }

  ViewVC Help
Powered by ViewVC 1.1.20