fe7f057079
Changes: 20210417 -------- Core + [utils] Add support for experimental HTTP response status code 308 Permanent Redirect (#27877, #28768) Extractors + [lbry] Add support for HLS videos (#27877, #28768) * [youtube] Fix stretched ratio calculation * [youtube] Improve stretch extraction (#28769) * [youtube:tab] Improve grid extraction (#28725) + [youtube:tab] Detect series playlist on playlists page (#28723) + [youtube] Add more invidious instances (#28706) * [pluralsight] Extend anti-throttling timeout (#28712) * [youtube] Improve URL to extractor routing (#27572, #28335, #28742) + [maoritv] Add support for maoritelevision.com (#24552) + [youtube:tab] Pass innertube context and x-goog-visitor-id header along with continuation requests (#28702) * [mtv] Fix Viacom A/B Testing Video Player extraction (#28703) + [pornhub] Extract DASH and HLS formats from get_media end point (#28698) * [cbssports] Fix extraction (#28682) * [jamendo] Fix track extraction (#28686) * [curiositystream] Fix format extraction (#26845, #28668)
30 lines
994 B
Makefile
30 lines
994 B
Makefile
# $NetBSD: Makefile,v 1.240 2021/04/17 09:41:52 leot Exp $
|
|
|
|
# XXX: VERSION_DATE can contains also an optional part that indicates
|
|
# XXX: possible same day revisions. PKGNAME preserves that dotted part as is.
|
|
VERSION_DATE= 2021.04.17
|
|
DISTNAME= youtube-dl-${VERSION_DATE}
|
|
PKGNAME= ${DISTNAME:S/.//:S/.//}
|
|
CATEGORIES= net
|
|
MASTER_SITES= https://youtube-dl.org/downloads/${VERSION_DATE}/
|
|
|
|
MAINTAINER= leot@NetBSD.org
|
|
HOMEPAGE= https://ytdl-org.github.io/youtube-dl/
|
|
COMMENT= Download videos from youtube.com
|
|
LICENSE= public-domain
|
|
|
|
USE_LANGUAGES= # none
|
|
EGG_NAME= youtube_dl-${VERSION_DATE:S/.0/./g}
|
|
WRKSRC= ${WRKDIR}/youtube-dl
|
|
|
|
SUBST_CLASSES+= pkgmandir
|
|
SUBST_STAGE.pkgmandir= pre-configure
|
|
SUBST_FILES.pkgmandir= setup.py
|
|
SUBST_VARS.pkgmandir= PKGMANDIR
|
|
|
|
post-install:
|
|
${MV} ${DESTDIR}${PREFIX}/share/bash-completion/completions/youtube-dl.bash-completion \
|
|
${DESTDIR}${PREFIX}/share/bash-completion/completions/youtube-dl
|
|
|
|
.include "../../lang/python/egg.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|