From 67a9bce5ac51e6d7ae8c756003649ce67398af03 Mon Sep 17 00:00:00 2001 From: trialuser02 Date: Tue, 29 Aug 2017 19:46:22 +0000 Subject: reformat .pro files git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@7421 90c681e8-e032-0410-971d-27865f9a5e38 --- src/plugins/Visual/analyzer/analyzer.pro | 26 +++------------- src/plugins/Visual/projectm/projectm.pro | 52 +++++++++++--------------------- 2 files changed, 23 insertions(+), 55 deletions(-) (limited to 'src/plugins/Visual') diff --git a/src/plugins/Visual/analyzer/analyzer.pro b/src/plugins/Visual/analyzer/analyzer.pro index a1b1e0d18..b1338088e 100644 --- a/src/plugins/Visual/analyzer/analyzer.pro +++ b/src/plugins/Visual/analyzer/analyzer.pro @@ -1,10 +1,7 @@ include(../../plugins.pri) -TARGET=$$PLUGINS_PREFIX/Visual/analyzer -QMAKE_CLEAN =$$PLUGINS_PREFIX/Visual/libanalyzer.so +TARGET = $$PLUGINS_PREFIX/Visual/analyzer - -FORMS += settingsdialog.ui HEADERS += analyzer.h \ fft.h \ visualanalyzerfactory.h \ @@ -17,24 +14,11 @@ SOURCES += analyzer.cpp \ colorwidget.cpp \ settingsdialog.cpp -TRANSLATIONS = translations/analyzer_plugin_cs.ts \ - translations/analyzer_plugin_de.ts \ - translations/analyzer_plugin_zh_CN.ts \ - translations/analyzer_plugin_zh_TW.ts \ - translations/analyzer_plugin_ru.ts \ - translations/analyzer_plugin_pl.ts \ - translations/analyzer_plugin_uk_UA.ts \ - translations/analyzer_plugin_it.ts \ - translations/analyzer_plugin_tr.ts \ - translations/analyzer_plugin_lt.ts \ - translations/analyzer_plugin_nl.ts \ - translations/analyzer_plugin_ja.ts \ - translations/analyzer_plugin_es.ts \ - translations/analyzer_plugin_sr_BA.ts \ - translations/analyzer_plugin_sr_RS.ts +FORMS += settingsdialog.ui RESOURCES = translations/translations.qrc + unix{ - target.path = $$LIB_DIR/qmmp/Visual - INSTALLS += target + target.path = $$LIB_DIR/qmmp/Visual + INSTALLS += target } diff --git a/src/plugins/Visual/projectm/projectm.pro b/src/plugins/Visual/projectm/projectm.pro index 31755afd7..59af466cc 100644 --- a/src/plugins/Visual/projectm/projectm.pro +++ b/src/plugins/Visual/projectm/projectm.pro @@ -1,11 +1,8 @@ include(../../plugins.pri) -contains(CONFIG, WITH_PROJECTM20){ - DEFINES += PROJECTM_20 -} +TARGET = $$PLUGINS_PREFIX/Visual/projectm -TARGET =$$PLUGINS_PREFIX/Visual/projectm -QMAKE_CLEAN =$$PLUGINS_PREFIX/Visual/libprojectm.so +QT += opengl HEADERS += projectmwidget.h \ visualprojectmfactory.h \ @@ -16,39 +13,26 @@ SOURCES += projectmplugin.cpp \ projectmwidget.cpp \ projectmwrapper.cpp -QT += opengl - -TRANSLATIONS = translations/projectm_plugin_cs.ts \ - translations/projectm_plugin_de.ts \ - translations/projectm_plugin_zh_CN.ts \ - translations/projectm_plugin_zh_TW.ts \ - translations/projectm_plugin_pl.ts \ - translations/projectm_plugin_ru.ts \ - translations/projectm_plugin_uk_UA.ts \ - translations/projectm_plugin_it.ts \ - translations/projectm_plugin_tr.ts \ - translations/projectm_plugin_lt.ts \ - translations/projectm_plugin_nl.ts \ - translations/projectm_plugin_ja.ts \ - translations/projectm_plugin_es.ts \ - translations/projectm_plugin_sr_BA.ts \ - translations/projectm_plugin_sr_RS.ts RESOURCES = translations/translations.qrc +contains(CONFIG, WITH_PROJECTM20){ + DEFINES += PROJECTM_20 +} + unix { - PKGCONFIG += libprojectM - target.path = $$LIB_DIR/qmmp/Visual - INSTALLS += target - LIBS += -L/usr/lib -I/usr/include - #projectM config path - PROJECTM_CONFIG_FILES = /usr/share/projectM/config.inp \ - /usr/local/share/projectM/config.inp - for(path, PROJECTM_CONFIG_FILES) { - exists($$path) { - message ("found projectm configuration: "$$path) - DEFINES += PROJECTM_CONFIG=\\\"$$path\\\" + PKGCONFIG += libprojectM + target.path = $$LIB_DIR/qmmp/Visual + INSTALLS += target + LIBS += -L/usr/lib -I/usr/include + #projectM config path + PROJECTM_CONFIG_FILES = /usr/share/projectM/config.inp \ + /usr/local/share/projectM/config.inp + for(path, PROJECTM_CONFIG_FILES) { + exists($$path) { + message ("found projectm configuration: "$$path) + DEFINES += PROJECTM_CONFIG=\\\"$$path\\\" + } } - } } win32 { -- cgit v1.2.3-13-gbd6f