SHA256
1
0
forked from pool/rtmidi

Accepting request 696780 from home:alois:branches:multimedia:libs

- Update to version 4.0.0
  * see git history for complete list of changes
  * updates to test programs to clarify port numbering
  * new C API wrapper
  * new functions to get API names
  * miscellaneous sysex fixes in Jack and ALSA
  * new setPortName() method (for Jack and ALSA)
  * new setClientName() method (for ALSA)
  * various build system updates and code efficiencies
- Refreshed rtmidi-2.1.1-pkgconfig.patch as
  rtmidi-4.0.0-pkgconfig.patch

OBS-URL: https://build.opensuse.org/request/show/696780
OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/rtmidi?expand=0&rev=3
This commit is contained in:
Luigi Baldoni 2019-04-22 15:15:20 +00:00 committed by Git OBS Bridge
parent 7969a9400d
commit 9909f2ca82
5 changed files with 32 additions and 17 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:d6ee3620236904a1067bd615ff012f1064cbfb389b09ac0b847bbcbd0f565214
size 486434

View File

@ -1,6 +1,7 @@
diff -up rtmidi-2.1.1/rtmidi.pc.in.orig rtmidi-2.1.1/rtmidi.pc.in
--- rtmidi-2.1.1/rtmidi.pc.in.orig 2016-02-13 19:10:12.000000000 +0100
+++ rtmidi-2.1.1/rtmidi.pc.in 2017-01-30 09:57:26.476566712 +0100
Index: rtmidi-4.0.0/rtmidi.pc.in
===================================================================
--- rtmidi-4.0.0.orig/rtmidi.pc.in
+++ rtmidi-4.0.0/rtmidi.pc.in
@@ -1,12 +1,12 @@
prefix=@prefix@
-exec_prefix=${prefix}
@ -8,7 +9,7 @@ diff -up rtmidi-2.1.1/rtmidi.pc.in.orig rtmidi-2.1.1/rtmidi.pc.in
-includedir=${prefix}/include/rtmidi
+exec_prefix=@exec_prefix@
+libdir=@libdir@
+includedir=@includedir@
+includedir=@includedir@
-Name: librtmidi
+Name: rtmidi
@ -17,6 +18,5 @@ diff -up rtmidi-2.1.1/rtmidi.pc.in.orig rtmidi-2.1.1/rtmidi.pc.in
Requires: @req@
Libs: -L${libdir} -lrtmidi
Libs.private: -lpthread
-Cflags: -pthread -I${includedir} @CPPFLAGS@
\ Kein Zeilenumbruch am Dateiende.
+Cflags: -pthread @CPPFLAGS@
-Cflags: -pthread -I${includedir} @api@
+Cflags: -pthread -I${includedir}/rtmidi @api@

3
rtmidi-4.0.0.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:370cfe710f43fbeba8d2b8c8bc310f314338c519c2cf2865e2d2737b251526cd
size 509743

View File

@ -1,3 +1,19 @@
-------------------------------------------------------------------
Mon Apr 22 14:03:48 UTC 2019 - Luigi Baldoni <aloisio@gmx.com>
- Update to version 4.0.0
* see git history for complete list of changes
* updates to test programs to clarify port numbering
* new C API wrapper
* new functions to get API names
* miscellaneous sysex fixes in Jack and ALSA
* new setPortName() method (for Jack and ALSA)
* new setClientName() method (for ALSA)
* various build system updates and code efficiencies
- Refreshed rtmidi-2.1.1-pkgconfig.patch as
rtmidi-4.0.0-pkgconfig.patch
-------------------------------------------------------------------
Thu Apr 19 11:31:53 UTC 2018 - aloisio@gmx.com

View File

@ -1,7 +1,7 @@
#
# spec file for package rtmidi
#
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2015 Packman Team <packman@links2linux.de>
#
# All modifications and additions to the file contributed by third parties
@ -13,21 +13,21 @@
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
%define sover 4
%define sover 5
Name: rtmidi
Version: 3.0.0
Version: 4.0.0
Release: 0
Summary: C++ library for realtime MIDI input/ouput
License: MIT
Group: Productivity/Multimedia/Sound/Utilities
Url: https://www.music.mcgill.ca/~gary/rtmidi/index.html
URL: https://www.music.mcgill.ca/~gary/rtmidi/index.html
Source0: https://www.music.mcgill.ca/~gary/rtmidi/release/%{name}-%{version}.tar.gz
# PATCH-FIX-OPENSUSE pkgconfig.patch avvissu@yandex.ru
Patch0: rtmidi-2.1.1-pkgconfig.patch
Patch0: rtmidi-4.0.0-pkgconfig.patch
BuildRequires: autoconf
BuildRequires: automake
BuildRequires: gcc-c++
@ -76,7 +76,6 @@ make %{?_smp_mflags} CXXFLAGS="%{optflags}" V=1
%install
%make_install
sed -i '/LIBRARY/s|\ -L/usr/lib||' %{name}-config
install -Dm0755 %{name}-config %{buildroot}%{_bindir}/%{name}-config
find %{buildroot} -type f -name "*.la" -delete -print