# HG changeset patch # User Chris Cannam # Date 1412862523 -3600 # Node ID d012c0dafa36968bded14089907fa588dbd983f5 # Parent c24270fc663566c9e6c7964807bd92514db406f8 OS/X build using sv-dependency-builds diff -r c24270fc6635 -r d012c0dafa36 .hgsub --- a/.hgsub Thu Oct 09 13:18:06 2014 +0100 +++ b/.hgsub Thu Oct 09 14:48:43 2014 +0100 @@ -1,2 +1,4 @@ svcore = https://code.soundsoftware.ac.uk/hg/svcore dataquay = https://bitbucket.org/breakfastquay/dataquay +sv-dependency-builds = https://code.soundsoftware.ac.uk/hg/sv-dependency-builds + diff -r c24270fc6635 -r d012c0dafa36 .hgsubstate --- a/.hgsubstate Thu Oct 09 13:18:06 2014 +0100 +++ b/.hgsubstate Thu Oct 09 14:48:43 2014 +0100 @@ -1,2 +1,3 @@ d16f0fd6db6104d87882bc43788a3bb1b0f8c528 dataquay +879bdc878826bebec67130326f99397c430419b1 sv-dependency-builds 60e2927b1475b752d14615da9516d893332878a3 svcore diff -r c24270fc6635 -r d012c0dafa36 platform-dataquay.pri --- a/platform-dataquay.pri Thu Oct 09 13:18:06 2014 +0100 +++ b/platform-dataquay.pri Thu Oct 09 14:48:43 2014 +0100 @@ -10,10 +10,17 @@ EXTRALIBS -= -lrdf DEFINES += USE_SORD -QMAKE_CXXFLAGS += -I/usr/local/include/sord-0 -I/usr/local/include/serd-0 -I/usr/include/sord-0 -I/usr/include/serd-0 -EXTRALIBS += -lsord-0 -lserd-0 +# Libraries and paths should be added by config.pri -win32-g++: { +win32-g++ { INCLUDEPATH += ../sv-dependency-builds/win32-mingw/include LIBS += -L../../sv-dependency-builds/win32-mingw/lib } +win32-msvc* { + INCLUDEPATH += ../sv-dependency-builds/win32-msvc/include + LIBS += -L../../sv-dependency-builds/win32-msvc/lib +} +mac* { + INCLUDEPATH += ../sv-dependency-builds/osx/include + LIBS += -L../sv-dependency-builds/osx/lib +} diff -r c24270fc6635 -r d012c0dafa36 runner.pro --- a/runner.pro Thu Oct 09 13:18:06 2014 +0100 +++ b/runner.pro Thu Oct 09 14:48:43 2014 +0100 @@ -8,14 +8,30 @@ INCLUDEPATH += sv-dependency-builds/win32-msvc/include LIBS += -Lsv-dependency-builds/win32-msvc/lib } +mac* { + INCLUDEPATH += sv-dependency-builds/osx/include + LIBS += -L../vamp-plugin-sdk -Lsv-dependency-builds/osx/lib +} exists(config.pri) { include(config.pri) } -win* { - !exists(config.pri) { - DEFINES += HAVE_BZ2 HAVE_FFTW3 HAVE_FFTW3F HAVE_SNDFILE HAVE_SAMPLERATE HAVE_VAMP HAVE_VAMPHOSTSDK HAVE_DATAQUAY HAVE_MAD HAVE_ID3TAG - LIBS += -lbz2 -lvamp-hostsdk -lfftw3 -lfftw3f -lsndfile -lFLAC -logg -lvorbis -lvorbisenc -lvorbisfile -logg -lmad -lid3tag -lsamplerate -lz -lsord-0 -lserd-0 -lwinmm -lws2_32 + +!exists(config.pri) { + + CONFIG += release + DEFINES += NDEBUG BUILD_RELEASE NO_TIMING + + DEFINES += HAVE_BZ2 HAVE_FFTW3 HAVE_FFTW3F HAVE_SNDFILE HAVE_SAMPLERATE HAVE_VAMP HAVE_VAMPHOSTSDK HAVE_DATAQUAY HAVE_MAD HAVE_ID3TAG + + LIBS += -lbz2 -lvamp-hostsdk -lfftw3 -lfftw3f -lsndfile -lFLAC -logg -lvorbis -lvorbisenc -lvorbisfile -logg -lmad -lid3tag -lsamplerate -lz -lsord-0 -lserd-0 + + win* { + LIBS += -lwinmm -lws2_32 + } + macx* { + DEFINES += HAVE_COREAUDIO + LIBS += -framework CoreAudio -framework CoreMidi -framework AudioUnit -framework AudioToolbox -framework CoreFoundation -framework CoreServices -framework Accelerate } } diff -r c24270fc6635 -r d012c0dafa36 version.h --- a/version.h Thu Oct 09 13:18:06 2014 +0100 +++ b/version.h Thu Oct 09 14:48:43 2014 +0100 @@ -1,1 +1,1 @@ -#define RUNNER_VERSION "1.1" +#define RUNNER_VERSION "1.1-hg"