From 8e8f4e62b8521a4b8b2e2bb62ce132f9fa6922a0 Mon Sep 17 00:00:00 2001 From: Duncaen Date: Sun, 2 Feb 2020 15:57:20 +0100 Subject: [PATCH] rtmidi: update to 4.0.0. --- common/shlibs | 2 +- srcpkgs/rtmidi/patches/fix-cross.patch | 21 --------------------- srcpkgs/rtmidi/template | 9 ++++----- 3 files changed, 5 insertions(+), 27 deletions(-) delete mode 100644 srcpkgs/rtmidi/patches/fix-cross.patch diff --git a/common/shlibs b/common/shlibs index 35c51bac5dc..f3d1e3ece03 100644 --- a/common/shlibs +++ b/common/shlibs @@ -2947,7 +2947,7 @@ libPocoEncodings.so.64 poco-1.9.4_1 libPocoNetSSL.so.64 poco-1.9.4_1 libPocoCrypto.so.64 poco-1.9.4_1 libopenblas.so.0 openblas-0.2.19_1 -librtmidi.so.4 rtmidi-3.0.0_1 +librtmidi.so.5 rtmidi-4.0.0_1 libbiblesync.so.2.0.1 biblesync-2.0.1_1 libbac-9.4.2.so bacula-common-9.4.2_1 libbaccfg-9.4.2.so bacula-common-9.4.2_1 diff --git a/srcpkgs/rtmidi/patches/fix-cross.patch b/srcpkgs/rtmidi/patches/fix-cross.patch deleted file mode 100644 index 0c7acdda8ac..00000000000 --- a/srcpkgs/rtmidi/patches/fix-cross.patch +++ /dev/null @@ -1,21 +0,0 @@ ---- configure.ac.orig 2017-10-11 07:45:18.000000000 +0000 -+++ configure.ac 2017-10-11 07:49:25.955714462 +0000 -@@ -30,12 +30,12 @@ - - # Check version number coherency between RtMidi.h and configure.ac - AC_MSG_CHECKING([that version numbers are coherent]) --AC_RUN_IFELSE( -- [AC_LANG_PROGRAM([#include -- `grep "define RTMIDI_VERSION" $srcdir/RtMidi.h`], -- [return strcmp(RTMIDI_VERSION, PACKAGE_VERSION);])], -- [AC_MSG_RESULT([yes])], -- [AC_MSG_FAILURE([testing RTMIDI_VERSION==PACKAGE_VERSION failed, check that RtMidi.h defines RTMIDI_VERSION as "$PACKAGE_VERSION" or that the first line of configure.ac has been updated.])]) -+# AC_RUN_IFELSE( -+# [AC_LANG_PROGRAM([#include -+# `grep "define RTMIDI_VERSION" $srcdir/RtMidi.h`], -+# [return strcmp(RTMIDI_VERSION, PACKAGE_VERSION);])], -+# [AC_MSG_RESULT([yes])], -+# [AC_MSG_FAILURE([testing RTMIDI_VERSION==PACKAGE_VERSION failed, check that RtMidi.h defines RTMIDI_VERSION as "$PACKAGE_VERSION" or that the first line of configure.ac has been updated.])]) - - # Enable some nice automake features if they are available - m4_ifdef([AM_MAINTAINER_MODE], [AM_MAINTAINER_MODE]) diff --git a/srcpkgs/rtmidi/template b/srcpkgs/rtmidi/template index 049e4a1de60..e78dd05a013 100644 --- a/srcpkgs/rtmidi/template +++ b/srcpkgs/rtmidi/template @@ -1,7 +1,7 @@ # Template file for 'rtmidi' pkgname=rtmidi -version=3.0.0 -revision=2 +version=4.0.0 +revision=1 build_style=gnu-configure configure_args="--with-alsa --with-jack" hostmakedepends="automake libtool" @@ -10,11 +10,10 @@ short_desc="C++ classes for realtime MIDI input/output" maintainer="Duncaen " license="RtMidi, MIT" homepage="http://www.music.mcgill.ca/~gary/rtmidi/" -distfiles="https://github.com/thestk/rtmidi/archive/v${version}.tar.gz" -checksum=55cd0fba60321aadcd847481d207bf2b70e783b5bfa1a01037bf916554a7d5c4 +distfiles="https://github.com/thestk/rtmidi/archive/${version}.tar.gz" +checksum=d32de9ceebf6d969537e9a9720925a1ac7f6a8bc4ac4ce7c58c01434f4e54f44 pre_configure() { - sed -i 's/\($cppflag\)/\1 $CFLAGS/' configure.ac sed -n '/Copyright (c)/,$ p' < README.md > LICENSE autoreconf -fi }