From 0c969362a32a2990c5b77e2720bc0f343957469d Mon Sep 17 00:00:00 2001 From: trialuser02 Date: Wed, 3 Feb 2010 21:00:34 +0000 Subject: cue plugin: added automatic charset detection (Closes issue 50) git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@1542 90c681e8-e032-0410-971d-27865f9a5e38 --- src/plugins/Input/cue/cue.pro | 22 ++++++++++++++++------ 1 file changed, 16 insertions(+), 6 deletions(-) (limited to 'src/plugins/Input/cue/cue.pro') diff --git a/src/plugins/Input/cue/cue.pro b/src/plugins/Input/cue/cue.pro index 8d6e877c8..21078dd2e 100644 --- a/src/plugins/Input/cue/cue.pro +++ b/src/plugins/Input/cue/cue.pro @@ -19,11 +19,21 @@ CONFIG += release \ warn_on \ plugin TEMPLATE = lib -unix:QMAKE_LIBDIR += ../../../../lib -win32:QMAKE_LIBDIR += ../../../../bin -unix:LIBS += -lqmmp \ - -L/usr/lib -win32:LIBS += -lqmmp0 +unix{ + QMAKE_LIBDIR += ../../../../lib + LIBS += -lqmmp -L/usr/lib + contains(CONFIG, WITH_ENCA){ + CONFIG += link_pkgconfig + PKGCONFIG += enca + DEFINES += WITH_ENCA + } +} + +win32{ + QMAKE_LIBDIR += ../../../../bin + LIBS += -lqmmp0 +} + TRANSLATIONS = translations/cue_plugin_ru.ts \ translations/cue_plugin_uk_UA.ts \ translations/cue_plugin_zh_CN.ts \ @@ -41,5 +51,5 @@ unix { desktop.files = qmmp_cue.desktop desktop.path = /share/applications INSTALLS += target \ - desktop + desktop } -- cgit v1.2.3-13-gbd6f