pkgsrc/net/get_iplayer/Makefile
nia 391b4cd478 get_iplayer: Update to 3.24
Changes in 3.24

    Restored 25fps HLS streams omitted from v3.23.
    Removed --hls-lq-audio option. It will now generate an error if used.
    Added --mpeg-ts option. If MPEG-TS is your preferred output format (e.g., for device compatibility), use this option to ensure output files are in proper MPEG-TS format regardless of the stream format (HLS or DASH). This is identical to --raw for HLS streams, but the DASH raw format is different. If you have been using --raw to generate MPEG-TS output, switch to --mpeg-ts (which overrides --raw).
2020-01-04 11:57:19 +00:00

34 lines
1,009 B
Makefile

# $NetBSD: Makefile,v 1.17 2020/01/04 11:57:19 nia Exp $
DISTNAME= get_iplayer-3.24
CATEGORIES= net multimedia
MASTER_SITES= ${MASTER_SITE_GITHUB:=get-iplayer/}
GITHUB_TAG= v${PKGVERSION_NOREV}
MAINTAINER= shattered@NetBSD.org
HOMEPAGE= https://github.com/get-iplayer/${GITHUB_PROJECT}
COMMENT= Search, index, record or stream BBC iPlayer broadcasts
LICENSE= gnu-gpl-v3
DEPENDS+= p5-XML-LibXML-[0-9]*:../../textproc/p5-XML-LibXML
DEPENDS+= p5-libwww>=6.0:../../www/p5-libwww
DEPENDS+= p5-Mojolicious>=6.0:../../www/p5-Mojolicious
USE_LANGUAGES= # none
NO_BUILD= yes
REPLACE_PERL= get_iplayer
PKG_SYSCONFSUBDIR= get_iplayer
INSTALLATION_DIRS= bin ${PKGMANDIR}/man1
SUBST_CLASSES+= paths
SUBST_STAGE.paths= pre-configure
SUBST_FILES.paths= get_iplayer
SUBST_SED.paths= -e "s:/etc/get_iplayer:${PKG_SYSCONFDIR}:g"
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/get_iplayer ${DESTDIR}${PREFIX}/bin/
${INSTALL_MAN} ${WRKSRC}/get_iplayer.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1/
.include "../../mk/bsd.pkg.mk"