update to 1.70 with support for Channel4 4oD, based on a diff

from David Cathcart.
This commit is contained in:
sthen 2009-04-29 00:59:07 +00:00
parent d3ae746468
commit 40913f3abc
3 changed files with 13 additions and 14 deletions

View File

@ -1,9 +1,8 @@
# $OpenBSD: Makefile,v 1.3 2009/04/21 15:13:04 sthen Exp $
# $OpenBSD: Makefile,v 1.4 2009/04/29 00:59:07 sthen Exp $
COMMENT = download BBC iPlayer and ITV programmes
DISTNAME = get_iplayer-1.63
PKGNAME = ${DISTNAME}p0
DISTNAME = get_iplayer-1.70
CATEGORIES = multimedia
@ -18,7 +17,7 @@ PERMIT_DISTFILES_FTP = Yes
MASTER_SITES = http://linuxcentre.net/get_iplayer/packages/
RUN_DEPENDS = ::audio/id3lib \
::net/rtmpdump \
:rtmpdump->=1.5:net/rtmpdump \
::www/p5-HTML-Parser \
::www/p5-libwww
# XXX wants a newer p5-libwww feature; workaround in patches/patch-get_iplayer

View File

@ -1,5 +1,5 @@
MD5 (get_iplayer-1.63.tar.gz) = tgEVl5r5aoHo0AuFvxXrkg==
RMD160 (get_iplayer-1.63.tar.gz) = EZ9qYLDROyAxSXDqAMzq4/327D0=
SHA1 (get_iplayer-1.63.tar.gz) = yTWEFPQqsFC+8w5KgEDhj78c+x8=
SHA256 (get_iplayer-1.63.tar.gz) = LiXYomQhB/MP/yev5JQ06M0Bv+BUMcVgpqzQyxMaJYU=
SIZE (get_iplayer-1.63.tar.gz) = 98727
MD5 (get_iplayer-1.70.tar.gz) = DKP2LDgvah1FO085a2cJCw==
RMD160 (get_iplayer-1.70.tar.gz) = XjoAzO5sJybBwATbjqy5l1w9rmU=
SHA1 (get_iplayer-1.70.tar.gz) = ZKpD3mlpdinya+t4/r87GG+luZ8=
SHA256 (get_iplayer-1.70.tar.gz) = ZL8oal7+Cg1bgp/GwnUGwc3Axs9YN4f4qum+qwzsjwI=
SIZE (get_iplayer-1.70.tar.gz) = 105360

View File

@ -1,11 +1,11 @@
$OpenBSD: patch-get_iplayer,v 1.2 2009/04/19 13:32:20 sthen Exp $
$OpenBSD: patch-get_iplayer,v 1.3 2009/04/29 00:59:07 sthen Exp $
- use id3tag (from audio/id3lib) by default
- workaround requirement for newer p5-libwww
--- get_iplayer.orig Sun Apr 19 10:41:29 2009
+++ get_iplayer Sun Apr 19 14:26:14 2009
@@ -455,7 +455,7 @@ sub find_matches {
--- get_iplayer.orig Mon Apr 27 23:32:58 2009
+++ get_iplayer Tue Apr 28 12:15:59 2009
@@ -500,7 +500,7 @@ sub find_matches {
$lame_opts .= ' --quiet ' if $opt->{quiet};
$vlc = $opt->{vlc} || 'cvlc';
$vlc_opts = '-vv' if $opt->{verbose} || $opt->{debug};
@ -14,7 +14,7 @@ $OpenBSD: patch-get_iplayer,v 1.2 2009/04/19 13:32:20 sthen Exp $
$tee = 'tee';
$rtmpdump = $opt->{rtmpdump} || 'rtmpdump';
$bandwidth = $opt->{bandwidth} || 512000; # Download bandwidth bps used for rtsp streams
@@ -1187,7 +1187,7 @@ sub download_block {
@@ -1251,7 +1251,7 @@ sub download_block {
sub create_ua {
my $agent = shift;
my $ua = LWP::UserAgent->new;