[Midnightbsd-cvs] mports [16097] trunk/www/youtube_dl/pkg-message: update to 2014 version of youtube_dl
laffer1 at midnightbsd.org
laffer1 at midnightbsd.org
Sat Mar 22 23:25:16 EDT 2014
Revision: 16097
http://svnweb.midnightbsd.org/mports/?rev=16097
Author: laffer1
Date: 2014-03-22 23:25:15 -0400 (Sat, 22 Mar 2014)
Log Message:
-----------
update to 2014 version of youtube_dl
Modified Paths:
--------------
trunk/www/youtube_dl/Makefile
trunk/www/youtube_dl/distinfo
trunk/www/youtube_dl/pkg-descr
Added Paths:
-----------
trunk/www/youtube_dl/pkg-message
Removed Paths:
-------------
trunk/www/youtube_dl/files/patch-youtube-dl
Property Changed:
----------------
trunk/www/youtube_dl/pkg-descr
Modified: trunk/www/youtube_dl/Makefile
===================================================================
--- trunk/www/youtube_dl/Makefile 2014-03-23 03:22:18 UTC (rev 16096)
+++ trunk/www/youtube_dl/Makefile 2014-03-23 03:25:15 UTC (rev 16097)
@@ -1,29 +1,52 @@
# $MidnightBSD$
PORTNAME= youtube_dl
-PORTVERSION= 2011.03.29
+PORTVERSION= 2014.02.22.1
CATEGORIES= www
-MASTER_SITES= https://github.com/rg3/youtube-dl/raw/${PORTVERSION}/
-DISTNAME= youtube-dl
-EXTRACT_SUFX=
-DIST_SUBDIR= ${PORTNAME}/${PORTVERSION}
-EXTRACT_ONLY=
+MASTER_SITES= https://yt-dl.org/downloads/${PORTVERSION}/
+DISTNAME= youtube-dl-${PORTVERSION}
MAINTAINER= ports at MidnightBSD.org
-COMMENT= A program for downloading videos from YouTube.com
-LICENSE= publicdom
+COMMENT= Program for downloading videos from YouTube.com
-NO_WRKSUBDIR= yes
-NO_BUILD= yes
+LICENSE= unlicense
+LICENSE_NAME= The Unlicense
+LICENSE_FILE= ${WRKSRC}/LICENSE
+LICENSE_PERMS= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept
-USE_PYTHON= 2.5+
+BUILD_DEPENDS= zip:${PORTSDIR}/archivers/zip
-PLIST_FILES= bin/youtube-dl
+USE_PYTHON_RUN= 2
+ALL_TARGET= youtube-dl
+OPTIONS_DEFINE= BASH RTMPDUMP FFMPEG
+OPTIONS_DEFAULT=RTMPDUMP
+
+BASH_DESC= Install programmable completions for Bash
+RTMPDUMP_DESC= Use RTMPDUMP to download rtmp video streams
+
+PLIST_FILES= bin/youtube-dl \
+ man/man1/youtube-dl.1.gz
+
+WRKSRC= ${WRKDIR}/youtube-dl
+
+BASH_PLIST_FILES= etc/bash_completion.d/youtube-dl.sh
+FFMPEG_RUN_DEPENDS= ${LOCALBASE}/bin/ffprobe:${PORTSDIR}/multimedia/ffmpeg
+RTMPDUMP_RUN_DEPENDS= ${LOCALBASE}/bin/rtmpdump:${PORTSDIR}/multimedia/rtmpdump
+
+.include <bsd.mport.options.mk>
+
post-extract:
- @${CP} ${DISTDIR}/${DIST_SUBDIR}/${DISTNAME} ${WRKSRC}/youtube-dl
+ @# remove tarball provided version, build our own
+ @${RM} -f ${WRKSRC}/youtube-dl
do-install:
- @${INSTALL_SCRIPT} ${WRKSRC}/youtube-dl ${PREFIX}/bin/youtube-dl
+ ${INSTALL_SCRIPT} ${WRKSRC}/youtube-dl ${STAGEDIR}${PREFIX}/bin/youtube-dl
+ ${INSTALL_DATA} ${WRKSRC}/youtube-dl.1 ${STAGEDIR}${PREFIX}/man/man1/
+.if ${PORT_OPTIONS:MBASH}
+ ${MKDIR} ${STAGEDIR}${PREFIX}/etc/bash_completion.d
+ ${INSTALL_DATA} ${WRKSRC}/youtube-dl.bash-completion \
+ ${STAGEDIR}${PREFIX}/etc/bash_completion.d/youtube-dl.sh
+.endif
.include <bsd.port.mk>
Modified: trunk/www/youtube_dl/distinfo
===================================================================
--- trunk/www/youtube_dl/distinfo 2014-03-23 03:22:18 UTC (rev 16096)
+++ trunk/www/youtube_dl/distinfo 2014-03-23 03:25:15 UTC (rev 16097)
@@ -1,3 +1,2 @@
-SHA256 (youtube_dl/2011.03.29/youtube-dl) = d3afb7de373fc218fc44d2600b32472361a681eea69347b13548339079ac7c07
-RMD160 (youtube_dl/2011.03.29/youtube-dl) = 06e880ef9d7f78dc82f07bca7fd951efb4af98b3
-SIZE (youtube_dl/2011.03.29/youtube-dl) = 105317
+SHA256 (youtube-dl-2014.02.22.1.tar.gz) = 8f70eaec5aa1575755f496a4f83edb8779733dda59f0cf3de486228c970886f9
+SIZE (youtube-dl-2014.02.22.1.tar.gz) = 673300
Deleted: trunk/www/youtube_dl/files/patch-youtube-dl
===================================================================
--- trunk/www/youtube_dl/files/patch-youtube-dl 2014-03-23 03:22:18 UTC (rev 16096)
+++ trunk/www/youtube_dl/files/patch-youtube-dl 2014-03-23 03:25:15 UTC (rev 16097)
@@ -1,8 +0,0 @@
---- 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
- # Author: Danny Colligan
Modified: trunk/www/youtube_dl/pkg-descr
===================================================================
--- trunk/www/youtube_dl/pkg-descr 2014-03-23 03:22:18 UTC (rev 16096)
+++ trunk/www/youtube_dl/pkg-descr 2014-03-23 03:25:15 UTC (rev 16097)
@@ -2,4 +2,4 @@
from YouTube.com, metacafe.com, google video, photobucket videos,
yahoo videos, dailymotion and others
-WWW: http://rg3.github.com/youtube-dl/
+WWW: http://rg3.github.io/youtube-dl/
Property changes on: trunk/www/youtube_dl/pkg-descr
___________________________________________________________________
Deleted: cvs2svn:cvs-rev
## -1 +0,0 ##
-1.3
\ No newline at end of property
Added: trunk/www/youtube_dl/pkg-message
===================================================================
--- trunk/www/youtube_dl/pkg-message (rev 0)
+++ trunk/www/youtube_dl/pkg-message 2014-03-23 03:25:15 UTC (rev 16097)
@@ -0,0 +1,6 @@
+==============================================================================
+
+If you want to use mp3 audio conversion please make sure multimedia/ffmpeg is
+built with the "LAME" option enabled.
+
+==============================================================================
More information about the Midnightbsd-cvs
mailing list