aboutsummaryrefslogtreecommitdiff
path: root/src/plugins/Input/mad
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/Input/mad')
-rw-r--r--src/plugins/Input/mad/decodermadfactory.cpp2
-rw-r--r--src/plugins/Input/mad/mad.pro33
2 files changed, 18 insertions, 17 deletions
diff --git a/src/plugins/Input/mad/decodermadfactory.cpp b/src/plugins/Input/mad/decodermadfactory.cpp
index a6a192234..83a3d4f29 100644
--- a/src/plugins/Input/mad/decodermadfactory.cpp
+++ b/src/plugins/Input/mad/decodermadfactory.cpp
@@ -224,7 +224,7 @@ void DecoderMADFactory::showAbout(QWidget *parent)
.arg(MAD_VERSION_MINOR)
.arg(MAD_VERSION_PATCH).arg(MAD_VERSION_EXTRA)+"\n"+
tr("Written by: Ilya Kotov <forkotov02@hotmail.ru>")+"\n"+
- tr("Source code based on mq3 and madplay progects")
+ tr("Source code based on mq3 and madplay projects")
);
}
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