aboutsummaryrefslogtreecommitdiff
path: root/src/plugins/Transports/http/http.pro
blob: 62440e319e10fe0e9d964785b05eb5aa83923a47 (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
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
    contains(CONFIG, WITH_ENCA){
       CONFIG += link_pkgconfig
       PKGCONFIG += enca
       DEFINES += WITH_ENCA
    }
}
win32 { 
    QMAKE_LIBDIR += ../../../../bin
    LIBS += -lqmmp0 \
        -lcurldll
}
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

RESOURCES = translations/translations.qrc