You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/net-misc/yaydl/yaydl-1.5.2.ebuild

48 lines
1.0 KiB

# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-misc/yaydl/yaydl-1.5.2.ebuild,v 1.2 2015/03/21 19:53:48 jlec Exp $
EAPI=5
DESCRIPTION="Yet Another Youtube DownLoader which is downloading more than youtube"
HOMEPAGE="http://pdes-net.org/x-haui/"
SRC_URI="http://pdes-net.org/x-haui/scripts/perl/yaydl_youtubedownloader/${P}.tar.gz"
LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~amd64 ~ppc ~x86"
IUSE="encode soundextract"
DEPEND=""
RDEPEND="
dev-lang/perl
dev-perl/LWP-UserAgent-Determined
dev-perl/MP3-Info
dev-perl/Term-ProgressBar
dev-perl/URI
encode? (
|| (
virtual/ffmpeg[encode]
media-video/mplayer[encode,mp3,xvid]
)
)
soundextract? (
|| (
virtual/ffmpeg[encode,mp3]
(
media-video/mplayer
media-sound/lame
)
)
)"
src_install() {
newbin ${PN}.pl ${PN}
dodoc changelog README
}
pkg_postinst() {
elog "${PN} is supporting a lot of video websites."
elog "Look at ${HOMEPAGE} for more information."
}