pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/net/get_iplayer Update net/get_iplayer to version 2.97.
details: https://anonhg.NetBSD.org/pkgsrc/rev/fe637e62b41d
branches: trunk
changeset: 355017:fe637e62b41d
user: jperkin <jperkin%pkgsrc.org@localhost>
date: Fri Nov 18 09:58:53 2016 +0000
description:
Update net/get_iplayer to version 2.97.
pkgsrc changes:
- Migrate to GitHub.
- Remove no longer valid options file.
- Simplify patching.
Upstream changes since 2.94:
A significant number of changes have been made since 2.94, so for the
full list of changes please refer to the release notes for each release
since then here:
https://github.com/get-iplayer/get_iplayer/wiki/release297
https://github.com/get-iplayer/get_iplayer/wiki/release296
https://github.com/get-iplayer/get_iplayer/wiki/release295
The most visible change (for me) is that get_iplayer now defaults to
fetching the best quality file as a transport stream, rather than the
previous default of lower quality flash.
diffstat:
net/get_iplayer/Makefile | 31 +++++-------
net/get_iplayer/PLIST | 3 +-
net/get_iplayer/distinfo | 12 ++--
net/get_iplayer/files/options.default | 2 -
net/get_iplayer/patches/patch-aa | 28 -----------
net/get_iplayer/patches/patch-windows_get_iplayer_setup.cgi | 15 ------
6 files changed, 20 insertions(+), 71 deletions(-)
diffs (143 lines):
diff -r e80c50becd5b -r fe637e62b41d net/get_iplayer/Makefile
--- a/net/get_iplayer/Makefile Fri Nov 18 09:43:39 2016 +0000
+++ b/net/get_iplayer/Makefile Fri Nov 18 09:58:53 2016 +0000
@@ -1,15 +1,16 @@
-# $NetBSD: Makefile,v 1.7 2015/06/12 10:50:41 wiz Exp $
+# $NetBSD: Makefile,v 1.8 2016/11/18 09:58:53 jperkin Exp $
-DISTNAME= get_iplayer-2.94
-PKGREVISION= 1
+DISTNAME= get_iplayer-2.97
CATEGORIES= net multimedia
-MASTER_SITES= ftp://ftp.infradead.org/pub/get_iplayer/
+MASTER_SITES= ${MASTER_SITE_GITHUB:=get-iplayer/}
MAINTAINER= shattered%NetBSD.org@localhost
-HOMEPAGE= http://www.infradead.org/get_iplayer/html/get_iplayer.html
+HOMEPAGE= https://github.com/get-iplayer/${GITHUB_PROJECT}
COMMENT= Search, index, record or stream BBC iPlayer broadcasts
LICENSE= gnu-gpl-v3
+GITHUB_TAG= v${PKGVERSION_NOREV}
+
DEPENDS+= p5-HTML-Parser>=3.0:../../www/p5-HTML-Parser
DEPENDS+= p5-HTTP-Cookies>=6.0:../../www/p5-HTTP-Cookies
DEPENDS+= p5-HTTP-Date>=6.0:../../www/p5-HTTP-Date
@@ -18,26 +19,22 @@
DEPENDS+= rtmpdump>=1.8:../../net/rtmpdump
DEPENDS+= flvstreamer>=1.8:../../multimedia/flvstreamer
-INSTALLATION_DIRS= bin ${PKGMANDIR}/man1
-
USE_LANGUAGES= # none
NO_BUILD= yes
REPLACE_PERL= get_iplayer
-SUBST_CLASSES+= prefix
-SUBST_STAGE.prefix= post-patch
-SUBST_MESSAGE.prefix= Fixup config and plugin paths
-SUBST_FILES.prefix= get_iplayer
-SUBST_SED.prefix= -e s:@PREFIX@:${PREFIX}:
+PKG_SYSCONFSUBDIR= get_iplayer
+
+INSTALLATION_DIRS= bin ${PKGMANDIR}/man1
-PKG_SYSCONFSUBDIR= get_iplayer
-EGDIR= ${PREFIX}/share/examples/get_iplayer
-CONF_FILES= ${EGDIR}/options ${PKG_SYSCONFDIR}/options
-INSTALLATION_DIRS+= ${EGDIR}
+SUBST_CLASSES+= paths
+SUBST_STAGE.paths= pre-configure
+SUBST_FILES.paths= get_iplayer
+SUBST_SED.paths= -e "s:/etc/get_iplayer:${PKG_SYSCONFDIR}:g"
+SUBST_SED.paths+= -e "s:/usr/share/get_iplayer:${PREFIX}/share/get_iplayer:g"
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/get_iplayer ${DESTDIR}${PREFIX}/bin/
${INSTALL_MAN} ${WRKSRC}/get_iplayer.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1/
- ${INSTALL_DATA} ${FILESDIR}/options.default ${DESTDIR}${EGDIR}/options
.include "../../mk/bsd.pkg.mk"
diff -r e80c50becd5b -r fe637e62b41d net/get_iplayer/PLIST
--- a/net/get_iplayer/PLIST Fri Nov 18 09:43:39 2016 +0000
+++ b/net/get_iplayer/PLIST Fri Nov 18 09:58:53 2016 +0000
@@ -1,4 +1,3 @@
-@comment $NetBSD: PLIST,v 1.1 2014/11/11 21:49:01 shattered Exp $
+@comment $NetBSD: PLIST,v 1.2 2016/11/18 09:58:53 jperkin Exp $
bin/get_iplayer
man/man1/get_iplayer.1
-share/examples/get_iplayer/options
diff -r e80c50becd5b -r fe637e62b41d net/get_iplayer/distinfo
--- a/net/get_iplayer/distinfo Fri Nov 18 09:43:39 2016 +0000
+++ b/net/get_iplayer/distinfo Fri Nov 18 09:58:53 2016 +0000
@@ -1,8 +1,6 @@
-$NetBSD: distinfo,v 1.5 2015/11/04 00:35:01 agc Exp $
+$NetBSD: distinfo,v 1.6 2016/11/18 09:58:53 jperkin Exp $
-SHA1 (get_iplayer-2.94.tar.gz) = 1082ffb213bf16bfdaa95731f48272b2a7adc4fd
-RMD160 (get_iplayer-2.94.tar.gz) = 70b67bdc2850e914c0606030b6cb2f09a41b0332
-SHA512 (get_iplayer-2.94.tar.gz) = 2e91631fa8d8ef384f454a4812f35a4f8af749feba5373d6203d769d85212f09a8c69b076d245dad00739739b8cf7bdf9a3b401a42295365f9fc7494458be906
-Size (get_iplayer-2.94.tar.gz) = 276644 bytes
-SHA1 (patch-aa) = e15a98daae71135936329d29766a3b70dc845326
-SHA1 (patch-windows_get_iplayer_setup.cgi) = 1f87f0bb74c5883e875cb7676dfd61461dc2cbd0
+SHA1 (get_iplayer-2.97.tar.gz) = 7f3518c4460da8232c178645345a1e5cbbb072eb
+RMD160 (get_iplayer-2.97.tar.gz) = 60e554d5497af382d9dbc158133e5cc69f46f46f
+SHA512 (get_iplayer-2.97.tar.gz) = 6e3da97393e5b1bda6e4e9b3d3ca57cc5ae4bce46fd6ff538248fe9ac541a1ba6c6c204a89b8e8d5902e677c1e8fc451af21364c7a2a4e1c73b11db9399b6a28
+Size (get_iplayer-2.97.tar.gz) = 173532 bytes
diff -r e80c50becd5b -r fe637e62b41d net/get_iplayer/files/options.default
--- a/net/get_iplayer/files/options.default Fri Nov 18 09:43:39 2016 +0000
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,2 +0,0 @@
-packagemanager = disable
-
diff -r e80c50becd5b -r fe637e62b41d net/get_iplayer/patches/patch-aa
--- a/net/get_iplayer/patches/patch-aa Fri Nov 18 09:43:39 2016 +0000
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,28 +0,0 @@
-$NetBSD: patch-aa,v 1.2 2015/01/17 12:33:14 prlw1 Exp $
-
-- Sort out directories
-
---- get_iplayer.orig 2014-12-21 18:58:18.000000000 +0000
-+++ get_iplayer
-@@ -423,10 +423,10 @@ if ( defined $ENV{GETIPLAYERSYSPREFS} )
- $optfile_system = $ENV{ALLUSERSPROFILE}.'/get_iplayer/options';
- # System options on unix-like systems
- } else {
-- $optfile_system = '/etc/get_iplayer/options';
-+ $optfile_system = '@PREFIX@/etc/get_iplayer/options';
- # Show warning if this deprecated location exists and is not a symlink
- if ( -f '/var/lib/get_iplayer/options' && ! -l '/var/lib/get_iplayer/options' ) {
-- logger "WARNING: System-wide options file /var/lib/get_iplayer/options will be deprecated in future, please use /etc/get_iplayer/options instead\n";
-+ logger "WARNING: System-wide options file /var/lib/get_iplayer/options will be deprecated in future, please use @PREFIX@/etc/get_iplayer/options instead\n";
- }
- }
- # Make profile dir if it doesnt exist
-@@ -438,7 +438,7 @@ my $plugin_dir_system;
- if ( defined $ENV{ALLUSERSPROFILE} && $^O eq "MSWin32" ) {
- $plugin_dir_system = $ENV{ALLUSERSPROFILE}.'/get_iplayer/plugins';
- } else {
-- $plugin_dir_system = '/usr/share/get_iplayer/plugins';
-+ $plugin_dir_system = '@PREFIX@/share/get_iplayer/plugins';
- }
- my $plugin_dir_user = "$profile_dir/plugins";
- for my $plugin_dir ( ( $plugin_dir_user, $plugin_dir_system ) ) {
diff -r e80c50becd5b -r fe637e62b41d net/get_iplayer/patches/patch-windows_get_iplayer_setup.cgi
--- a/net/get_iplayer/patches/patch-windows_get_iplayer_setup.cgi Fri Nov 18 09:43:39 2016 +0000
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,15 +0,0 @@
-$NetBSD: patch-windows_get_iplayer_setup.cgi,v 1.1 2014/11/11 21:49:01 shattered Exp $
-
-test(1) uses = for string comparison.
-
---- windows/get_iplayer_setup.cgi.orig 2012-06-02 16:37:17.000000000 +0000
-+++ windows/get_iplayer_setup.cgi
-@@ -32,7 +32,7 @@ case "$QUERY_STRING" in
- ;;
- esac
-
--if [ "$TARGET" == "" ]; then
-+if [ "$TARGET" = "" ]; then
- cat <<EOF
- Content-Type: text/html
-
Home |
Main Index |
Thread Index |
Old Index