blob: b7ed8e937fff971f6eeaaf18521728a63802ed68 (
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
|
include(../../plugins.pri)
FORMS += detailsdialog.ui
HEADERS += decodermpcfactory.h \
decoder_mpc.h \
detailsdialog.h
SOURCES += decoder_mpc.cpp \
decodermpcfactory.cpp \
detailsdialog.cpp
TARGET=$$PLUGINS_PREFIX/Input/mpc
QMAKE_CLEAN =$$PLUGINS_PREFIX/Input/libmpc.so
INCLUDEPATH += ../../../
CONFIG += release \
warn_on \
plugin \
link_pkgconfig
TEMPLATE = lib
QMAKE_LIBDIR += ../../../../lib
LIBS += -lqmmp -L/usr/lib -lmpcdec -I/usr/include
PKGCONFIG += taglib
TRANSLATIONS = translations/mpc_plugin_ru.ts \
translations/mpc_plugin_uk_UA.ts \
translations/mpc_plugin_zh_CN.ts \
translations/mpc_plugin_zh_TW.ts \
translations/mpc_plugin_cs.ts \
translations/mpc_plugin_pl.ts \
translations/mpc_plugin_de.ts \
translations/mpc_plugin_it.ts
RESOURCES = translations/translations.qrc
isEmpty (LIB_DIR){
LIB_DIR = /lib
}
exists(/usr/include/mpcdec/mpcdec.h){
DEFINES += MPC_OLD_API
}
target.path = $$LIB_DIR/qmmp/Input
INSTALLS += target
|