diff options
Diffstat (limited to 'src/plugins/Input')
| -rw-r--r-- | src/plugins/Input/aac/aac.pro | 7 | ||||
| -rw-r--r-- | src/plugins/Input/archive/archive.pro | 12 | ||||
| -rw-r--r-- | src/plugins/Input/cdaudio/cdaudio.pro | 14 | ||||
| -rw-r--r-- | src/plugins/Input/cue/cue.pro | 15 | ||||
| -rw-r--r-- | src/plugins/Input/ffmpeg/ffmpeg.pro | 8 | ||||
| -rw-r--r-- | src/plugins/Input/ffmpeg_legacy/ffmpeg_legacy.pro | 10 | ||||
| -rw-r--r-- | src/plugins/Input/flac/flac.pro | 13 | ||||
| -rw-r--r-- | src/plugins/Input/gme/gme.pro | 18 | ||||
| -rw-r--r-- | src/plugins/Input/mad/mad.pro | 11 | ||||
| -rw-r--r-- | src/plugins/Input/modplug/modplug.pro | 10 | ||||
| -rw-r--r-- | src/plugins/Input/mpc/mpc.pro | 9 | ||||
| -rw-r--r-- | src/plugins/Input/opus/opus.pro | 9 | ||||
| -rw-r--r-- | src/plugins/Input/sid/sid.pro | 9 | ||||
| -rw-r--r-- | src/plugins/Input/sndfile/sndfile.pro | 12 | ||||
| -rw-r--r-- | src/plugins/Input/vorbis/vorbis.pro | 10 | ||||
| -rw-r--r-- | src/plugins/Input/wavpack/wavpack.pro | 9 | ||||
| -rw-r--r-- | src/plugins/Input/wildmidi/wildmidi.pro | 7 |
17 files changed, 33 insertions, 150 deletions
diff --git a/src/plugins/Input/aac/aac.pro b/src/plugins/Input/aac/aac.pro index 25be00d73..48c3592bb 100644 --- a/src/plugins/Input/aac/aac.pro +++ b/src/plugins/Input/aac/aac.pro @@ -10,12 +10,7 @@ SOURCES += decoder_aac.cpp \ aacmetadatamodel.cpp TARGET = $$PLUGINS_PREFIX/Input/aac QMAKE_CLEAN = $$PLUGINS_PREFIX/Input/libaac.so -CONFIG += warn_on \ - plugin \ - link_pkgconfig -TEMPLATE = lib -LIBS += -lqmmp \ - -lfaad \ +LIBS += -lfaad \ -L/usr/lib \ -I/usr/include PKGCONFIG += taglib diff --git a/src/plugins/Input/archive/archive.pro b/src/plugins/Input/archive/archive.pro index d10d22e8c..5de6744fc 100644 --- a/src/plugins/Input/archive/archive.pro +++ b/src/plugins/Input/archive/archive.pro @@ -16,22 +16,14 @@ SOURCES += \ TARGET=$$PLUGINS_PREFIX/Input/archive -CONFIG += warn_on \ -plugin \ -link_pkgconfig - -TEMPLATE = lib +LIBS += -lqmmp RESOURCES = translations/translations.qrc unix { target.path = $$LIB_DIR/qmmp/Input INSTALLS += target - LIBS += -lqmmp + PKGCONFIG += libarchive taglib QMAKE_CLEAN =$$PLUGINS_PREFIX/Input/libarc.so } - -win32 { - LIBS += -lqmmp0 -larchive -ltag -} diff --git a/src/plugins/Input/cdaudio/cdaudio.pro b/src/plugins/Input/cdaudio/cdaudio.pro index dbd9cfcac..d8e123a4c 100644 --- a/src/plugins/Input/cdaudio/cdaudio.pro +++ b/src/plugins/Input/cdaudio/cdaudio.pro @@ -7,20 +7,16 @@ SOURCES += decoder_cdaudio.cpp \ decodercdaudiofactory.cpp \ settingsdialog.cpp -CONFIG += warn_on \ -plugin \ -link_pkgconfig -TEMPLATE = lib - TARGET =$$PLUGINS_PREFIX/Input/cdaudio RESOURCES = translations/translations.qrc - FORMS += settingsdialog.ui +LIBS += -lqmmp + unix { - LIBS += -lqmmp -L/usr/lib -I/usr/include + LIBS += -L/usr/lib -I/usr/include PKGCONFIG += libcdio libcdio_cdda libcdio_paranoia libcddb target.path = $$LIB_DIR/qmmp/Input QMAKE_CLEAN =$$PLUGINS_PREFIX/Input/libcdaudio.so @@ -28,7 +24,5 @@ unix { } win32 { - HEADERS += ../../../../src/qmmp/metadatamodel.h \ - ../../../../src/qmmp/decoderfactory.h - LIBS += -lqmmp0 -lcdio -lcdio_paranoia -lcdio_cdda -lm -lwinmm -mwindows -liconv -lcddb -lws2_32 + LIBS += -lcdio -lcdio_paranoia -lcdio_cdda -lm -lwinmm -mwindows -liconv -lcddb -lws2_32 } diff --git a/src/plugins/Input/cue/cue.pro b/src/plugins/Input/cue/cue.pro index 141f4576c..21c0c366f 100644 --- a/src/plugins/Input/cue/cue.pro +++ b/src/plugins/Input/cue/cue.pro @@ -10,27 +10,14 @@ SOURCES += decoder_cue.cpp \ cueparser.cpp \ settingsdialog.cpp \ cuemetadatamodel.cpp -win32:HEADERS += ../../../../src/qmmp/decoder.h \ - ../../../../src/qmmp/statehandler.h + TARGET = $$PLUGINS_PREFIX/Input/cue unix:QMAKE_CLEAN = $$PLUGINS_PREFIX/Input/libcue.so -CONFIG += warn_on \ - plugin -TEMPLATE = lib -unix{ - LIBS += -lqmmp -L/usr/lib -} - -win32{ - LIBS += -lqmmp0 -} contains(CONFIG, WITH_ENCA){ - CONFIG += link_pkgconfig DEFINES += WITH_ENCA unix:PKGCONFIG += enca win32:LIBS += -lenca.dll - } RESOURCES = translations/translations.qrc diff --git a/src/plugins/Input/ffmpeg/ffmpeg.pro b/src/plugins/Input/ffmpeg/ffmpeg.pro index fa779ece7..a6a5b8801 100644 --- a/src/plugins/Input/ffmpeg/ffmpeg.pro +++ b/src/plugins/Input/ffmpeg/ffmpeg.pro @@ -11,18 +11,12 @@ SOURCES += decoder_ffmpeg.cpp \ ffmpegmetadatamodel.cpp \ replaygainreader.cpp -CONFIG += warn_on \ - plugin \ - link_pkgconfig -TEMPLATE = lib - TARGET = $$PLUGINS_PREFIX/Input/ffmpeg unix { target.path = $$LIB_DIR/qmmp/Input INSTALLS += target QMAKE_CLEAN = $$PLUGINS_PREFIX/Input/libffmpeg.so - LIBS += -lqmmp PKGCONFIG += libavcodec libavformat libavutil } @@ -30,7 +24,7 @@ unix { win32 { HEADERS += ../../../../src/qmmp/metadatamodel.h \ ../../../../src/qmmp/decoderfactory.h - LIBS += -lqmmp0 -lavcodec.dll -lavformat.dll -lavutil.dll + LIBS += -lavcodec.dll -lavformat.dll -lavutil.dll } DEFINES += __STDC_CONSTANT_MACROS diff --git a/src/plugins/Input/ffmpeg_legacy/ffmpeg_legacy.pro b/src/plugins/Input/ffmpeg_legacy/ffmpeg_legacy.pro index ff4e0ff31..bfcc5bf8e 100644 --- a/src/plugins/Input/ffmpeg_legacy/ffmpeg_legacy.pro +++ b/src/plugins/Input/ffmpeg_legacy/ffmpeg_legacy.pro @@ -10,26 +10,18 @@ SOURCES += decoder_ffmpeg.cpp \ ffmpegmetadatamodel.cpp -CONFIG += warn_on \ - plugin \ - link_pkgconfig -TEMPLATE = lib - TARGET = $$PLUGINS_PREFIX/Input/ffmpeg_legacy unix { target.path = $$LIB_DIR/qmmp/Input INSTALLS += target QMAKE_CLEAN = $$PLUGINS_PREFIX/Input/libffmpeg_legacy.so - LIBS += -lqmmp PKGCONFIG += libavcodec libavformat libavutil } win32 { - HEADERS += ../../../../src/qmmp/metadatamodel.h \ - ../../../../src/qmmp/decoderfactory.h - LIBS += -lqmmp0 -lavcodec.dll -lavformat.dll -lavutil.dll + LIBS +=-lavcodec.dll -lavformat.dll -lavutil.dll } DEFINES += __STDC_CONSTANT_MACROS diff --git a/src/plugins/Input/flac/flac.pro b/src/plugins/Input/flac/flac.pro index 9f2119db6..8c9ae70cc 100644 --- a/src/plugins/Input/flac/flac.pro +++ b/src/plugins/Input/flac/flac.pro @@ -12,23 +12,18 @@ SOURCES += decoder_flac.cpp \ replaygainreader.cpp TARGET = $$PLUGINS_PREFIX/Input/flac -CONFIG += warn_on \ - plugin \ - link_pkgconfig -TEMPLATE = lib - RESOURCES = translations/translations.qrc +LIBS += -lqmmp + unix { target.path = $$LIB_DIR/qmmp/Input INSTALLS += target PKGCONFIG += taglib flac - LIBS += -lqmmp + QMAKE_CLEAN = $$PLUGINS_PREFIX/Input/libflac.so } win32 { - HEADERS += ../../../../src/qmmp/metadatamodel.h \ - ../../../../src/qmmp/decoderfactory.h - LIBS += -lqmmp0 -lflac -logg -ltag.dll -lm + LIBS += -lflac -logg -ltag.dll -lm } diff --git a/src/plugins/Input/gme/gme.pro b/src/plugins/Input/gme/gme.pro index 5ee416910..73fe7c1fd 100644 --- a/src/plugins/Input/gme/gme.pro +++ b/src/plugins/Input/gme/gme.pro @@ -8,19 +8,20 @@ SOURCES += decoder_gme.cpp \ decodergmefactory.cpp \ gmehelper.cpp \ settingsdialog.cpp + +FORMS += settingsdialog.ui + TARGET = $$PLUGINS_PREFIX/Input/gme QMAKE_CLEAN = $$PLUGINS_PREFIX/Input/libgme.so -CONFIG += warn_on \ - plugin -TEMPLATE = lib RESOURCES = translations/translations.qrc +LIBS += -lqmmp + unix{ target.path = $$LIB_DIR/qmmp/Input INSTALLS += target - LIBS += -lqmmp \ - -L/usr/lib \ + LIBS += -L/usr/lib \ -L/usr/local/lib \ -I/usr/include \ -I/usr/local/include \ @@ -28,10 +29,5 @@ unix{ } win32 { - HEADERS += ../../../../src/qmmp/metadatamodel.h \ - ../../../../src/qmmp/decoderfactory.h - LIBS += -lqmmp0 -lgme.dll + LIBS += -lgme.dll } - -FORMS += \ - settingsdialog.ui diff --git a/src/plugins/Input/mad/mad.pro b/src/plugins/Input/mad/mad.pro index 4881bf66b..1e225bc91 100644 --- a/src/plugins/Input/mad/mad.pro +++ b/src/plugins/Input/mad/mad.pro @@ -14,23 +14,16 @@ SOURCES += decoder_mad.cpp \ replaygainreader.cpp TARGET = $$PLUGINS_PREFIX/Input/mad -CONFIG += warn_on \ - plugin \ - link_pkgconfig -TEMPLATE = lib - RESOURCES = translations/translations.qrc unix { target.path = $$LIB_DIR/qmmp/Input INSTALLS += target - LIBS += -lqmmp -lmad + LIBS += -lmad PKGCONFIG += taglib mad QMAKE_CLEAN = $$PLUGINS_PREFIX/Input/libmad.so } win32 { - HEADERS += ../../../../src/qmmp/metadatamodel.h \ - ../../../../src/qmmp/decoderfactory.h - LIBS += -lqmmp0 -lmad -ltag.dll + LIBS += -lmad -ltag.dll } diff --git a/src/plugins/Input/modplug/modplug.pro b/src/plugins/Input/modplug/modplug.pro index 87674b31d..dacb4643f 100644 --- a/src/plugins/Input/modplug/modplug.pro +++ b/src/plugins/Input/modplug/modplug.pro @@ -14,25 +14,17 @@ TARGET = $$PLUGINS_PREFIX/Input/modplug DEFINES += HAVE_STDINT_H \ HAVE_INTTYPES_H -CONFIG += warn_on \ - plugin \ - link_pkgconfig -TEMPLATE = lib RESOURCES = translations/translations.qrc unix { target.path = $$LIB_DIR/qmmp/Input INSTALLS += target - - LIBS += -lqmmp PKGCONFIG += libmodplug QMAKE_CLEAN = $$PLUGINS_PREFIX/Input/libmodplug.so } win32 { - HEADERS += ../../../../src/qmmp/metadatamodel.h \ - ../../../../src/qmmp/decoderfactory.h - LIBS += -lqmmp0 -lmodplug + LIBS += -lmodplug DEFINES -= UNICODE } diff --git a/src/plugins/Input/mpc/mpc.pro b/src/plugins/Input/mpc/mpc.pro index 3044da310..04f6cb09a 100644 --- a/src/plugins/Input/mpc/mpc.pro +++ b/src/plugins/Input/mpc/mpc.pro @@ -8,18 +8,13 @@ SOURCES += decoder_mpc.cpp \ mpcmetadatamodel.cpp TARGET = $$PLUGINS_PREFIX/Input/mpc -CONFIG += warn_on \ - plugin \ - link_pkgconfig -TEMPLATE = lib - RESOURCES = translations/translations.qrc unix { target.path = $$LIB_DIR/qmmp/Input INSTALLS += target PKGCONFIG += taglib - LIBS += -lqmmp -lmpcdec -I/usr/include + LIBS += -lmpcdec -I/usr/include exists(/usr/include/mpcdec/mpcdec.h):DEFINES += MPC_OLD_API QMAKE_CLEAN = $$PLUGINS_PREFIX/Input/libmpc.so } @@ -27,6 +22,6 @@ unix { win32 { HEADERS += ../../../../src/qmmp/metadatamodel.h \ ../../../../src/qmmp/decoderfactory.h - LIBS += -lqmmp0 -lmpcdec -ltag.dll + LIBS += -lmpcdec -ltag.dll #DEFINES += MPC_OLD_API } diff --git a/src/plugins/Input/opus/opus.pro b/src/plugins/Input/opus/opus.pro index 98d2b7cbd..4d83a393d 100644 --- a/src/plugins/Input/opus/opus.pro +++ b/src/plugins/Input/opus/opus.pro @@ -16,10 +16,6 @@ SOURCES += decoder_opus.cpp \ tdebug.cpp TARGET = $$PLUGINS_PREFIX/Input/opus -CONFIG += warn_on \ - plugin \ - link_pkgconfig -TEMPLATE = lib RESOURCES = translations/translations.qrc @@ -28,12 +24,9 @@ unix { INSTALLS += target PKGCONFIG += taglib opus opusfile - LIBS += -lqmmp QMAKE_CLEAN = $$PLUGINS_PREFIX/Input/libopus.so } win32 { - HEADERS += ../../../../src/qmmp/metadatamodel.h \ - ../../../../src/qmmp/decoderfactory.h - LIBS += -lqmmp0 -lopusfile -lopus -ltag.dll -lm + LIBS += -lopusfile -lopus -ltag.dll -lm } diff --git a/src/plugins/Input/sid/sid.pro b/src/plugins/Input/sid/sid.pro index d4661caa2..290633d80 100644 --- a/src/plugins/Input/sid/sid.pro +++ b/src/plugins/Input/sid/sid.pro @@ -14,22 +14,15 @@ FORMS += \ TARGET = $$PLUGINS_PREFIX/Input/sid QMAKE_CLEAN = $$PLUGINS_PREFIX/Input/libsid.so -CONFIG += warn_on \ - plugin \ - link_pkgconfig -TEMPLATE = lib RESOURCES = translations/translations.qrc unix{ target.path = $$LIB_DIR/qmmp/Input INSTALLS += target - LIBS += -lqmmp PKGCONFIG += libsidplayfp } win32 { - HEADERS += ../../../../src/qmmp/metadatamodel.h \ - ../../../../src/qmmp/decoderfactory.h - LIBS += -lqmmp0 -lsidplayfp.dll + LIBS += -lsidplayfp.dll } diff --git a/src/plugins/Input/sndfile/sndfile.pro b/src/plugins/Input/sndfile/sndfile.pro index 0033f2fd5..b2b06b90b 100644 --- a/src/plugins/Input/sndfile/sndfile.pro +++ b/src/plugins/Input/sndfile/sndfile.pro @@ -7,25 +7,15 @@ SOURCES += decoder_sndfile.cpp \ TARGET=$$PLUGINS_PREFIX/Input/sndfile -CONFIG += warn_on \ -plugin \ -link_pkgconfig - -TEMPLATE = lib - RESOURCES = translations/translations.qrc unix { target.path = $$LIB_DIR/qmmp/Input INSTALLS += target - - LIBS += -lqmmp PKGCONFIG += sndfile QMAKE_CLEAN =$$PLUGINS_PREFIX/Input/libsndfile.so } win32 { - HEADERS += ../../../../src/qmmp/metadatamodel.h \ - ../../../../src/qmmp/decoderfactory.h - LIBS += -lqmmp0 -lsndfile -lflac -lvorbisenc -lvorbis -logg + LIBS += -lsndfile -lflac -lvorbisenc -lvorbis -logg } diff --git a/src/plugins/Input/vorbis/vorbis.pro b/src/plugins/Input/vorbis/vorbis.pro index bb6357522..e0c47ff38 100644 --- a/src/plugins/Input/vorbis/vorbis.pro +++ b/src/plugins/Input/vorbis/vorbis.pro @@ -10,11 +10,6 @@ SOURCES += decoder_vorbis.cpp \ replaygainreader.cpp TARGET = $$PLUGINS_PREFIX/Input/vorbis -CONFIG += warn_on \ - plugin \ - link_pkgconfig -TEMPLATE = lib - RESOURCES = translations/translations.qrc unix { @@ -22,13 +17,10 @@ unix { 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 - LIBS += -lqmmp0 -lvorbisfile -lvorbis -logg -ltag.dll -lm + LIBS += -lvorbisfile -lvorbis -logg -ltag.dll -lm LD_FLAGS += -no-undefined } diff --git a/src/plugins/Input/wavpack/wavpack.pro b/src/plugins/Input/wavpack/wavpack.pro index 1439c2b71..1490a9c8c 100644 --- a/src/plugins/Input/wavpack/wavpack.pro +++ b/src/plugins/Input/wavpack/wavpack.pro @@ -12,18 +12,11 @@ SOURCES += decoder_wavpack.cpp \ replaygainreader.cpp TARGET = $$PLUGINS_PREFIX/Input/wavpack -CONFIG += warn_on \ - plugin \ - link_pkgconfig -TEMPLATE = lib - RESOURCES = translations/translations.qrc unix { target.path = $$LIB_DIR/qmmp/Input INSTALLS += target - - LIBS += -lqmmp PKGCONFIG += wavpack QMAKE_CLEAN = $$PLUGINS_PREFIX/Input/libwavpack.so } @@ -31,5 +24,5 @@ unix { win32 { HEADERS += ../../../../src/qmmp/metadatamodel.h \ ../../../../src/qmmp/decoderfactory.h - LIBS += -lqmmp0 -lwavpack + LIBS += -lwavpack } diff --git a/src/plugins/Input/wildmidi/wildmidi.pro b/src/plugins/Input/wildmidi/wildmidi.pro index 2c1dc2f5a..fb0b78828 100644 --- a/src/plugins/Input/wildmidi/wildmidi.pro +++ b/src/plugins/Input/wildmidi/wildmidi.pro @@ -10,11 +10,8 @@ SOURCES += decoder_wildmidi.cpp \ settingsdialog.cpp TARGET = $$PLUGINS_PREFIX/Input/wildmidi QMAKE_CLEAN = $$PLUGINS_PREFIX/Input/libwildmidi.so -CONFIG += warn_on \ - plugin -TEMPLATE = lib -LIBS += -lqmmp \ - -L/usr/lib \ + +LIBS += -L/usr/lib \ -I/usr/include \ -lWildMidi |
