diff options
Diffstat (limited to 'src/plugins/Input/mad/mad.pro')
| -rw-r--r-- | src/plugins/Input/mad/mad.pro | 33 |
1 files changed, 17 insertions, 16 deletions
diff --git a/src/plugins/Input/mad/mad.pro b/src/plugins/Input/mad/mad.pro index 5cbc61a0c..17f9b7918 100644 --- a/src/plugins/Input/mad/mad.pro +++ b/src/plugins/Input/mad/mad.pro @@ -13,25 +13,16 @@ SOURCES += decoder_mad.cpp \ mpegmetadatamodel.cpp \ replaygainreader.cpp TARGET = $$PLUGINS_PREFIX/Input/mad -unix:QMAKE_CLEAN = $$PLUGINS_PREFIX/Input/libmad.so -INCLUDEPATH += ../../../ \ - ./ -win32:INCLUDEPATH += D:\qt4\MINGW\include\taglib + +INCLUDEPATH += ../../../ + CONFIG += release \ warn_on \ plugin \ link_pkgconfig TEMPLATE = lib -unix:QMAKE_LIBDIR += ../../../../lib -win32:QMAKE_LIBDIR += ../../../../bin -unix:LIBS += -lqmmp \ - -lmad -unix:PKGCONFIG += taglib \ - mad -win32:LIBS += -lqmmp0 \ - -lmad \ - -ltag.dll \ - -ltag_c.dll + + TRANSLATIONS = translations/mad_plugin_ru.ts \ translations/mad_plugin_uk_UA.ts \ translations/mad_plugin_zh_CN.ts \ @@ -52,6 +43,16 @@ unix { isEmpty(LIB_DIR):LIB_DIR = /lib target.path = $$LIB_DIR/qmmp/Input INSTALLS += target + + QMAKE_LIBDIR += ../../../../lib + LIBS += -lqmmp -lmad + PKGCONFIG += taglib mad + QMAKE_CLEAN = $$PLUGINS_PREFIX/Input/libmad.so +} + +win32 { + HEADERS += ../../../../src/qmmp/metadatamodel.h \ + ../../../../src/qmmp/decoderfactory.h + QMAKE_LIBDIR += ../../../../bin + LIBS += -lqmmp0 -lmad -ltag.dll } -win32:HEADERS += ../../../../src/qmmp/metadatamodel.h \ - ../../../../src/qmmp/decoderfactory.h |
