SHA256
1
0
forked from pool/rtmidi
rtmidi/rtmidi-6.0.0-pkgconfig.patch
Konstantin Voinov 9852a76446 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
2023-11-26 04:43:59 +00:00

22 lines
636 B
Diff

diff --git a/rtmidi.pc.in b/rtmidi.pc.in
index acb6888..0639c83 100644
--- a/rtmidi.pc.in
+++ b/rtmidi.pc.in
@@ -1,12 +1,12 @@
prefix=@prefix@
exec_prefix=${prefix}
-libdir=${exec_prefix}/lib
-includedir=${prefix}/include/rtmidi
+libdir=${exec_prefix}/@libdir@
+includedir=${prefix}/@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.private: @req@
Libs: -L${libdir} -lrtmidi
Libs.private: -lpthread @req_libs@
-Cflags: -pthread -I${includedir} @api@
+Cflags: -pthread -I${includedir}/rtmidi @api@