summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMounir Lamouri <volkmar@gentoo.org>2009-05-17 15:07:55 +0000
committerMounir Lamouri <volkmar@gentoo.org>2009-05-17 15:07:55 +0000
commit712b8c588ae66b5d9f7f75c21d18caddb0bdc634 (patch)
tree54d4be6dbedfc49e3cc8a898a61010cf0b439fe0 /net-misc
parentAdd patch to build under FreeBSD and mark ~x86-fbsd (seems to be working). (diff)
downloadhistorical-712b8c588ae66b5d9f7f75c21d18caddb0bdc634.tar.gz
historical-712b8c588ae66b5d9f7f75c21d18caddb0bdc634.tar.bz2
historical-712b8c588ae66b5d9f7f75c21d18caddb0bdc634.zip
version bump to 1.3
Package-Manager: portage-2.1.6.11/cvs/Linux ppc
Diffstat (limited to 'net-misc')
-rw-r--r--net-misc/yaydl/ChangeLog8
-rw-r--r--net-misc/yaydl/Manifest7
-rw-r--r--net-misc/yaydl/files/yaydl-1.2-gentoo.patch47
-rw-r--r--net-misc/yaydl/yaydl-1.3.ebuild (renamed from net-misc/yaydl/yaydl-1.2.ebuild)16
4 files changed, 13 insertions, 65 deletions
diff --git a/net-misc/yaydl/ChangeLog b/net-misc/yaydl/ChangeLog
index 58784a2114b0..cf066e453aef 100644
--- a/net-misc/yaydl/ChangeLog
+++ b/net-misc/yaydl/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for net-misc/yaydl
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-misc/yaydl/ChangeLog,v 1.1 2009/05/10 08:47:00 volkmar Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-misc/yaydl/ChangeLog,v 1.2 2009/05/17 15:07:52 volkmar Exp $
+
+*yaydl-1.3 (17 May 2009)
+
+ 17 May 2009; Mounir Lamouri <volkmar@gentoo.org>
+ -files/yaydl-1.2-gentoo.patch, -yaydl-1.2.ebuild, +yaydl-1.3.ebuild:
+ Version bump to 1.3
*yaydl-1.2 (10 May 2009)
diff --git a/net-misc/yaydl/Manifest b/net-misc/yaydl/Manifest
index 71c461ba3033..cf9dd40fa5e5 100644
--- a/net-misc/yaydl/Manifest
+++ b/net-misc/yaydl/Manifest
@@ -1,5 +1,4 @@
-AUX yaydl-1.2-gentoo.patch 1557 RMD160 e38136aa3e013e3ea8071f5ea606095e47f06291 SHA1 ed1c81e2ff27d83d16a7568998c9e8318f54de2c SHA256 48a58e07eed608e933c6f3ffda0d0e3cebc6b7fb80d0d20a492f5763c3b37a59
-DIST yaydl-1.2.tar.gz 12065 RMD160 2746254e2821009587de53305b33cc8bf463db4a SHA1 3392ac98df04e1a0c61c2af2a0e4b67c58e147ef SHA256 1bea33842439abb7f5de030882305fa04ff5525b2d9d43c315161be7bb5aa607
-EBUILD yaydl-1.2.ebuild 1335 RMD160 8873d785cf2ebe77a99225207baef2f255690c5c SHA1 ae0e4f15652716c7f989c0923fd18dc363e2d251 SHA256 b48659144a0cadd79e0fc7d3e48eadc2a76562405da003cd1928a076954b7554
-MISC ChangeLog 365 RMD160 8be810146b7646483eda83b0b704ed37c343ff9e SHA1 cbd333b125c8bdca990018fa00fcfccb2fbf8ac5 SHA256 34cfdf6a5acbee335f8611bebd9615db320ec08f9e4c4821ed42d4f0000d0d06
+DIST yaydl-1.3.tar.gz 12615 RMD160 316528c78979af80522854a2cbe85a72790bfc98 SHA1 47b88d43387f00dc14322a60d10c87d1c7007780 SHA256 8222f404d6b7d37ce354cc49fcd2473a84148dc78f9f2a3b0cd7a9883c63e612
+EBUILD yaydl-1.3.ebuild 1106 RMD160 8c692310770b7d1abba720ed966aa5147e4d5034 SHA1 8afb47583c3a001626ea7de3caf0f0fa98a8eb0e SHA256 31cbb1afcfe9d0e307219c407424106190fcb925a6cf565d3ba6975082eef113
+MISC ChangeLog 536 RMD160 7f4b0180331c30873939d3abd1f826cbdc431008 SHA1 35b3806486a252fb9af92af0a6d271998f1e0b6b SHA256 0740906dc66b0a27a61bf26a064749330433f7e2ede3aebb1ad8e7e1c868aa01
MISC metadata.xml 356 RMD160 d9277bbefd4489851b39e079e4226f94688d10a2 SHA1 c34a87a7521b3c22ad5fd2493dd7939810d05fe7 SHA256 5a13ec18b5787a02e6d07afe5e0107b997a1e2ac86518b8aaa7855d405fa5126
diff --git a/net-misc/yaydl/files/yaydl-1.2-gentoo.patch b/net-misc/yaydl/files/yaydl-1.2-gentoo.patch
deleted file mode 100644
index 8fcf6761463c..000000000000
--- a/net-misc/yaydl/files/yaydl-1.2-gentoo.patch
+++ /dev/null
@@ -1,47 +0,0 @@
---- yaydl.pl.old 2009-05-10 10:18:59.000000000 +0200
-+++ yaydl.pl 2009-05-10 10:30:02.000000000 +0200
-@@ -521,15 +521,15 @@
- my $mencoder = which "mencoder";
- my @commands;
- my $return;
-+ if(! $ffmpeg){
-+ push (@commands, "ffmpeg -i \"$source\" \"$encode\"");
-+ print "ffmpeg: found\n";
-+ }
- if (! $mencoder){
- push(@commands, "mencoder \"$source\" -oac mp3lame -lameopts abr:br=92" .
- " -ovc xvid -xvidencopts bitrate=150 -o \"$encode\"");
- print "mencoder: found\n";
- }
-- if(! $ffmpeg){
-- push (@commands, "ffmpeg -i \"$source\" \"$encode\"");
-- print "ffmpeg: found\n";
-- }
- if($ffmpeg && $mencoder){
- $options{'encode'} = 0;
- $urls{$base}{'error'} =
-@@ -561,21 +561,12 @@
- my $return = 0;
- my $encode = removeextension($source) . ".mp3";
- $urls{$base}{'sound'} = $encode;
-- if (which("mplayer") == 1){
-+ if (which("ffmpeg") == 1){
- $options{'sound'} = 0;
-- $urls{$base}{'error'} = "mplayer not found - encoding disabled";
-+ $urls{$base}{'error'} = "ffmpeg not found - extracting soundtrack disabled";
- return -1;
- }
-- if(defined $urls{$base}{'ismp4'}){
-- if (which("ffmpeg") == 1){
-- $urls{$base}{'error'} = "ffmpeg is required to encode mp4-videos!\n";
-- return -1
-- }
-- $return = system("ffmpeg -i \"$source\" -vn -acodec libmp3lame -ab 192k \"$encode\"");
-- }
-- else {
-- $return = system("mplayer -dumpaudio -dumpfile \"$encode\" \"$source\"");
-- }
-+ $return = system("ffmpeg -i \"$source\" -vn -acodec libmp3lame -ab 192k \"$encode\"");
- if ($return != 0){
- $options{'sound'} = 0;
- $options{'tag'} = 0;
diff --git a/net-misc/yaydl/yaydl-1.2.ebuild b/net-misc/yaydl/yaydl-1.3.ebuild
index e79cbc1230e0..a5108f6a7d0f 100644
--- a/net-misc/yaydl/yaydl-1.2.ebuild
+++ b/net-misc/yaydl/yaydl-1.3.ebuild
@@ -1,11 +1,9 @@
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-misc/yaydl/yaydl-1.2.ebuild,v 1.1 2009/05/10 08:47:00 volkmar Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-misc/yaydl/yaydl-1.3.ebuild,v 1.1 2009/05/17 15:07:52 volkmar Exp $
EAPI="2"
-inherit eutils
-
DESCRIPTION="Yet Another Youtube DownLoader which is downloading more than youtube"
HOMEPAGE="http://pdes-net.org/x-haui/yaydl.html"
SRC_URI="http://pdes-net.org/x-haui/scripts/perl/yaydl_youtubedownloader/${P}.tar.gz"
@@ -23,19 +21,11 @@ RDEPEND="dev-lang/perl
dev-perl/URI
encode? ( || ( media-video/ffmpeg[encode]
media-video/mplayer[encode,mp3,xvid] ) )
- soundextract? ( || ( media-video/ffmpeg[encode,mp3] ) )"
+ soundextract? ( || ( media-video/ffmpeg[encode,mp3]
+ ( media-video/mplayer media-sound/lame ) ) )"
S=${WORKDIR}/${PN}
-# TODO:
-# need from upstream to fix mencoder soundextract and choose a default encoder
-
-src_prepare() {
- # let ffmpeg doing soundextract and remove mencoder soundextract
- # making ffmpeg first choice for encoding
- epatch "${FILESDIR}"/${P}-gentoo.patch
-}
-
src_install() {
exeinto /usr/bin
newexe ${PN}.pl ${PN} || die "newexe failed"