aboutsummaryrefslogtreecommitdiff
path: root/src/plugins/General
diff options
context:
space:
mode:
authortrialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38>2017-08-29 19:46:22 +0000
committertrialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38>2017-08-29 19:46:22 +0000
commit67a9bce5ac51e6d7ae8c756003649ce67398af03 (patch)
tree58e5bdd8665aa9f1f691884081d91736fe724b41 /src/plugins/General
parentd33947d2ae627981141379889e510dff4c07c6b4 (diff)
downloadqmmp-67a9bce5ac51e6d7ae8c756003649ce67398af03.tar.gz
qmmp-67a9bce5ac51e6d7ae8c756003649ce67398af03.tar.bz2
qmmp-67a9bce5ac51e6d7ae8c756003649ce67398af03.zip
reformat .pro files
git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@7421 90c681e8-e032-0410-971d-27865f9a5e38
Diffstat (limited to 'src/plugins/General')
-rw-r--r--src/plugins/General/converter/converter.pro22
-rw-r--r--src/plugins/General/copypaste/copypaste.pro18
-rw-r--r--src/plugins/General/covermanager/covermanager.pro17
-rw-r--r--src/plugins/General/fileops/fileops.pro17
-rw-r--r--src/plugins/General/gnomehotkey/gnomehotkey.pro14
-rw-r--r--src/plugins/General/hal/hal.pro17
-rw-r--r--src/plugins/General/hotkey/hotkey.pro13
-rw-r--r--src/plugins/General/kdenotify/kdenotify.pro19
-rw-r--r--src/plugins/General/lyrics/lyrics.pro21
-rw-r--r--src/plugins/General/mpris/mpris.pro15
-rw-r--r--src/plugins/General/notifier/notifier.pro29
-rw-r--r--src/plugins/General/rgscan/rgscan.pro21
-rw-r--r--src/plugins/General/scrobbler/scrobbler.pro26
-rw-r--r--src/plugins/General/statusicon/statusicon.pro20
-rw-r--r--src/plugins/General/streambrowser/streambrowser.pro21
-rw-r--r--src/plugins/General/trackchange/trackchange.pro19
-rw-r--r--src/plugins/General/udisks/udisks.pro16
-rw-r--r--src/plugins/General/udisks2/udisks2.pro16
18 files changed, 157 insertions, 184 deletions
diff --git a/src/plugins/General/converter/converter.pro b/src/plugins/General/converter/converter.pro
index de458d4eb..ef617cd4e 100644
--- a/src/plugins/General/converter/converter.pro
+++ b/src/plugins/General/converter/converter.pro
@@ -1,19 +1,9 @@
include(../../plugins.pri)
+TARGET = $$PLUGINS_PREFIX/General/converter
-TARGET =$$PLUGINS_PREFIX/General/converter
-unix:QMAKE_CLEAN = $$PLUGINS_PREFIX/General/libconverter.so
-LIBS += -lqmmpui
-
-PKGCONFIG += taglib
-
-RESOURCES = translations/translations.qrc presets.qrc
-unix{
-target.path = $$LIB_DIR/qmmp/General
-INSTALLS += target
-}
HEADERS += converterfactory.h \
converterhelper.h \
converterdialog.h \
@@ -28,3 +18,13 @@ SOURCES += converterfactory.cpp \
FORMS += converterdialog.ui \
preseteditor.ui
+
+RESOURCES = translations/translations.qrc presets.qrc
+
+LIBS += -lqmmpui
+PKGCONFIG += taglib
+
+unix{
+ target.path = $$LIB_DIR/qmmp/General
+ INSTALLS += target
+}
diff --git a/src/plugins/General/copypaste/copypaste.pro b/src/plugins/General/copypaste/copypaste.pro
index dba9e5b39..95c724d04 100644
--- a/src/plugins/General/copypaste/copypaste.pro
+++ b/src/plugins/General/copypaste/copypaste.pro
@@ -1,18 +1,18 @@
include(../../plugins.pri)
-TARGET =$$PLUGINS_PREFIX/General/copypaste
-unix : QMAKE_CLEAN = $$PLUGINS_PREFIX/General/libcopypaste.so
+TARGET = $$PLUGINS_PREFIX/General/copypaste
-LIBS += -lqmmpui
-
-RESOURCES = translations/translations.qrc
-unix {
- target.path = $$LIB_DIR/qmmp/General
- INSTALLS += target
-}
HEADERS += copypastefactory.h \
copypaste.h
SOURCES += copypastefactory.cpp \
copypaste.cpp
+RESOURCES = translations/translations.qrc
+
+LIBS += -lqmmpui
+
+unix {
+ target.path = $$LIB_DIR/qmmp/General
+ INSTALLS += target
+}
diff --git a/src/plugins/General/covermanager/covermanager.pro b/src/plugins/General/covermanager/covermanager.pro
index c74960bfd..c147e5a41 100644
--- a/src/plugins/General/covermanager/covermanager.pro
+++ b/src/plugins/General/covermanager/covermanager.pro
@@ -1,15 +1,9 @@
include(../../plugins.pri)
TARGET = $$PLUGINS_PREFIX/General/covermanager
-unix:QMAKE_CLEAN = $$PLUGINS_PREFIX/General/libcovermanager.so
+QT += network
-RESOURCES = translations/translations.qrc \
- images/cm_images.qrc
-unix {
- target.path = $$LIB_DIR/qmmp/General
- INSTALLS += target
-}
HEADERS += covermanagerfactory.h \
coverwidget.h \
covermanager.h
@@ -18,5 +12,12 @@ SOURCES += covermanagerfactory.cpp \
coverwidget.cpp \
covermanager.cpp
-QT += network
+RESOURCES = translations/translations.qrc \
+ images/cm_images.qrc
+
LIBS += -lqmmpui
+
+unix {
+ target.path = $$LIB_DIR/qmmp/General
+ INSTALLS += target
+}
diff --git a/src/plugins/General/fileops/fileops.pro b/src/plugins/General/fileops/fileops.pro
index 79b5cf895..a3252b689 100644
--- a/src/plugins/General/fileops/fileops.pro
+++ b/src/plugins/General/fileops/fileops.pro
@@ -1,15 +1,7 @@
include(../../plugins.pri)
-TARGET =$$PLUGINS_PREFIX/General/fileops
-unix : QMAKE_CLEAN = $$PLUGINS_PREFIX/General/libfileops.so
+TARGET = $$PLUGINS_PREFIX/General/fileops
-LIBS += -lqmmpui
-
-RESOURCES = translations/translations.qrc
-unix {
- target.path = $$LIB_DIR/qmmp/General
- INSTALLS += target
-}
HEADERS += fileopsfactory.h \
fileops.h \
settingsdialog.h \
@@ -23,4 +15,11 @@ SOURCES += fileopsfactory.cpp \
FORMS += settingsdialog.ui \
hotkeydialog.ui
+RESOURCES = translations/translations.qrc
+
+LIBS += -lqmmpui
+unix {
+ target.path = $$LIB_DIR/qmmp/General
+ INSTALLS += target
+}
diff --git a/src/plugins/General/gnomehotkey/gnomehotkey.pro b/src/plugins/General/gnomehotkey/gnomehotkey.pro
index 0968f35ed..7bafffe5f 100644
--- a/src/plugins/General/gnomehotkey/gnomehotkey.pro
+++ b/src/plugins/General/gnomehotkey/gnomehotkey.pro
@@ -1,15 +1,8 @@
include(../../plugins.pri)
-QT += dbus
-
TARGET = $$PLUGINS_PREFIX/General/gnomehotkey
-QMAKE_CLEAN = $$PLUGINS_PREFIX/General/libgnomehotkey.so
-
-RESOURCES = translations/translations.qrc
-
-target.path = $$LIB_DIR/qmmp/General
-INSTALLS += target
+QT += dbus
HEADERS += gnomehotkeyfactory.h \
mediakeys.h
@@ -17,4 +10,9 @@ HEADERS += gnomehotkeyfactory.h \
SOURCES += gnomehotkeyfactory.cpp \
mediakeys.cpp
+RESOURCES = translations/translations.qrc
+
LIBS += -lqmmpui
+
+target.path = $$LIB_DIR/qmmp/General
+INSTALLS += target
diff --git a/src/plugins/General/hal/hal.pro b/src/plugins/General/hal/hal.pro
index 22b577958..2fca9bf0c 100644
--- a/src/plugins/General/hal/hal.pro
+++ b/src/plugins/General/hal/hal.pro
@@ -1,15 +1,8 @@
include(../../plugins.pri)
-QT += dbus
-
TARGET = $$PLUGINS_PREFIX/General/hal
-QMAKE_CLEAN = $$PLUGINS_PREFIX/General/libhal.so
-
-RESOURCES = translations/translations.qrc
-
-target.path = $$LIB_DIR/qmmp/General
-INSTALLS += target
+QT += dbus
HEADERS += halfactory.h \
halplugin.h \
@@ -23,6 +16,12 @@ SOURCES += halfactory.cpp \
haldevice.cpp \
settingsdialog.cpp
+FORMS += settingsdialog.ui
+
+
+RESOURCES = translations/translations.qrc
+
LIBS += -lqmmpui
-FORMS += settingsdialog.ui
+target.path = $$LIB_DIR/qmmp/General
+INSTALLS += target
diff --git a/src/plugins/General/hotkey/hotkey.pro b/src/plugins/General/hotkey/hotkey.pro
index a97191bcd..335d9b1ec 100644
--- a/src/plugins/General/hotkey/hotkey.pro
+++ b/src/plugins/General/hotkey/hotkey.pro
@@ -2,10 +2,6 @@ include(../../plugins.pri)
TARGET = $$PLUGINS_PREFIX/General/hotkey
-RESOURCES = translations/translations.qrc
-
-target.path = $$LIB_DIR/qmmp/General
-
HEADERS += hotkeyfactory.h \
hotkeymanager.h \
settingsdialog.h \
@@ -20,14 +16,13 @@ SOURCES += hotkeyfactory.cpp \
FORMS += settingsdialog.ui \
hotkeydialog.ui
+RESOURCES = translations/translations.qrc
+
+LIBS += -lqmmpui
+
unix {
target.path = $$LIB_DIR/qmmp/General
INSTALLS += target
- QMAKE_CLEAN = $$PLUGINS_PREFIX/General/libhotkey.so
PKGCONFIG += x11
DEFINES += HAVE_XKBLIB_H
}
-
-
-LIBS += -lqmmpui
-
diff --git a/src/plugins/General/kdenotify/kdenotify.pro b/src/plugins/General/kdenotify/kdenotify.pro
index 75b7f11d2..5577e7433 100644
--- a/src/plugins/General/kdenotify/kdenotify.pro
+++ b/src/plugins/General/kdenotify/kdenotify.pro
@@ -2,26 +2,27 @@
# Project created by QtCreator 2009-10-14T17:55:38
# -------------------------------------------------
include(../../plugins.pri)
-QT += dbus
TARGET = $$PLUGINS_PREFIX/General/kdenotify
-QMAKE_CLEAN = $$PLUGINS_PREFIX/General/libkdenotify.so
-LIBS += -lqmmpui
-unix {
- target.path = $$LIB_DIR/qmmp/General
- INSTALLS += target
-}
+QT += dbus
+
SOURCES += kdenotifyfactory.cpp \
kdenotify.cpp \
settingsdialog.cpp
+
HEADERS += kdenotifyfactory.h \
kdenotify.h \
settingsdialog.h
-RESOURCES += translations/translations.qrc
+
FORMS += settingsdialog.ui
+RESOURCES += translations/translations.qrc
+
+LIBS += -lqmmpui
+
+target.path = $$LIB_DIR/qmmp/General
images.files = images/app_icon.png \
images/empty_cover.png
images.path = /share/qmmp/images/
-INSTALLS += images
+INSTALLS += target images
diff --git a/src/plugins/General/lyrics/lyrics.pro b/src/plugins/General/lyrics/lyrics.pro
index d4007b6de..41c0aa4f1 100644
--- a/src/plugins/General/lyrics/lyrics.pro
+++ b/src/plugins/General/lyrics/lyrics.pro
@@ -1,25 +1,24 @@
include(../../plugins.pri)
-TARGET =$$PLUGINS_PREFIX/General/lyrics
-unix:QMAKE_CLEAN = $$PLUGINS_PREFIX/General/liblyrics.so
+TARGET = $$PLUGINS_PREFIX/General/lyrics
-LIBS += -lqmmpui
-
-RESOURCES = translations/translations.qrc
+QT += network
-unix {
-target.path = $$LIB_DIR/qmmp/General
-INSTALLS += target
-}
HEADERS += lyricsfactory.h \
lyrics.h \
lyricswindow.h
-win32:HEADERS += ../../../../src/qmmpui/general.h
+
SOURCES += lyricsfactory.cpp \
lyrics.cpp \
lyricswindow.cpp
FORMS += lyricswindow.ui
-QT += network
+RESOURCES = translations/translations.qrc
+
+LIBS += -lqmmpui
+unix {
+ target.path = $$LIB_DIR/qmmp/General
+ INSTALLS += target
+}
diff --git a/src/plugins/General/mpris/mpris.pro b/src/plugins/General/mpris/mpris.pro
index 5a1518440..4fdbcce76 100644
--- a/src/plugins/General/mpris/mpris.pro
+++ b/src/plugins/General/mpris/mpris.pro
@@ -1,14 +1,8 @@
include(../../plugins.pri)
-QT += dbus
-
-TARGET =$$PLUGINS_PREFIX/General/mpris
-QMAKE_CLEAN =$$PLUGINS_PREFIX/General/libmpris.so
-
-RESOURCES = translations/translations.qrc
+TARGET = $$PLUGINS_PREFIX/General/mpris
-target.path = $$LIB_DIR/qmmp/General
-INSTALLS += target
+QT += dbus
HEADERS += mprisfactory.h \
mpris.h \
@@ -26,4 +20,9 @@ SOURCES += mprisfactory.cpp \
mpris2/root2object.cpp \
mpris2/player2object.cpp
+RESOURCES = translations/translations.qrc
+
LIBS += -lqmmpui
+
+target.path = $$LIB_DIR/qmmp/General
+INSTALLS += target
diff --git a/src/plugins/General/notifier/notifier.pro b/src/plugins/General/notifier/notifier.pro
index 5380030f9..6da83f8dc 100644
--- a/src/plugins/General/notifier/notifier.pro
+++ b/src/plugins/General/notifier/notifier.pro
@@ -1,29 +1,26 @@
include(../../plugins.pri)
+TARGET = $$PLUGINS_PREFIX/General/notifier
-TARGET =$$PLUGINS_PREFIX/General/notifier
-unix:QMAKE_CLEAN =$$PLUGINS_PREFIX/General/libnotifier.so
+HEADERS += notifierfactory.h \
+ notifier.h \
+ popupwidget.h \
+ settingsdialog.h
-LIBS += -lqmmpui
+SOURCES += notifierfactory.cpp \
+ notifier.cpp \
+ popupwidget.cpp \
+ settingsdialog.cpp
+
+FORMS += settingsdialog.ui
RESOURCES = notifier_images.qrc \
translations/translations.qrc
+LIBS += -lqmmpui
+
unix {
PKGCONFIG += x11
target.path = $$LIB_DIR/qmmp/General
INSTALLS += target
}
-
-HEADERS += notifierfactory.h \
- notifier.h \
- popupwidget.h \
- settingsdialog.h
-win32:HEADERS += ../../../../src/qmmpui/general.h
-SOURCES += notifierfactory.cpp \
- notifier.cpp \
- popupwidget.cpp \
- settingsdialog.cpp
-
-FORMS += settingsdialog.ui
-
diff --git a/src/plugins/General/rgscan/rgscan.pro b/src/plugins/General/rgscan/rgscan.pro
index dc26945b2..8929efd16 100644
--- a/src/plugins/General/rgscan/rgscan.pro
+++ b/src/plugins/General/rgscan/rgscan.pro
@@ -1,16 +1,7 @@
include(../../plugins.pri)
-TARGET =$$PLUGINS_PREFIX/General/rgscan
-unix:QMAKE_CLEAN = $$PLUGINS_PREFIX/General/librgscan.so
+TARGET = $$PLUGINS_PREFIX/General/rgscan
-LIBS += -lqmmpui
-
-RESOURCES = translations/translations.qrc
-unix{
- PKGCONFIG += taglib
- target.path = $$LIB_DIR/qmmp/General
- INSTALLS += target
-}
HEADERS += rgscanfactory.h \
rgscanhelper.h \
rgscandialog.h \
@@ -24,3 +15,13 @@ SOURCES += rgscanfactory.cpp \
rgscanner.cpp
FORMS += rgscandialog.ui
+
+RESOURCES = translations/translations.qrc
+
+LIBS += -lqmmpui
+
+unix {
+ PKGCONFIG += taglib
+ target.path = $$LIB_DIR/qmmp/General
+ INSTALLS += target
+}
diff --git a/src/plugins/General/scrobbler/scrobbler.pro b/src/plugins/General/scrobbler/scrobbler.pro
index bab0e0a82..5d456e327 100644
--- a/src/plugins/General/scrobbler/scrobbler.pro
+++ b/src/plugins/General/scrobbler/scrobbler.pro
@@ -1,13 +1,9 @@
include(../../plugins.pri)
TARGET = $$PLUGINS_PREFIX/General/scrobbler
-unix:QMAKE_CLEAN = $$PLUGINS_PREFIX/General/libscrobbler.so
-RESOURCES = translations/translations.qrc
-unix {
- target.path = $$LIB_DIR/qmmp/General
- INSTALLS += target
-}
+QT += network
+
HEADERS += scrobblerfactory.h \
settingsdialog.h \
scrobblerhandler.h \
@@ -23,19 +19,11 @@ SOURCES += scrobblerfactory.cpp \
FORMS += settingsdialog.ui
-QT += network
+RESOURCES = translations/translations.qrc
LIBS += -lqmmpui
-
-
-
-
-
-
-
-
-
-
-
-
+unix {
+ target.path = $$LIB_DIR/qmmp/General
+ INSTALLS += target
+}
diff --git a/src/plugins/General/statusicon/statusicon.pro b/src/plugins/General/statusicon/statusicon.pro
index 49e9c8d83..0665c61a8 100644
--- a/src/plugins/General/statusicon/statusicon.pro
+++ b/src/plugins/General/statusicon/statusicon.pro
@@ -1,23 +1,14 @@
include(../../plugins.pri)
unix:TARGET = $$PLUGINS_PREFIX/General/statusicon
-unix:QMAKE_CLEAN = $$PLUGINS_PREFIX/General/libstatusicon.so
-win32:TARGET = $$PLUGINS_PREFIX/General/statusicon
-LIBS += -lqmmpui
-
-RESOURCES = translations/translations.qrc
-unix {
- target.path = $$LIB_DIR/qmmp/General
- INSTALLS += target
-}
-RESOURCES += images/tray_images.qrc
HEADERS += statusiconfactory.h \
statusicon.h \
settingsdialog.h \
qmmptrayicon.h \
statusiconpopupwidget.h \
coverwidget.h
+
SOURCES += statusiconfactory.cpp \
statusicon.cpp \
settingsdialog.cpp \
@@ -27,3 +18,12 @@ SOURCES += statusiconfactory.cpp \
FORMS += settingsdialog.ui
+RESOURCES = translations/translations.qrc \
+ images/tray_images.qrc
+
+LIBS += -lqmmpui
+
+unix {
+ target.path = $$LIB_DIR/qmmp/General
+ INSTALLS += target
+}
diff --git a/src/plugins/General/streambrowser/streambrowser.pro b/src/plugins/General/streambrowser/streambrowser.pro
index 049db03a8..aea60f832 100644
--- a/src/plugins/General/streambrowser/streambrowser.pro
+++ b/src/plugins/General/streambrowser/streambrowser.pro
@@ -1,25 +1,24 @@
include(../../plugins.pri)
-TARGET =$$PLUGINS_PREFIX/General/streambrowser
-unix:QMAKE_CLEAN = $$PLUGINS_PREFIX/General/libstreambrowser.so
+TARGET = $$PLUGINS_PREFIX/General/streambrowser
-LIBS += -lqmmpui
-
-RESOURCES = translations/translations.qrc
+QT += network
-unix {
- target.path = $$LIB_DIR/qmmp/General
- INSTALLS += target
-}
HEADERS += streambrowserfactory.h \
streambrowser.h \
streamwindow.h
-win32:HEADERS += ../../../../src/qmmpui/general.h
+
SOURCES += streambrowserfactory.cpp \
streambrowser.cpp \
streamwindow.cpp
FORMS += streamwindow.ui
-QT += network
+RESOURCES = translations/translations.qrc
+
+LIBS += -lqmmpui
+unix {
+ target.path = $$LIB_DIR/qmmp/General
+ INSTALLS += target
+}
diff --git a/src/plugins/General/trackchange/trackchange.pro b/src/plugins/General/trackchange/trackchange.pro
index cc76d713b..a709b8a1a 100644
--- a/src/plugins/General/trackchange/trackchange.pro
+++ b/src/plugins/General/trackchange/trackchange.pro
@@ -1,15 +1,7 @@
include(../../plugins.pri)
-TARGET =$$PLUGINS_PREFIX/General/trackchange
-unix : QMAKE_CLEAN = $$PLUGINS_PREFIX/General/libtrackchange.so
+TARGET = $$PLUGINS_PREFIX/General/trackchange
-LIBS += -lqmmpui
-
-RESOURCES = translations/translations.qrc
-unix {
- target.path = $$LIB_DIR/qmmp/General
- INSTALLS += target
-}
HEADERS += trackchangefactory.h \
trackchange.h \
settingsdialog.h
@@ -19,3 +11,12 @@ SOURCES += trackchangefactory.cpp \
settingsdialog.cpp
FORMS += settingsdialog.ui
+
+RESOURCES = translations/translations.qrc
+
+LIBS += -lqmmpui
+
+unix {
+ target.path = $$LIB_DIR/qmmp/General
+ INSTALLS += target
+}
diff --git a/src/plugins/General/udisks/udisks.pro b/src/plugins/General/udisks/udisks.pro
index 388926ff0..905a10629 100644
--- a/src/plugins/General/udisks/udisks.pro
+++ b/src/plugins/General/udisks/udisks.pro
@@ -1,15 +1,8 @@
include(../../plugins.pri)
-QT += dbus
-
TARGET = $$PLUGINS_PREFIX/General/udisks
-QMAKE_CLEAN = $$PLUGINS_PREFIX/General/libudisks.so
-
-RESOURCES = translations/translations.qrc
-
-target.path = $$LIB_DIR/qmmp/General
-INSTALLS += target
+QT += dbus
HEADERS += udisksfactory.h \
udisksplugin.h \
@@ -23,6 +16,11 @@ SOURCES += udisksfactory.cpp \
udisksdevice.cpp \
settingsdialog.cpp
+FORMS += settingsdialog.ui
+
+RESOURCES = translations/translations.qrc
+
LIBS += -lqmmpui
-FORMS += settingsdialog.ui
+target.path = $$LIB_DIR/qmmp/General
+INSTALLS += target
diff --git a/src/plugins/General/udisks2/udisks2.pro b/src/plugins/General/udisks2/udisks2.pro
index 193af114f..2034bd925 100644
--- a/src/plugins/General/udisks2/udisks2.pro
+++ b/src/plugins/General/udisks2/udisks2.pro
@@ -1,15 +1,8 @@
include(../../plugins.pri)
-QT += dbus
-
TARGET = $$PLUGINS_PREFIX/General/udisks2
-QMAKE_CLEAN = $$PLUGINS_PREFIX/General/libudisks2.so
-
-RESOURCES = translations/translations.qrc
-
-target.path = $$LIB_DIR/qmmp/General
-INSTALLS += target
+QT += dbus
HEADERS += udisks2factory.h \
udisks2plugin.h \
@@ -23,6 +16,11 @@ SOURCES += udisks2factory.cpp \
udisks2device.cpp \
settingsdialog.cpp
+FORMS += settingsdialog.ui
+
+RESOURCES = translations/translations.qrc
+
LIBS += -lqmmpui
-FORMS += settingsdialog.ui
+target.path = $$LIB_DIR/qmmp/General
+INSTALLS += target