aboutsummaryrefslogtreecommitdiff
path: root/src/plugins/General/scrobbler/scrobbler.pro
blob: a779ad5fe56bb26c0f6bf930f2404c9d11d3f571 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
include(../../plugins.pri)
CONFIG += release \
    warn_on \
    plugin
TEMPLATE = lib
unix:QMAKE_LIBDIR += ../../../../lib
win32:QMAKE_LIBDIR += ../../../../bin
TARGET = $$PLUGINS_PREFIX/General/scrobbler
unix:QMAKE_CLEAN = $$PLUGINS_PREFIX/General/libscrobbler.so
TRANSLATIONS = translations/scrobbler_plugin_cs.ts \
    translations/scrobbler_plugin_de.ts \
    translations/scrobbler_plugin_zh_CN.ts \
    translations/scrobbler_plugin_zh_TW.ts \
    translations/scrobbler_plugin_ru.ts \
    translations/scrobbler_plugin_pl.ts \
    translations/scrobbler_plugin_uk_UA.ts \
    translations/scrobbler_plugin_it.ts \
    translations/scrobbler_plugin_tr.ts \
    translations/scrobbler_plugin_lt.ts \
    translations/scrobbler_plugin_nl.ts \
    translations/scrobbler_plugin_ja.ts \
    translations/scrobbler_plugin_es.ts

RESOURCES = translations/translations.qrc
unix {
    isEmpty(LIB_DIR):LIB_DIR = /lib
    target.path = $$LIB_DIR/qmmp/General
    INSTALLS += target
}
HEADERS += scrobblerfactory.h \
    settingsdialog.h \
    scrobblerhandler.h \
    lastfmscrobbler.h \
    librefmscrobbler.h \
    scrobblercache.h
win32:HEADERS += ../../../../src/qmmpui/general.h
SOURCES += scrobblerfactory.cpp \
    settingsdialog.cpp \
    scrobblerhandler.cpp \
    lastfmscrobbler.cpp \
    librefmscrobbler.cpp \
    scrobblercache.cpp
QT += network
INCLUDEPATH += ../../../
unix:LIBS += -lqmmpui \
    -lqmmp
win32:LIBS += -lqmmpui0 \
    -lqmmp0
FORMS += settingsdialog.ui