diff options
| author | trialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38> | 2012-01-17 08:51:39 +0000 |
|---|---|---|
| committer | trialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38> | 2012-01-17 08:51:39 +0000 |
| commit | acb3d9b6c3df6dd3eaedefde0f6d82f51681158a (patch) | |
| tree | 28e76c1e8db5baddeb75ae97075ecf76977455e7 /src/plugins/Input/vorbis/vorbis.pro | |
| parent | 49cdf460a519565b113892095c874c15ef755bc5 (diff) | |
| download | qmmp-acb3d9b6c3df6dd3eaedefde0f6d82f51681158a.tar.gz qmmp-acb3d9b6c3df6dd3eaedefde0f6d82f51681158a.tar.bz2 qmmp-acb3d9b6c3df6dd3eaedefde0f6d82f51681158a.zip | |
added win32 patches
git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@2537 90c681e8-e032-0410-971d-27865f9a5e38
Diffstat (limited to 'src/plugins/Input/vorbis/vorbis.pro')
| -rw-r--r-- | src/plugins/Input/vorbis/vorbis.pro | 31 |
1 files changed, 21 insertions, 10 deletions
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 +} |
