svn commit: r564672 - in head/www: . yt-dlp

Yuri Victorovich yuri at FreeBSD.org
Mon Feb 8 01:46:52 UTC 2021


Author: yuri
Date: Mon Feb  8 01:46:50 2021
New Revision: 564672
URL: https://svnweb.freebsd.org/changeset/ports/564672

Log:
  New port: www/yt-dlp: Command-line program to download videos from youtube & other platforms

Added:
  head/www/yt-dlp/
  head/www/yt-dlp/Makefile   (contents, props changed)
  head/www/yt-dlp/distinfo   (contents, props changed)
  head/www/yt-dlp/pkg-descr   (contents, props changed)
Modified:
  head/www/Makefile

Modified: head/www/Makefile
==============================================================================
--- head/www/Makefile	Mon Feb  8 00:01:17 2021	(r564671)
+++ head/www/Makefile	Mon Feb  8 01:46:50 2021	(r564672)
@@ -2310,6 +2310,7 @@
     SUBDIR += yourls
     SUBDIR += youtube_dl
     SUBDIR += youtube_dlc
+    SUBDIR += yt-dlp
     SUBDIR += ytdl
     SUBDIR += yuicompressor
     SUBDIR += zend-framework

Added: head/www/yt-dlp/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/www/yt-dlp/Makefile	Mon Feb  8 01:46:50 2021	(r564672)
@@ -0,0 +1,32 @@
+# $FreeBSD$
+
+PORTNAME=	yt-dlp
+DISTVERSION=	2021.02.04
+CATEGORIES=	www
+
+MAINTAINER=	yuri at FreeBSD.org
+COMMENT=	Command-line program to download videos from youtube & other platforms
+
+LICENSE=	UNLICENSE
+LICENSE_FILE=	${WRKSRC}/LICENSE
+
+RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}mutagen>0:audio/py-mutagen@${PY_FLAVOR}
+
+USES=		python
+USE_PYTHON=	distutils autoplist noflavors
+
+USE_GITHUB=	yes
+GH_ACCOUNT=	pukkandan
+
+NO_ARCH=	yes
+
+POST_PLIST=	fix-plist
+
+post-install: # https://github.com/pukkandan/yt-dlp/issues/59
+	@cd ${STAGEDIR}${PREFIX} && \
+		${RMDIR} share/doc/youtube_dlc share/man/man1 etc/bash_completion.d etc/fish/completions etc/fish
+
+fix-plist: # https://github.com/pukkandan/yt-dlp/issues/59
+	@${REINPLACE_CMD} -e "s|^etc/bash_completion\.d$$|| ; s|^etc/fish/completions$$|| ; s|^share/doc/youtube_dlc$$|| ; s|^share/man/man1$$||" ${TMPPLIST}
+
+.include <bsd.port.mk>

Added: head/www/yt-dlp/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/www/yt-dlp/distinfo	Mon Feb  8 01:46:50 2021	(r564672)
@@ -0,0 +1,3 @@
+TIMESTAMP = 1612745395
+SHA256 (pukkandan-yt-dlp-2021.02.04_GH0.tar.gz) = 798c8f386c3cb496956a2eb561420f2b4821036a0ad3fe2dccb6ffed261899a5
+SIZE (pukkandan-yt-dlp-2021.02.04_GH0.tar.gz) = 1539222

Added: head/www/yt-dlp/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/www/yt-dlp/pkg-descr	Mon Feb  8 01:46:50 2021	(r564672)
@@ -0,0 +1,6 @@
+A command-line program to download videos from youtube.com and many other video
+platforms.
+
+This is a fork of youtube-dlc which is inturn a fork of youtube-dl.
+
+WWW: https://github.com/pukkandan/yt-dlp


More information about the svn-ports-all mailing list