openbsd-ports/multimedia/get_iplayer/Makefile
sthen ce8750bef0 Update to get_iplayer 1.99; adds support for live streams and embedded
media on many BBC web pages. Live streams tested by Pedro la Peu, thanks!
(he was seeing problems with mplayer stuttering about 50% of the time,
but perfect on reconnecting).

Try "get_iplayer --pid tv:<url or channel> --stdout --nowrite" piped
into "mplayer -cache 512 -" or "ffplay -".
2009-06-14 11:47:45 +00:00

39 lines
950 B
Makefile

# $OpenBSD: Makefile,v 1.11 2009/06/14 11:47:45 sthen Exp $
COMMENT = download BBC iPlayer and ITV programmes
DISTNAME = get_iplayer-1.99
CATEGORIES = multimedia
HOMEPAGE = http://linuxcentre.net/get_iplayer/
# GPLv3+
PERMIT_PACKAGE_CDROM = Yes
PERMIT_PACKAGE_FTP = Yes
PERMIT_DISTFILES_CDROM =Yes
PERMIT_DISTFILES_FTP = Yes
MASTER_SITES = http://linuxcentre.net/get_iplayer/packages/ \
http://linuxcentre.net/get_iplayer/packages/archive/
RUN_DEPENDS = ::audio/id3lib \
::net/flvstreamer \
::www/p5-HTML-Parser \
:p5-libwww->=5.826:www/p5-libwww
NO_BUILD = Yes
NO_REGRESS = Yes
pre-configure:
${SUBST_CMD} ${WRKSRC}/get_iplayer
do-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/get_iplayer/plugins
${INSTALL_SCRIPT} ${WRKSRC}/get_iplayer ${PREFIX}/bin
${INSTALL_SCRIPT} ${WRKSRC}/plugins/* \
${PREFIX}/share/get_iplayer/plugins
${INSTALL_MAN} ${WRKSRC}/get_iplayer.1 ${PREFIX}/man/man1
.include <bsd.port.mk>