Accepting request 1128843 from home:kill_it:branches:multimedia:libs

- fix rtmidi.pc:
  rework rtmidi-4.0.0-pkgconfig.patch to rtmidi-6.0.0-pkgconfig.patch
  update rtmidi-cmake.patch
- add ALSA-Avoid-listing-ports-that-are-usually-from-3rd-party.patch
  from upstream

OBS-URL: https://build.opensuse.org/request/show/1128843
OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/rtmidi?expand=0&rev=8
This commit is contained in:
2023-11-26 04:43:59 +00:00
committed by Git OBS Bridge
parent 1fef4cf04d
commit 9852a76446
5 changed files with 57 additions and 11 deletions

View File

@@ -27,9 +27,13 @@ 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-4.0.0-pkgconfig.patch
Patch0: rtmidi-6.0.0-pkgconfig.patch
# PATCH-FIX-OPENSUSE set proper .cmake files path, lower cmake version for Leap (3.24 is required for Android)
Patch1: rtmidi-cmake.patch
# PATCH-FIX-UPSTREAM ALSA: Avoid listing ports that are usually from 3rd.party
Patch2: ALSA-Avoid-listing-ports-that-are-usually-from-3rd-party.patch
BuildRequires: autoconf
BuildRequires: automake
BuildRequires: cmake
BuildRequires: gcc-c++
BuildRequires: pkgconfig