update SWF player url for swfVfy.

This commit is contained in:
sthen 2013-06-06 21:11:09 +00:00
parent 129403029f
commit bc09a073a3
2 changed files with 27 additions and 17 deletions

View File

@ -1,23 +1,24 @@
# $OpenBSD: Makefile,v 1.66 2013/05/04 09:24:34 sthen Exp $
# $OpenBSD: Makefile,v 1.67 2013/06/06 21:11:09 sthen Exp $
COMMENT = download/stream programmes from BBC iPlayer
COMMENT= download/stream programmes from BBC iPlayer
DISTNAME = get_iplayer-2.82pl3
WRKDIST = ${WRKDIR}/get_iplayer
CATEGORIES = multimedia
DISTNAME= get_iplayer-2.82pl3
REVISION= 0
WRKDIST= ${WRKDIR}/get_iplayer
CATEGORIES= multimedia
# http://git.infradead.org/get_iplayer.git
HOMEPAGE = http://www.infradead.org/get_iplayer/
HOMEPAGE= http://www.infradead.org/get_iplayer/
# GPLv3+
PERMIT_PACKAGE_CDROM = Yes
PERMIT_PACKAGE_CDROM= Yes
MAINTAINER = Stuart Henderson <sthen@openbsd.org>
MAINTAINER= Stuart Henderson <sthen@openbsd.org>
MASTER_SITES = http://spacehopper.org/mirrors/
#MASTER_SITES = ftp://ftp.infradead.org/pub/get_iplayer/
MASTER_SITES= http://spacehopper.org/mirrors/
#MASTER_SITES= ftp://ftp.infradead.org/pub/get_iplayer/
RUN_DEPENDS = audio/id3lib \
RUN_DEPENDS= audio/id3lib \
audio/p5-MP3-Tag \
multimedia/atomicparsley \
net/rtmpdump>=2.4 \
@ -25,10 +26,10 @@ RUN_DEPENDS = audio/id3lib \
www/p5-HTML-Parser \
www/p5-libwww>=5.826
BUILD_DEPENDS = ${RUN_DEPENDS}
BUILD_DEPENDS= ${RUN_DEPENDS}
NO_TEST = Yes
PKG_ARCH = *
NO_TEST= Yes
PKG_ARCH= *
pre-configure:
${SUBST_CMD} ${WRKSRC}/get_iplayer
@ -39,7 +40,7 @@ do-build:
do-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/get_iplayer/plugins
${SUBST_CMD} -o ${SHAREOWN} -g ${SHAREGRP} -m 644 -c \
${FILESDIR}/options.sample ${PREFIX}/share/get_iplayer/options.sample
${FILESDIR}/options.sample ${PREFIX}/share/get_iplayer/options.sample
${INSTALL_SCRIPT} ${WRKSRC}/get_iplayer ${PREFIX}/bin
${INSTALL_SCRIPT} ${WRKSRC}/plugins/* \
${PREFIX}/share/get_iplayer/plugins

View File

@ -1,6 +1,6 @@
$OpenBSD: patch-get_iplayer,v 1.54 2013/05/04 09:24:34 sthen Exp $
$OpenBSD: patch-get_iplayer,v 1.55 2013/06/06 21:11:10 sthen Exp $
--- get_iplayer.orig Wed Apr 24 10:14:08 2013
+++ get_iplayer Wed Apr 24 10:16:11 2013
+++ get_iplayer Thu Jun 6 22:10:08 2013
@@ -316,6 +316,7 @@ $opt->{verbose} = 1 if $opt_pre->{verbose};
$opt->{quiet} = 1 if $opt_pre->{quiet};
$opt->{pvr} = 1 if $opt_pre->{pvr};
@ -52,6 +52,15 @@ $OpenBSD: patch-get_iplayer,v 1.54 2013/05/04 09:24:34 sthen Exp $
],
safari => [
'Mozilla/5.0 (iPhone; U; CPU iPhone OS 2_0 like Mac OS X; en-us) AppleWebKit/525.18.1 (KHTML, like Gecko) Version/3.1.1 Mobile/5A345 Safari/525.20',
@@ -5922,7 +5925,7 @@ sub get_stream_data_cdn {
# Common attributes
# swfurl = Default iPlayer swf version
my $conn = {
- swfurl => "http://www.bbc.co.uk/emp/revisions/18269_21576_10player.swf?revision=18269_21576",
+ swfurl => "http://www.bbc.co.uk/emp/releases/iplayer/revisions/617463_618125_4/617463_618125_4_emp.swf",
ext => $ext,
streamer => $streamer,
bitrate => $mattribs->{bitrate},
@@ -9715,7 +9718,7 @@ sub tag_file_id3 {
# add basic ID3 tag with id3v2
sub tag_file_id3_basic {