diff options
| author | trialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38> | 2013-03-14 05:46:43 +0000 |
|---|---|---|
| committer | trialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38> | 2013-03-14 05:46:43 +0000 |
| commit | 89918e14aea84f79bfade51dc03cec7b6fd82109 (patch) | |
| tree | f00303145e6d02ea5e7cc64fec1c9d09683d8f14 /src/plugins/Input/gme | |
| parent | f40982fd580349e325c406666c2a754deb9f7ece (diff) | |
| download | qmmp-89918e14aea84f79bfade51dc03cec7b6fd82109.tar.gz qmmp-89918e14aea84f79bfade51dc03cec7b6fd82109.tar.bz2 qmmp-89918e14aea84f79bfade51dc03cec7b6fd82109.zip | |
gme plugin: added win32 support (Closes issue 579)
git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@3311 90c681e8-e032-0410-971d-27865f9a5e38
Diffstat (limited to 'src/plugins/Input/gme')
| -rw-r--r-- | src/plugins/Input/gme/gme.pro | 31 |
1 files changed, 21 insertions, 10 deletions
diff --git a/src/plugins/Input/gme/gme.pro b/src/plugins/Input/gme/gme.pro index a6602ee78..8013cc9d6 100644 --- a/src/plugins/Input/gme/gme.pro +++ b/src/plugins/Input/gme/gme.pro @@ -13,13 +13,7 @@ CONFIG += release \ warn_on \ plugin TEMPLATE = lib -QMAKE_LIBDIR += ../../../../lib -LIBS += -lqmmp \ - -L/usr/lib \ - -L/usr/local/lib \ - -I/usr/include \ - -I/usr/local/include \ - -lgme + TRANSLATIONS = translations/gme_plugin_it.ts \ translations/gme_plugin_ru.ts \ translations/gme_plugin_cs.ts \ @@ -34,6 +28,23 @@ TRANSLATIONS = translations/gme_plugin_it.ts \ translations/gme_plugin_ja.ts RESOURCES = translations/translations.qrc -isEmpty (LIB_DIR):LIB_DIR = /lib -target.path = $$LIB_DIR/qmmp/Input -INSTALLS += target + +unix{ + isEmpty (LIB_DIR):LIB_DIR = /lib + target.path = $$LIB_DIR/qmmp/Input + INSTALLS += target + QMAKE_LIBDIR += ../../../../lib + LIBS += -lqmmp \ + -L/usr/lib \ + -L/usr/local/lib \ + -I/usr/include \ + -I/usr/local/include \ + -lgme +} + +win32 { + HEADERS += ../../../../src/qmmp/metadatamodel.h \ + ../../../../src/qmmp/decoderfactory.h + QMAKE_LIBDIR += ../../../../bin + LIBS += -lqmmp0 -lgme.dll +} |
