Debian Codegraph @

debian/patches/04-rtmidi-pkgconfig.patch

raw symbols SCIP
1 Description: Use pkg-config to link against rtmidi
2 This fixes the FTBFS with new versions of RtMidi where the include directory
3 has moved and a -I flag is now needed.
4 Author: James Cowgill <[email protected]>
5 Forwarded: Devin Anderson <[email protected]>
6 ---
7 This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
8 --- a/src/src.pro
9 +++ b/src/src.pro
10 @@ -63,7 +63,7 @@ isEmpty(DATADIR) {
11 MIDISNOOP_DATA_INSTALL_PATH = $${DATADIR}
12 }
13
14 -CONFIG += console warn_on
15 +CONFIG += console link_pkgconfig warn_on
16 DEFINES += MIDISNOOP_MAJOR_VERSION=$${MAJOR_VERSION} \
17 MIDISNOOP_MINOR_VERSION=$${MINOR_VERSION} \
18 MIDISNOOP_REVISION=$${REVISION}
19 @@ -83,7 +83,7 @@ HEADERS += aboutview.h \
20 messageview.h \
21 util.h \
22 view.h
23 -LIBS += -lrtmidi
24 +PKGCONFIG += rtmidi
25 MOC_DIR = $${MAKEDIR}
26 OBJECTS_DIR = $${MAKEDIR}
27 QT += core gui uitools widgets