aboutsummaryrefslogtreecommitdiff
path: root/src/plugins/General/kdenotify
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/General/kdenotify')
-rw-r--r--src/plugins/General/kdenotify/CMakeLists.txt10
-rw-r--r--src/plugins/General/kdenotify/kdenotify.pro20
2 files changed, 3 insertions, 27 deletions
diff --git a/src/plugins/General/kdenotify/CMakeLists.txt b/src/plugins/General/kdenotify/CMakeLists.txt
index d62a7b8f4..5fac1e62e 100644
--- a/src/plugins/General/kdenotify/CMakeLists.txt
+++ b/src/plugins/General/kdenotify/CMakeLists.txt
@@ -35,18 +35,10 @@ SET(libkdenotify_SRCS
settingsdialog.cpp
)
-SET(libkdenotify_MOC_HDRS
- kdenotifyfactory.h
- kdenotify.h
- settingsdialog.h
-)
-
SET(libkdenotify_RCCS translations/translations.qrc)
QT4_ADD_RESOURCES(libkdenotify_RCC_SRCS ${libkdenotify_RCCS})
-QT4_WRAP_CPP(libkdenotify_MOC_SRCS ${libkdenotify_MOC_HDRS})
-
# user interface
SET(libkdenotify_UIS
settingsdialog.ui
@@ -59,7 +51,7 @@ QT4_WRAP_UI(libkdenotify_UIS_H ${libkdenotify_UIS})
# the UI file won't be wrapped!
include_directories(${CMAKE_CURRENT_BINARY_DIR})
-ADD_LIBRARY(kdenotify MODULE ${libkdenotify_SRCS} ${libkdenotify_MOC_SRCS} ${libkdenotify_RCC_SRCS} ${libkdenotify_UIS_H})
+ADD_LIBRARY(kdenotify MODULE ${libkdenotify_SRCS} ${libkdenotify_RCC_SRCS} ${libkdenotify_UIS_H})
add_dependencies(kdenotify qmmpui)
target_link_libraries(kdenotify ${QT_LIBRARIES} -lqmmpui -lqmmp)
install(TARGETS kdenotify DESTINATION ${LIB_DIR}/qmmp/General)
diff --git a/src/plugins/General/kdenotify/kdenotify.pro b/src/plugins/General/kdenotify/kdenotify.pro
index 36b612814..49d0acbcd 100644
--- a/src/plugins/General/kdenotify/kdenotify.pro
+++ b/src/plugins/General/kdenotify/kdenotify.pro
@@ -9,12 +9,12 @@ CONFIG += warn_on \
unix:TARGET = $$PLUGINS_PREFIX/General/kdenotify
unix:QMAKE_CLEAN = $$PLUGINS_PREFIX/General/libkdenotify.so
TEMPLATE = lib
-unix {
+unix {
QMAKE_LIBDIR += ../../../../lib
LIBS += -lqmmpui \
-lqmmp
}
-unix {
+unix {
isEmpty(LIB_DIR):LIB_DIR = /lib
target.path = $$LIB_DIR/qmmp/General
INSTALLS += target
@@ -28,22 +28,6 @@ HEADERS += kdenotifyfactory.h \
RESOURCES += translations/translations.qrc
FORMS += settingsdialog.ui
-TRANSLATIONS = translations/kdenotify_plugin_cs.ts \
- translations/kdenotify_plugin_de.ts \
- translations/kdenotify_plugin_zh_CN.ts \
- translations/kdenotify_plugin_zh_TW.ts \
- translations/kdenotify_plugin_ru.ts \
- translations/kdenotify_plugin_pl.ts \
- translations/kdenotify_plugin_uk_UA.ts \
- translations/kdenotify_plugin_it.ts \
- translations/kdenotify_plugin_tr.ts \
- translations/kdenotify_plugin_lt.ts \
- translations/kdenotify_plugin_nl.ts \
- translations/kdenotify_plugin_ja.ts \
- translations/kdenotify_plugin_es.ts \
- translations/kdenotify_plugin_sr_BA.ts \
- translations/kdenotify_plugin_sr_RS.ts
-
images.files = images/app_icon.png \
images/empty_cover.png
images.path = /share/qmmp/images/