diff options
| author | trialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38> | 2013-12-03 06:52:38 +0000 |
|---|---|---|
| committer | trialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38> | 2013-12-03 06:52:38 +0000 |
| commit | d18aae8ebb9f71256a10e7daf6d5e3b4494cc9c6 (patch) | |
| tree | 8a55a0493562a67cfcf293656a8c057d939039f9 | |
| parent | 888fd8f7679535151ff8ac4a194b0b646f081ee4 (diff) | |
| download | qmmp-d18aae8ebb9f71256a10e7daf6d5e3b4494cc9c6.tar.gz qmmp-d18aae8ebb9f71256a10e7daf6d5e3b4494cc9c6.tar.bz2 qmmp-d18aae8ebb9f71256a10e7daf6d5e3b4494cc9c6.zip | |
cda plugin: added win32 support
git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@3938 90c681e8-e032-0410-971d-27865f9a5e38
| -rw-r--r-- | src/plugins/Input/Input.pro | 7 | ||||
| -rw-r--r-- | src/plugins/Input/cdaudio/cdaudio.pro | 33 |
2 files changed, 26 insertions, 14 deletions
diff --git a/src/plugins/Input/Input.pro b/src/plugins/Input/Input.pro index f327264ce..b01e4435a 100644 --- a/src/plugins/Input/Input.pro +++ b/src/plugins/Input/Input.pro @@ -31,15 +31,16 @@ contains(CONFIG, OPUS_PLUGIN){ SUBDIRS += opus } +contains(CONFIG, CDAUDIO_PLUGIN){ + SUBDIRS += cdaudio +} + unix{ contains(CONFIG, AAC_PLUGIN){ SUBDIRS += aac } -contains(CONFIG, CDAUDIO_PLUGIN){ - SUBDIRS += cdaudio -} contains(CONFIG, WILDMIDI_PLUGIN){ SUBDIRS += wildmidi diff --git a/src/plugins/Input/cdaudio/cdaudio.pro b/src/plugins/Input/cdaudio/cdaudio.pro index 0fd2c2aec..9a13c48be 100644 --- a/src/plugins/Input/cdaudio/cdaudio.pro +++ b/src/plugins/Input/cdaudio/cdaudio.pro @@ -7,18 +7,16 @@ SOURCES += decoder_cdaudio.cpp \ decodercdaudiofactory.cpp \ settingsdialog.cpp -TARGET =$$PLUGINS_PREFIX/Input/cdaudio -QMAKE_CLEAN =$$PLUGINS_PREFIX/Input/libcdaudio.so - INCLUDEPATH += ../../../ CONFIG += warn_on \ plugin \ link_pkgconfig TEMPLATE = lib -QMAKE_LIBDIR += ../../../../lib -LIBS += -lqmmp -L/usr/lib -I/usr/include -PKGCONFIG += libcdio libcdio_cdda libcdio_paranoia libcddb + +TARGET =$$PLUGINS_PREFIX/Input/cdaudio + + TRANSLATIONS = translations/cdaudio_plugin_ru.ts \ translations/cdaudio_plugin_uk_UA.ts \ translations/cdaudio_plugin_zh_CN.ts \ @@ -35,11 +33,24 @@ TRANSLATIONS = translations/cdaudio_plugin_ru.ts \ RESOURCES = translations/translations.qrc -isEmpty(LIB_DIR){ - LIB_DIR = /lib -} -target.path = $$LIB_DIR/qmmp/Input -INSTALLS += target FORMS += settingsdialog.ui +unix { + QMAKE_LIBDIR += ../../../../lib + LIBS += -lqmmp -L/usr/lib -I/usr/include + PKGCONFIG += libcdio libcdio_cdda libcdio_paranoia libcddb + isEmpty(LIB_DIR) { + LIB_DIR = /lib + } + target.path = $$LIB_DIR/qmmp/Input + QMAKE_CLEAN =$$PLUGINS_PREFIX/Input/libcdaudio.so + INSTALLS += target +} + +win32 { + HEADERS += ../../../../src/qmmp/metadatamodel.h \ + ../../../../src/qmmp/decoderfactory.h + QMAKE_LIBDIR += ../../../../bin + LIBS += -lqmmp0 -lcdio -lcdio_paranoia -lcdio_cdda -lm -lwinmm -mwindows -liconv -lcddb +} |
