update to get_iplayer-2.97

This commit is contained in:
sthen 2016-11-19 14:10:20 +00:00
parent b344dbd61b
commit d48964a8b3
3 changed files with 11 additions and 13 deletions

View File

@ -1,12 +1,10 @@
# $OpenBSD: Makefile,v 1.100 2016/06/11 22:15:05 sthen Exp $
# $OpenBSD: Makefile,v 1.101 2016/11/19 14:10:20 sthen Exp $
COMMENT= download/stream programmes from BBC iPlayer
# `a' suffix needs to stay until at least 2.95 proper
DISTNAME= get_iplayer-2.95pre20160611a
GH_ACCOUNT= get-iplayer
GH_PROJECT= get_iplayer
GH_COMMIT= 96da6fc1decb8836a75100065a7fc28e822304f0
GH_TAGNAME= v2.97
CATEGORIES= multimedia
@ -42,8 +40,8 @@ do-install:
${SUBST_DATA} -m 644 \
${FILESDIR}/options.sample ${PREFIX}/share/get_iplayer/options.sample
${INSTALL_SCRIPT} ${WRKSRC}/get_iplayer ${PREFIX}/bin
sed -i 's,2.95-dev,2.95-dev-${GH_COMMIT:C/(.{9}).*/\1/},' \
${PREFIX}/bin/get_iplayer
${INSTALL_MAN} ${WRKSRC}/get_iplayer.1 ${PREFIX}/man/man1
#sed -i 's,2.95-dev,2.95-dev-${GH_COMMIT:C/(.{9}).*/\1/},' ${PREFIX}/bin/get_iplayer
.include <bsd.port.mk>

View File

@ -1,2 +1,2 @@
SHA256 (get_iplayer-2.95pre20160611a.tar.gz) = 32XRy4rhWpPerefN5/27H5qWayt7w/Lc0aM/DzmstO0=
SIZE (get_iplayer-2.95pre20160611a.tar.gz) = 172129
SHA256 (get_iplayer-2.97.tar.gz) = hGTAr7laO05CCN3tssd/TuudRu3+3Fhwd/yrKn+dZi0=
SIZE (get_iplayer-2.97.tar.gz) = 173532

View File

@ -1,13 +1,13 @@
$OpenBSD: patch-get_iplayer,v 1.77 2016/06/11 22:15:05 sthen Exp $
--- get_iplayer.orig Sat Jun 11 20:35:45 2016
+++ get_iplayer Sat Jun 11 22:43:32 2016
$OpenBSD: patch-get_iplayer,v 1.78 2016/11/19 14:10:20 sthen Exp $
--- get_iplayer.orig Sun Sep 25 17:32:57 2016
+++ get_iplayer Sat Nov 19 14:05:06 2016
@@ -1,4 +1,4 @@
-#!/usr/bin/env perl
+#!/usr/bin/perl
#
# get_iplayer - Lists, Records and Streams BBC iPlayer TV and Radio programmes and BBC podcasts
#
@@ -372,6 +372,7 @@ if ( $opt->{encodinglocale} =~ /UTF-?8/i ) {
@@ -373,6 +373,7 @@ if ( $opt->{encodinglocale} =~ /UTF-?8/i ) {
}
# Copy a few options over to opt so that logger works
@ -15,7 +15,7 @@ $OpenBSD: patch-get_iplayer,v 1.77 2016/06/11 22:15:05 sthen Exp $
$opt->{debug} = $opt->{verbose} = 1 if $opt_pre->{debug};
$opt->{verbose} = 1 if $opt_pre->{verbose};
$opt->{silent} = $opt->{quiet} = 1 if $opt_pre->{silent};
@@ -432,7 +433,7 @@ my $plugin_dir_system;
@@ -433,7 +434,7 @@ my $plugin_dir_system;
if ( defined $ENV{ALLUSERSPROFILE} && $^O eq "MSWin32" ) {
$plugin_dir_system = $ENV{ALLUSERSPROFILE}.'/get_iplayer/plugins';
} else {