Accepting request 598802 from home:alois:branches:multimedia:libs
Brought over from Packman (2nd attempt) OBS-URL: https://build.opensuse.org/request/show/598802 OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/rtmidi?expand=0&rev=1
This commit is contained in:
commit
ac4ea87d34
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal file
@ -0,0 +1,23 @@
|
|||||||
|
## Default LFS
|
||||||
|
*.7z filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.bsp filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.gem filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.gz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.jar filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.lz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.lzma filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.obscpio filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.oxt filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.pdf filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.png filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.rpm filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.tbz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.tbz2 filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.tgz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.ttf filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.txz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.whl filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.xz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.zip filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.zst filter=lfs diff=lfs merge=lfs -text
|
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
|||||||
|
.osc
|
22
rtmidi-2.1.1-pkgconfig.patch
Normal file
22
rtmidi-2.1.1-pkgconfig.patch
Normal file
@ -0,0 +1,22 @@
|
|||||||
|
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
|
||||||
|
@@ -1,12 +1,12 @@
|
||||||
|
prefix=@prefix@
|
||||||
|
-exec_prefix=${prefix}
|
||||||
|
-libdir=${exec_prefix}/lib
|
||||||
|
-includedir=${prefix}/include/rtmidi
|
||||||
|
+exec_prefix=@exec_prefix@
|
||||||
|
+libdir=@libdir@
|
||||||
|
+includedir=@includedir@
|
||||||
|
|
||||||
|
-Name: librtmidi
|
||||||
|
+Name: rtmidi
|
||||||
|
Description: RtMidi - a set of C++ classes that provide a common API for realtime MIDI input/output
|
||||||
|
Version: @PACKAGE_VERSION@
|
||||||
|
Requires: @req@
|
||||||
|
Libs: -L${libdir} -lrtmidi
|
||||||
|
Libs.private: -lpthread
|
||||||
|
-Cflags: -pthread -I${includedir} @CPPFLAGS@
|
||||||
|
\ Kein Zeilenumbruch am Dateiende.
|
||||||
|
+Cflags: -pthread @CPPFLAGS@
|
3
rtmidi-3.0.0.tar.gz
Normal file
3
rtmidi-3.0.0.tar.gz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:d6ee3620236904a1067bd615ff012f1064cbfb389b09ac0b847bbcbd0f565214
|
||||||
|
size 486434
|
33
rtmidi.changes
Normal file
33
rtmidi.changes
Normal file
@ -0,0 +1,33 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Apr 19 11:31:53 UTC 2018 - aloisio@gmx.com
|
||||||
|
|
||||||
|
- Update to version 3.0.0
|
||||||
|
* The version number has been bumped to 3.0.0 because of the
|
||||||
|
past API change concerning the renaming of the RtError class
|
||||||
|
to RtMidiError. Changes in this release include:
|
||||||
|
+ see git history for complete list of changes
|
||||||
|
+ new sendMessage() function that does not use std::vector
|
||||||
|
+ various std::string updates, including use of UTF8 for port
|
||||||
|
names
|
||||||
|
+ fixes for the MIDI queue
|
||||||
|
+ various build system updates and code efficiencies
|
||||||
|
|
||||||
|
- Spec cleanup
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu May 25 20:20:59 UTC 2017 - avvissu@yandex.by
|
||||||
|
|
||||||
|
- Change path to headers
|
||||||
|
- Drop _service file
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Jan 30 07:51:49 UTC 2017 - edogawa@aon.at
|
||||||
|
|
||||||
|
- Update to version 2.1.1
|
||||||
|
|
||||||
|
* update pkgconfig.patch
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Jun 24 04:10:30 UTC 2015 - avvissu@yandex.ru
|
||||||
|
|
||||||
|
- Initial release
|
||||||
|
|
96
rtmidi.spec
Normal file
96
rtmidi.spec
Normal file
@ -0,0 +1,96 @@
|
|||||||
|
#
|
||||||
|
# spec file for package rtmidi
|
||||||
|
#
|
||||||
|
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||||
|
# Copyright (c) 2015 Packman Team <packman@links2linux.de>
|
||||||
|
#
|
||||||
|
# All modifications and additions to the file contributed by third parties
|
||||||
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
|
# upon. The license for this file, and modifications and additions to the
|
||||||
|
# file, is the same license as for the pristine package itself (unless the
|
||||||
|
# license for the pristine package is not an Open Source License, in which
|
||||||
|
# case the license is the MIT License). An "Open Source License" is a
|
||||||
|
# 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/
|
||||||
|
#
|
||||||
|
|
||||||
|
|
||||||
|
%define sover 4
|
||||||
|
Name: rtmidi
|
||||||
|
Version: 3.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
|
||||||
|
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
|
||||||
|
BuildRequires: autoconf
|
||||||
|
BuildRequires: automake
|
||||||
|
BuildRequires: gcc-c++
|
||||||
|
BuildRequires: pkgconfig
|
||||||
|
BuildRequires: pkgconfig(alsa)
|
||||||
|
BuildRequires: pkgconfig(jack)
|
||||||
|
|
||||||
|
%description
|
||||||
|
RtMidi is a set of C++ classes (RtMidiIn, RtMidiOut and API-specific
|
||||||
|
classes) that provides a common API (Application Programming Interface) for
|
||||||
|
realtime MIDI input/output across ALSA & JACK.
|
||||||
|
|
||||||
|
%package -n lib%{name}%{sover}
|
||||||
|
Summary: C++ library for realtime MIDI input/ouput
|
||||||
|
Group: System/Libraries
|
||||||
|
|
||||||
|
%description -n lib%{name}%{sover}
|
||||||
|
RtMidi is a set of C++ classes (RtMidiIn, RtMidiOut and API-specific
|
||||||
|
classes) that provides a common API (Application Programming Interface) for
|
||||||
|
realtime MIDI input/output across ALSA & JACK.
|
||||||
|
|
||||||
|
This package provides the shared library.
|
||||||
|
|
||||||
|
%package devel
|
||||||
|
Summary: Development files for %{name}
|
||||||
|
Group: Development/Libraries/C and C++
|
||||||
|
Requires: lib%{name}%{sover} = %{version}
|
||||||
|
Requires: pkgconfig(alsa)
|
||||||
|
Requires: pkgconfig(jack)
|
||||||
|
|
||||||
|
%description devel
|
||||||
|
C++ library for realtime MIDI input/ouput.
|
||||||
|
|
||||||
|
This package contains header files and libraries needed to develop
|
||||||
|
application that use %{name}.
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%setup -q
|
||||||
|
%patch0 -p1
|
||||||
|
|
||||||
|
%build
|
||||||
|
%configure --disable-static \
|
||||||
|
--with-jack \
|
||||||
|
--with-alsa
|
||||||
|
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
|
||||||
|
|
||||||
|
%post -n lib%{name}%{sover} -p /sbin/ldconfig
|
||||||
|
%postun -n lib%{name}%{sover} -p /sbin/ldconfig
|
||||||
|
|
||||||
|
%files -n lib%{name}%{sover}
|
||||||
|
%{_libdir}/lib%{name}.so.*
|
||||||
|
|
||||||
|
%files devel
|
||||||
|
%license README.md
|
||||||
|
%{_bindir}/%{name}-config
|
||||||
|
%{_includedir}/%{name}
|
||||||
|
%{_libdir}/lib%{name}.so
|
||||||
|
%{_libdir}/pkgconfig/%{name}.pc
|
||||||
|
|
||||||
|
%changelog
|
Loading…
Reference in New Issue
Block a user