View | Details | Raw Unified | Return to bug 152452
Collapse All | Expand All

(-)www/youtube_dl/Makefile (-2 / +10 lines)
Lines 6-14 Link Here
6
#
6
#
7
7
8
PORTNAME=	youtube_dl
8
PORTNAME=	youtube_dl
9
PORTVERSION=	2010.10.24
9
PORTVERSION=	2010.11.19
10
CATEGORIES=	www
10
CATEGORIES=	www
11
MASTER_SITES=	http://bitbucket.org/rg3/youtube-dl/raw/${PORTVERSION}/
11
MASTER_SITES=	https://github.com/rg3/youtube-dl/raw/${PORTVERSION}/
12
DISTNAME=	youtube-dl
12
DISTNAME=	youtube-dl
13
EXTRACT_SUFX=	# empty
13
EXTRACT_SUFX=	# empty
14
DIST_SUBDIR=	${PORTNAME}/${PORTVERSION}
14
DIST_SUBDIR=	${PORTNAME}/${PORTVERSION}
Lines 23-28 Link Here
23
23
24
PLIST_FILES=	bin/youtube-dl
24
PLIST_FILES=	bin/youtube-dl
25
25
26
OPTIONS=	RTMPDUMP	"Use RTMPDUMP to download rtmp video streams"	on
27
28
.include <bsd.port.options.mk>
29
30
.if defined(WITH_RTMPDUMP)
31
RUN_DEPENDS+=	rtmpdump:${PORTSDIR}/multimedia/rtmpdump
32
.endif
33
26
post-extract:
34
post-extract:
27
	@${CP} ${DISTDIR}/${DIST_SUBDIR}/${DISTNAME} ${WRKSRC}/youtube-dl
35
	@${CP} ${DISTDIR}/${DIST_SUBDIR}/${DISTNAME} ${WRKSRC}/youtube-dl
28
36
(-)www/youtube_dl/distinfo (-2 / +2 lines)
Lines 1-2 Link Here
1
SHA256 (youtube_dl/2010.10.24/youtube-dl) = 1ec91cd1d791c62777724fb650fde3d6da1ad5c86b4f46ec0368759ce7a7a381
1
SHA256 (youtube_dl/2010.11.19/youtube-dl) = 016d9559610e2043ba140de41ad69580dc5510dc9001df7614e1d38d87c40e25
2
SIZE (youtube_dl/2010.10.24/youtube-dl) = 82350
2
SIZE (youtube_dl/2010.11.19/youtube-dl) = 84216
(-)www/youtube_dl/pkg-descr (-2 / +3 lines)
Lines 1-4 Link Here
1
youtube-dl is a small command-line program for downloading videos 
1
youtube-dl is a small command-line program for downloading videos 
2
from YouTube.com.
2
from YouTube.com, metacafe.com, google video, photobucket videos,
3
yahoo videos, dailymotion and others
3
4
4
WWW: http://bitbucket.org/rg3/youtube-dl/
5
WWW: http://rg3.github.com/youtube-dl/
(-)www/youtube_dl/files/patch-youtube-dl (+11 lines)
Line 0 Link Here
1
--- youtube-dl.orig	2010-11-21 16:27:42.000000000 +0000
2
+++ youtube-dl	2010-11-21 16:28:42.000000000 +0000
3
@@ -509,7 +509,7 @@
4
 		# Download using rtmpdump. rtmpdump returns exit code 2 when
5
 		# the connection was interrumpted and resuming appears to be
6
 		# possible. This is part of rtmpdump's normal usage, AFAIK.
7
-		basic_args = ['rtmpdump', '-q'] + [[], ['-W', player_url]][player_url is not None] + ['-r', url, '-o', filename]
8
+		basic_args = ['rtmpdump'] + [[], ['-q']][self.params.get('quiet', False)] + [[], ['-W', player_url]][player_url is not None] + ['-r', url, '-o', filename]
9
 		retval = subprocess.call(basic_args + [[], ['-e', '-k', '1']][self.params.get('continuedl', False)])
10
 		while retval == 2 or retval == 1:
11
 			prevsize = os.path.getsize(filename)

Return to bug 152452