| 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.0_p20120820.ebuild,v 1.1 2012/08/20 15:12:23 hasufell Exp $
|
| 4 |
|
| 5 |
EAPI=4
|
| 6 |
|
| 7 |
inherit 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=""
|
| 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 |
DEPEND="virtual/perl-Module-Build"
|
| 29 |
|
| 30 |
SRC_TEST="do"
|
| 31 |
|
| 32 |
pkg_postinst() {
|
| 33 |
perl-module_pkg_postinst
|
| 34 |
einfo
|
| 35 |
elog "optional dependencies:"
|
| 36 |
elog " dev-perl/TermReadKey (to get the terminal width size)"
|
| 37 |
elog " dev-perl/Term-ReadLine-Gnu (for a better STDIN support)"
|
| 38 |
elog " net-misc/gcap (for retrieving Youtube closed captions)"
|
| 39 |
einfo
|
| 40 |
}
|