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/Input/vorbis/vorbis.pro | 31 +++++++++++++++++++++---------- 1 file changed, 21 insertions(+), 10 deletions(-) (limited to 'src/plugins/Input/vorbis/vorbis.pro') diff --git a/src/plugins/Input/vorbis/vorbis.pro b/src/plugins/Input/vorbis/vorbis.pro index d4b4c16e0..5be351f1d 100644 --- a/src/plugins/Input/vorbis/vorbis.pro +++ b/src/plugins/Input/vorbis/vorbis.pro @@ -9,7 +9,7 @@ SOURCES += decoder_vorbis.cpp \ vorbismetadatamodel.cpp \ replaygainreader.cpp TARGET = $$PLUGINS_PREFIX/Input/vorbis -QMAKE_CLEAN = $$PLUGINS_PREFIX/Input/libvorbis.so + INCLUDEPATH += ../../../ CONFIG += release \ warn_on \ @@ -17,12 +17,8 @@ CONFIG += release \ link_pkgconfig TEMPLATE = lib QMAKE_LIBDIR += ../../../../lib -LIBS += -lqmmp \ - -L/usr/lib -PKGCONFIG += taglib \ - ogg \ - vorbisfile \ - vorbis + + TRANSLATIONS = translations/vorbis_plugin_ru.ts \ translations/vorbis_plugin_uk_UA.ts \ translations/vorbis_plugin_zh_CN.ts \ @@ -38,6 +34,21 @@ TRANSLATIONS = translations/vorbis_plugin_ru.ts \ translations/vorbis_plugin_es.ts RESOURCES = translations/translations.qrc -isEmpty (LIB_DIR):LIB_DIR = /lib -target.path = $$LIB_DIR/qmmp/Input -INSTALLS += target + +unix { + isEmpty (LIB_DIR):LIB_DIR = /lib + target.path = $$LIB_DIR/qmmp/Input + INSTALLS += target + + PKGCONFIG += taglib ogg vorbisfile vorbis + LIBS += -lqmmp + QMAKE_CLEAN = $$PLUGINS_PREFIX/Input/libvorbis.so +} + +win32 { + HEADERS += ../../../../src/qmmp/metadatamodel.h \ + ../../../../src/qmmp/decoderfactory.h + QMAKE_LIBDIR += ../../../../bin + LIBS += -lqmmp0 -lvorbisfile -lvorbis -logg -ltag.dll -lm + LD_FLAGS += -no-undefined +} -- cgit v1.2.3-13-gbd6f