aboutsummaryrefslogtreecommitdiffstats
path: root/www/youtube_dl
diff options
context:
space:
mode:
authoraraujo <araujo@FreeBSD.org>2009-03-07 12:15:34 +0800
committeraraujo <araujo@FreeBSD.org>2009-03-07 12:15:34 +0800
commitbb0265b213b314a7faabf2cb3a63d22826a73e6b (patch)
tree962fc38a3814b828b4aea11dae0bccf533f551e5 /www/youtube_dl
parent2d280dfb0133f6b449231898b11c1805219d1c53 (diff)
downloadfreebsd-ports-gnome-bb0265b213b314a7faabf2cb3a63d22826a73e6b.tar.gz
freebsd-ports-gnome-bb0265b213b314a7faabf2cb3a63d22826a73e6b.tar.zst
freebsd-ports-gnome-bb0265b213b314a7faabf2cb3a63d22826a73e6b.zip
- Update to 2009.02.07.
PR: ports/132375 Submitted by: Sunpoet Po-Chuan Hsieh <sunpoet@sunpoet.net>
Diffstat (limited to 'www/youtube_dl')
-rw-r--r--www/youtube_dl/Makefile6
-rw-r--r--www/youtube_dl/distinfo6
-rw-r--r--www/youtube_dl/files/conv2avi.patch14
-rw-r--r--www/youtube_dl/files/patch-youtube-dl6
4 files changed, 16 insertions, 16 deletions
diff --git a/www/youtube_dl/Makefile b/www/youtube_dl/Makefile
index c392a8baec85..b837d4b398b0 100644
--- a/www/youtube_dl/Makefile
+++ b/www/youtube_dl/Makefile
@@ -6,10 +6,10 @@
#
PORTNAME= youtube_dl
-PORTVERSION= 2008.11.01
+PORTVERSION= 2009.02.07
CATEGORIES= www
MASTER_SITES= http://www.arrakis.es/~rggi3/youtube-dl/
-DISTNAME= youtube-dl-${PORTVERSION}
+DISTNAME= youtube-dl
EXTRACT_SUFX=
EXTRACT_ONLY=
@@ -44,7 +44,7 @@ RUN_DEPENDS+= flv2mpeg4:${PORTSDIR}/multimedia/flv2mpeg4
.endif
post-extract:
- @${CP} ${DISTDIR}/youtube-dl-${PORTVERSION} ${WRKSRC}/youtube-dl
+ @${CP} ${DISTDIR}/youtube-dl ${WRKSRC}/youtube-dl
post-patch:
@${REINPLACE_CMD} -e 's|%%PYTHON_CMD%%|${PYTHON_CMD}|' ${WRKSRC}/youtube-dl
diff --git a/www/youtube_dl/distinfo b/www/youtube_dl/distinfo
index 98923841ccad..a6f5b6b23aec 100644
--- a/www/youtube_dl/distinfo
+++ b/www/youtube_dl/distinfo
@@ -1,3 +1,3 @@
-MD5 (youtube-dl-2008.11.01) = 078560634b18fb15bc8806d5d4c6778c
-SHA256 (youtube-dl-2008.11.01) = c7cb295e33d557f5c0f09dfbd5f111b1b210ed3af366f125b1c5c29450ad1a99
-SIZE (youtube-dl-2008.11.01) = 31797
+MD5 (youtube-dl) = edfcf49117782e554cfecfd3d1c73bf0
+SHA256 (youtube-dl) = b30930d194f47de35c780169002bce4aeedd65c9d4e4750d5d51f17f745c87f9
+SIZE (youtube-dl) = 36013
diff --git a/www/youtube_dl/files/conv2avi.patch b/www/youtube_dl/files/conv2avi.patch
index dc57ddded6b5..63313a76605d 100644
--- a/www/youtube_dl/files/conv2avi.patch
+++ b/www/youtube_dl/files/conv2avi.patch
@@ -1,6 +1,6 @@
---- youtube-dl.orig 2008-10-12 16:49:43.000000000 +0400
-+++ youtube-dl 2008-10-12 16:54:22.000000000 +0400
-@@ -309,6 +309,20 @@
+--- youtube-dl.orig 2009-02-18 15:18:40.981138312 +0800
++++ youtube-dl 2009-02-18 15:20:30.904521591 +0800
+@@ -315,6 +315,20 @@
retcode = self.trouble('ERROR: postprocessing: %s' % str(err))
continue
@@ -21,7 +21,7 @@
break
if not suitable_found:
retcode = self.trouble('ERROR: no suitable InfoExtractor: %s' % url)
-@@ -859,6 +873,8 @@
+@@ -964,6 +978,8 @@
action='store_true', dest='useliteral', help='use literal title in file name', default=False)
parser.add_option('-n', '--netrc',
action='store_true', dest='usenetrc', help='use .netrc authentication data', default=False)
@@ -30,11 +30,11 @@
parser.add_option('-g', '--get-url',
action='store_true', dest='geturl', help='simulate, quiet but print URL', default=False)
parser.add_option('-e', '--get-title',
-@@ -915,6 +931,7 @@
+@@ -1037,6 +1053,7 @@
or u'%(id)s.%(ext)s'),
'ignoreerrors': opts.ignoreerrors,
'ratelimit': opts.ratelimit,
+ 'useavi': opts.useavi,
+ 'nooverwrites': opts.nooverwrites,
})
- fd.add_info_extractor(youtube_pl_ie)
- fd.add_info_extractor(metacafe_ie)
+ fd.add_info_extractor(youtube_search_ie)
diff --git a/www/youtube_dl/files/patch-youtube-dl b/www/youtube_dl/files/patch-youtube-dl
index ad970586d89d..18946bb2de40 100644
--- a/www/youtube_dl/files/patch-youtube-dl
+++ b/www/youtube_dl/files/patch-youtube-dl
@@ -1,8 +1,8 @@
---- youtube-dl-orig 2008-07-24 07:42:53.000000000 +0400
-+++ youtube-dl 2008-07-24 07:45:30.000000000 +0400
+--- youtube-dl.orig 2009-02-18 15:17:26.576520965 +0800
++++ youtube-dl 2009-02-18 15:17:42.870252710 +0800
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!%%PYTHON_CMD%%
# -*- coding: utf-8 -*-
# Author: Ricardo Garcia Gonzalez
- # License: Public domain code
+ # Author: Danny Colligan