rtmidi: update to 4.0.0.

This commit is contained in:
Duncaen 2020-02-02 15:57:20 +01:00
parent 3d8b1d4569
commit 8e8f4e62b8
No known key found for this signature in database
GPG Key ID: 335C1D17EC3D6E35
3 changed files with 5 additions and 27 deletions

View File

@ -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

View File

@ -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 <string.h>
- `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 <string.h>
+# `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])

View File

@ -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 <duncaen@voidlinux.org>"
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
}