aboutsummaryrefslogtreecommitdiff
path: root/src/plugins/Transports/http/http.pro
blob: 75404ae803fceb9ea90d63a7dd0ad2a1b89e8f8f (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
include(../../plugins.pri)
HEADERS += \
    httpinputfactory.h \
    httpinputsource.h \
    settingsdialog.h \
    httpstreamreader.h
SOURCES += \
    httpinputfactory.cpp \
    httpinputsource.cpp \
    settingsdialog.cpp \
    httpstreamreader.cpp

TARGET = $$PLUGINS_PREFIX/Transports/http
unix:QMAKE_CLEAN = $$PLUGINS_PREFIX/Input/libhttp.so

unix {
    LIBS += -L/usr/lib
    PKGCONFIG += libcurl
    target.path = $$LIB_DIR/qmmp/Transports
    INSTALLS += target
}
win32 {
    LIBS += -lcurldll
}

contains(CONFIG, WITH_ENCA){
   DEFINES += WITH_ENCA
   unix:PKGCONFIG += enca
   win32:LIBS += -lenca.dll

}

FORMS += settingsdialog.ui

RESOURCES = translations/translations.qrc