blob: f12d0b0b284ae0a9e21b2887853c21faac541720 (
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
62
|
include(../../plugins.pri)
HEADERS += \
httpinputfactory.h \
httpinputsource.h \
settingsdialog.h \
httpstreamreader.h
SOURCES += \
httpinputfactory.cpp \
httpinputsource.cpp \
settingsdialog.cpp \
httpstreamreader.cpp
win32:HEADERS += ../../../../src/qmmp/inputsource.h \
../../../../src/qmmp/inputsourcefactory.h
TARGET = $$PLUGINS_PREFIX/Transports/http
unix:QMAKE_CLEAN = $$PLUGINS_PREFIX/Input/libhttp.so
INCLUDEPATH += ../../../
CONFIG += warn_on \
plugin \
link_pkgconfig
TEMPLATE = lib
unix {
QMAKE_LIBDIR += ../../../../lib
LIBS += -lqmmp \
-L/usr/lib
PKGCONFIG += libcurl
isEmpty(LIB_DIR):LIB_DIR = /lib
target.path = $$LIB_DIR/qmmp/Transports
INSTALLS += target
}
win32 {
QMAKE_LIBDIR += ../../../../bin
LIBS += -lqmmp0 \
-lcurldll
}
contains(CONFIG, WITH_ENCA){
CONFIG += link_pkgconfig
DEFINES += WITH_ENCA
unix:PKGCONFIG += enca
win32:LIBS += -lenca.dll
}
FORMS += settingsdialog.ui
TRANSLATIONS = translations/http_plugin_ru.ts \
translations/http_plugin_uk_UA.ts \
translations/http_plugin_zh_CN.ts \
translations/http_plugin_zh_TW.ts \
translations/http_plugin_cs.ts \
translations/http_plugin_pl.ts \
translations/http_plugin_de.ts \
translations/http_plugin_it.ts \
translations/http_plugin_tr.ts \
translations/http_plugin_lt.ts \
translations/http_plugin_nl.ts \
translations/http_plugin_ja.ts \
translations/http_plugin_es.ts \
translations/http_plugin_sr_BA.ts \
translations/http_plugin_sr_RS.ts
RESOURCES = translations/translations.qrc
|