From d48964a8b3257034445449da74f07ee6e4c18b36 Mon Sep 17 00:00:00 2001 From: sthen Date: Sat, 19 Nov 2016 14:10:20 +0000 Subject: [PATCH] update to get_iplayer-2.97 --- multimedia/get_iplayer/Makefile | 10 ++++------ multimedia/get_iplayer/distinfo | 4 ++-- multimedia/get_iplayer/patches/patch-get_iplayer | 10 +++++----- 3 files changed, 11 insertions(+), 13 deletions(-) diff --git a/multimedia/get_iplayer/Makefile b/multimedia/get_iplayer/Makefile index 016c65a0d9d..24558a58db9 100644 --- a/multimedia/get_iplayer/Makefile +++ b/multimedia/get_iplayer/Makefile @@ -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 diff --git a/multimedia/get_iplayer/distinfo b/multimedia/get_iplayer/distinfo index 9b71d293800..6a68c3468fe 100644 --- a/multimedia/get_iplayer/distinfo +++ b/multimedia/get_iplayer/distinfo @@ -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 diff --git a/multimedia/get_iplayer/patches/patch-get_iplayer b/multimedia/get_iplayer/patches/patch-get_iplayer index 9351fcf8706..e63a8c6e8fa 100644 --- a/multimedia/get_iplayer/patches/patch-get_iplayer +++ b/multimedia/get_iplayer/patches/patch-get_iplayer @@ -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 {