diff options
| author | trialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38> | 2017-12-29 20:16:02 +0000 |
|---|---|---|
| committer | trialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38> | 2017-12-29 20:16:02 +0000 |
| commit | 0347366082328593b9981fa59ec7e4d6c0febb6b (patch) | |
| tree | 8d4f9ab10f3e3e5225a2958805d8bb3464ff328c /src/plugins/Input/mpeg/mpeg.pro | |
| parent | 4575915c154c36977d96a5510f625afcc545fe91 (diff) | |
| download | qmmp-0347366082328593b9981fa59ec7e4d6c0febb6b.tar.gz qmmp-0347366082328593b9981fa59ec7e4d6c0febb6b.tar.bz2 qmmp-0347366082328593b9981fa59ec7e4d6c0febb6b.zip | |
mpeg: feature to disable mpg123/mad support
git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@7809 90c681e8-e032-0410-971d-27865f9a5e38
Diffstat (limited to 'src/plugins/Input/mpeg/mpeg.pro')
| -rw-r--r-- | src/plugins/Input/mpeg/mpeg.pro | 23 |
1 files changed, 16 insertions, 7 deletions
diff --git a/src/plugins/Input/mpeg/mpeg.pro b/src/plugins/Input/mpeg/mpeg.pro index e7d50b22e..5960a5f3a 100644 --- a/src/plugins/Input/mpeg/mpeg.pro +++ b/src/plugins/Input/mpeg/mpeg.pro @@ -3,21 +3,29 @@ include(../../plugins.pri) TARGET = $$PLUGINS_PREFIX/Input/mpeg HEADERS += decodermpegfactory.h \ - decoder_mad.h \ - decoder_mpg123.h \ settingsdialog.h \ tagextractor.h \ mpegmetadatamodel.h \ replaygainreader.h -SOURCES += decoder_mad.cpp \ - decoder_mpg123.cpp \ - decodermpegfactory.cpp \ +SOURCES += decodermpegfactory.cpp \ settingsdialog.cpp \ tagextractor.cpp \ mpegmetadatamodel.cpp \ replaygainreader.cpp +contains(CONFIG, WITH_MAD){ + HEADERS += decoder_mad.h + SOURCES += decoder_mad.cpp + DEFINES += WITH_MAD +} + +contains(CONFIG, WITH_MPG123){ + HEADERS += decoder_mpg123.h + SOURCES += decoder_mpg123.cpp + DEFINES += WITH_MPG123 +} + FORMS += settingsdialog.ui RESOURCES = translations/translations.qrc @@ -25,8 +33,9 @@ RESOURCES = translations/translations.qrc unix { target.path = $$LIB_DIR/qmmp/Input INSTALLS += target - LIBS += -lmad - PKGCONFIG += taglib mad libmpg123 + PKGCONFIG += taglib + contains(CONFIG, WITH_MAD):PKGCONFIG += mad + contains(CONFIG, WITH_MPG123):PKGCONFIG += libmpg123 } win32 { |
