From acb3d9b6c3df6dd3eaedefde0f6d82f51681158a Mon Sep 17 00:00:00 2001 From: trialuser02 Date: Tue, 17 Jan 2012 08:51:39 +0000 Subject: added win32 patches git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@2537 90c681e8-e032-0410-971d-27865f9a5e38 --- src/plugins/PlaylistFormats/m3u/m3u.pro | 24 +++++++++++++++--------- src/plugins/PlaylistFormats/pls/pls.pro | 26 +++++++++++++++++--------- src/plugins/PlaylistFormats/xspf/xspf.pro | 28 ++++++++++++++++++---------- 3 files changed, 50 insertions(+), 28 deletions(-) (limited to 'src/plugins/PlaylistFormats') diff --git a/src/plugins/PlaylistFormats/m3u/m3u.pro b/src/plugins/PlaylistFormats/m3u/m3u.pro index e6d9a2c5a..b4a435c7f 100644 --- a/src/plugins/PlaylistFormats/m3u/m3u.pro +++ b/src/plugins/PlaylistFormats/m3u/m3u.pro @@ -6,22 +6,28 @@ plugin \ lib TARGET =$$PLUGINS_PREFIX/PlaylistFormats/m3uplaylistformat -QMAKE_CLEAN =$$PLUGINS_PREFIX/General/libm3uplaylistformat.so TEMPLATE = lib QMAKE_LIBDIR += ../../../../lib -isEmpty(LIB_DIR){ - LIB_DIR = /lib -} -target.path = $$LIB_DIR/qmmp/PlaylistFormats -INSTALLS += target - INCLUDEPATH += ../../../../src -LIBS += -lqmmpui - HEADERS += m3uplaylistformat.h SOURCES += m3uplaylistformat.cpp +unix { + isEmpty(LIB_DIR){ + LIB_DIR = /lib + } + target.path = $$LIB_DIR/qmmp/PlaylistFormats + INSTALLS += target + + QMAKE_CLEAN =$$PLUGINS_PREFIX/General/libm3uplaylistformat.so + LIBS += -lqmmpui +} + +win32 { + LIBS += -lqmmpui0 + QMAKE_LIBDIR += ../../../../bin +} diff --git a/src/plugins/PlaylistFormats/pls/pls.pro b/src/plugins/PlaylistFormats/pls/pls.pro index 812f9c9d1..006e0aa63 100644 --- a/src/plugins/PlaylistFormats/pls/pls.pro +++ b/src/plugins/PlaylistFormats/pls/pls.pro @@ -6,22 +6,30 @@ plugin \ lib TARGET =$$PLUGINS_PREFIX/PlaylistFormats/plsplaylistformat -QMAKE_CLEAN =$$PLUGINS_PREFIX/PlaylistFormats/plsplaylistformat.so + TEMPLATE = lib QMAKE_LIBDIR += ../../../../lib -isEmpty(LIB_DIR){ - LIB_DIR = /lib -} -target.path = $$LIB_DIR/qmmp/PlaylistFormats -INSTALLS += target - INCLUDEPATH += ../../../../src -LIBS += -lqmmpui - SOURCES += plsplaylistformat.cpp HEADERS += plsplaylistformat.h +unix { + isEmpty(LIB_DIR){ + LIB_DIR = /lib + } + target.path = $$LIB_DIR/qmmp/PlaylistFormats + INSTALLS += target + + QMAKE_CLEAN =$$PLUGINS_PREFIX/PlaylistFormats/plsplaylistformat.so + LIBS += -lqmmpui +} + +win32 { + LIBS += -lqmmpui0 + QMAKE_LIBDIR += ../../../../bin +} + diff --git a/src/plugins/PlaylistFormats/xspf/xspf.pro b/src/plugins/PlaylistFormats/xspf/xspf.pro index 784f15c79..28a50ca44 100644 --- a/src/plugins/PlaylistFormats/xspf/xspf.pro +++ b/src/plugins/PlaylistFormats/xspf/xspf.pro @@ -6,23 +6,31 @@ plugin \ lib TARGET =$$PLUGINS_PREFIX/PlaylistFormats/xspfplaylistformat -QMAKE_CLEAN =$$PLUGINS_PREFIX/PlaylistFormats/libxsplaylistformat.so + TEMPLATE = lib QMAKE_LIBDIR += ../../../../lib -isEmpty(LIB_DIR){ - LIB_DIR = /lib -} -target.path = $$LIB_DIR/qmmp/PlaylistFormats -INSTALLS += target - INCLUDEPATH += ../../../../src -LIBS += -lqmmpui -lqmmp - QT += xml -SOURCES += xspfplaylistformat.cpp +SOURCES += xspfplaylistformat.cpp HEADERS += xspfplaylistformat.h +unix { + isEmpty(LIB_DIR){ + LIB_DIR = /lib + } + target.path = $$LIB_DIR/qmmp/PlaylistFormats + INSTALLS += target + + QMAKE_CLEAN =$$PLUGINS_PREFIX/PlaylistFormats/libxsplaylistformat.so + LIBS += -lqmmpui -lqmmp +} + +win32 { + LIBS += -lqmmpui0 -lqmmp0 + QMAKE_LIBDIR += ../../../../bin +} + -- cgit v1.2.3-13-gbd6f