From 5b1c03e471c2a16480e1434d35b28a0606dcf7d6 Mon Sep 17 00:00:00 2001 From: trialuser02 Date: Wed, 4 May 2016 07:59:48 +0000 Subject: soxr: added win32 support git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@6324 90c681e8-e032-0410-971d-27865f9a5e38 --- src/plugins/Effect/Effect.pro | 6 ++---- src/plugins/Effect/soxr/soxr.pro | 25 ++++++++++++++++--------- 2 files changed, 18 insertions(+), 13 deletions(-) (limited to 'src/plugins/Effect') diff --git a/src/plugins/Effect/Effect.pro b/src/plugins/Effect/Effect.pro index f250b6097..417c06baa 100644 --- a/src/plugins/Effect/Effect.pro +++ b/src/plugins/Effect/Effect.pro @@ -3,11 +3,9 @@ TEMPLATE = subdirs SUBDIRS += crossfade stereo -contains(CONFIG, BS2B_PLUGIN){ -SUBDIRS += bs2b -} +contains(CONFIG, BS2B_PLUGIN):SUBDIRS += bs2b +contains(CONFIG, SOXR_PLUGIN):SUBDIRS += soxr unix { - contains(CONFIG, SOXR_PLUGIN):SUBDIRS += soxr contains(CONFIG, LADSPA_PLUGIN):SUBDIRS += ladspa } diff --git a/src/plugins/Effect/soxr/soxr.pro b/src/plugins/Effect/soxr/soxr.pro index 4421d8287..3c703bbbf 100644 --- a/src/plugins/Effect/soxr/soxr.pro +++ b/src/plugins/Effect/soxr/soxr.pro @@ -12,21 +12,28 @@ TARGET=$$PLUGINS_PREFIX/Effect/soxr QMAKE_CLEAN =$$PLUGINS_PREFIX/Effect/libsoxr.so INCLUDEPATH += ../../../ CONFIG += warn_on \ -plugin \ -link_pkgconfig +plugin -PKGCONFIG += soxr TEMPLATE = lib -QMAKE_LIBDIR += ../../../../lib -LIBS += -lqmmp -L/usr/lib -I/usr/include RESOURCES = translations/translations.qrc -isEmpty(LIB_DIR){ - LIB_DIR = /lib +unix { + isEmpty(LIB_DIR){ + LIB_DIR = /lib + } + target.path = $$LIB_DIR/qmmp/Effect + INSTALLS += target + CONFIG += link_pkgconfig + PKGCONFIG += soxr + QMAKE_LIBDIR += ../../../../lib + LIBS += -lqmmp -L/usr/lib -I/usr/include +} + +win32 { + QMAKE_LIBDIR += ../../../../bin + LIBS += -lqmmp0 -lsoxr } -target.path = $$LIB_DIR/qmmp/Effect -INSTALLS += target FORMS += settingsdialog.ui -- cgit v1.2.3-13-gbd6f