diff options
author | Markos Chandras <hwoarang@gentoo.org> | 2012-02-29 21:33:32 +0000 |
---|---|---|
committer | Markos Chandras <hwoarang@gentoo.org> | 2012-02-29 21:33:32 +0000 |
commit | acada49809cab92a9c3223ecb22a757d993289c3 (patch) | |
tree | bc8659258fd60c78692ad9ea84fdbef27cde7441 /media-video/get_flash_videos/get_flash_videos-1.24-r1.ebuild | |
parent | Fixed the Header for ChangeLog (diff) | |
download | gentoo-2-acada49809cab92a9c3223ecb22a757d993289c3.tar.gz gentoo-2-acada49809cab92a9c3223ecb22a757d993289c3.tar.bz2 gentoo-2-acada49809cab92a9c3223ecb22a757d993289c3.zip |
Apply youtube fix from upstream. Bug #405761. Thanks to Peter Fox <gentoo@roestock.demon.co.uk>
(Portage version: 2.2.0_alpha88/cvs/Linux x86_64)
Diffstat (limited to 'media-video/get_flash_videos/get_flash_videos-1.24-r1.ebuild')
-rw-r--r-- | media-video/get_flash_videos/get_flash_videos-1.24-r1.ebuild | 53 |
1 files changed, 53 insertions, 0 deletions
diff --git a/media-video/get_flash_videos/get_flash_videos-1.24-r1.ebuild b/media-video/get_flash_videos/get_flash_videos-1.24-r1.ebuild new file mode 100644 index 000000000000..335f7a3010fe --- /dev/null +++ b/media-video/get_flash_videos/get_flash_videos-1.24-r1.ebuild @@ -0,0 +1,53 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/media-video/get_flash_videos/get_flash_videos-1.24-r1.ebuild,v 1.1 2012/02/29 21:33:32 hwoarang Exp $ + +EAPI=2 +inherit eutils perl-module + +MY_PN="App-${PN}" +MY_P="${MY_PN}-${PV}" + +DESCRIPTION="Downloads videos from various Flash-based video hosting sites" +HOMEPAGE="http://code.google.com/p/get-flash-videos/" +SRC_URI="http://get-flash-videos.googlecode.com/files/${MY_P}.tar.gz" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~x86 ~x86-linux" +IUSE="test" + +RDEPEND="dev-perl/WWW-Mechanize + perl-core/Module-CoreList + dev-perl/HTML-TokeParser-Simple" +DEPEND="${RDEPEND} + dev-perl/UNIVERSAL-require + test? ( media-video/rtmpdump + dev-perl/Tie-IxHash + dev-perl/XML-Simple + dev-perl/Crypt-Rijndael + dev-perl/Data-AMF + perl-core/IO-Compress )" + +SRC_TEST="do" + +S="${WORKDIR}/${MY_P}" +SRC_TEST="do" +myinst="DESTDIR=${D}" + +src_prepare() { + # 405761 + epatch "${FILESDIR}"/${PN}-youtubefix.patch + perl-module_src_prepare +} + +pkg_postinst() { + elog "Downloading videos from RTMP server requires the following packages :" + elog " media-video/rtmpdump" + elog " dev-perl/Tie-IxHash" + elog "Others optional dependencies :" + elog " dev-perl/XML-Simple" + elog " dev-perl/Crypt-Rijndael" + elog " dev-perl/Data-AMF" + elog " perl-core/IO-Compress" +} |