forked from konserw/Qnapi
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathqnapi.pro
More file actions
120 lines (107 loc) · 2.98 KB
/
qnapi.pro
File metadata and controls
120 lines (107 loc) · 2.98 KB
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
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
TEMPLATE = app
DEFINES += VERSION=1.7
#DEFINES += EMBED_PYTHON
QT += network xml widgets concurrent #core
CONFIG += qt c++11 warn_on release
DEFINES += NO_TRANSLATION
DEFINES += SCRIPT_DEBUG
#QMAKE_CXXFLAGS += -mno-sse
#python
#contains(DEFINES, EMBED_PYTHON){
# INCLUDEPATH += /usr/include/python2.7
# LIBS += -lpthread -ldl -lutil -lm -lpython2.7
#}
#qt http
INCLUDEPATH += qhttp
HEADERS += \
qhttp/qhttp.h \
qhttp/qringbuffer_p.h \
qhttp/qhttpauthenticator_p.h \
app/QNapiSubtitleInfoList.h \
app/QNapiResult.h
SOURCES += \
qhttp/qhttp.cpp \
qhttp/qhttpauthenticator.cpp \
app/qnapisubtitleinfo.cpp \
app/QNapiSubtitleInfoList.cpp \
app/QNapiResult.cpp
#qnapi
INCLUDEPATH += app
SOURCES += \
app/main.cpp \
app/qnapiconfig.cpp \
app/movieinfo.cpp \
app/qmultiparthttprequest.cpp \
app/qnapiabstractengine.cpp \
app/qnapiprojektengine.cpp \
#app/qnapicli.cpp \
app/qnapi.cpp \
app/qopensubtitlesengine.cpp \
app/qnapilanguage.cpp \
xmlrpc/client.cpp \
xmlrpc/request.cpp \
xmlrpc/variant.cpp \
xmlrpc/response.cpp \
forms/frmoptions.cpp \
forms/frmsummary.cpp
HEADERS += \
app/qnapiconfig.h \
app/movieinfo.h \
app/qmultiparthttprequest.h \
app/synchttp.h \
app/qnapiabstractengine.h \
app/qnapiprojektengine.h \
#app/qnapicli.h \
app/qnapi.h \
app/qnapisubtitleinfo.h \
app/qopensubtitlesengine.h \
app/qnapilanguage.h \
xmlrpc/qsyncxmlrpcclient.h \
xmlrpc/variant.h \
xmlrpc/client.h \
xmlrpc/request.h \
xmlrpc/response.h \
forms/frmoptions.h \
forms/frmsummary.h
FORMS += \
forms/frmoptions.ui \
forms/frmsummary.ui
RESOURCES += resources.qrc
#Instalation
INSTALL_PREFIX = /usr
target.path = $${INSTALL_PREFIX}/bin
doc.path = $${INSTALL_PREFIX}/share/doc/$${TARGET}
doc.files = \
doc/ChangeLog \
doc/changelog.gz \
doc/README \
doc/README.pl \
doc/LICENSE \
doc/LICENSE.pl \
doc/COPYRIGHT \
doc/qnapi-download.desktop \
doc/qnapi-download.schemas
man.path = $${INSTALL_PREFIX}/share/man/man1
man.files = doc/$${TARGET}.1.gz
icons.path = /usr/share/icons
icons.files = res/qnapi.png res/qnapi-48.png res/qnapi-128.png res/qnapi-512.png
desktop.path = /usr/share/applications
desktop.files = doc/$${TARGET}.desktop
dolphin_integration.path = /usr/share/apps/dolphin/servicemenus
dolphin_integration.files = doc/$${TARGET}-download.desktop
d3lphin_integration.path = /usr/share/apps/d3lphin/servicemenus
d3lphin_integration.files = doc/$${TARGET}-download.desktop
konqueror_integration.path = /usr/share/apps/konqueror/servicemenus
konqueror_integration.files = doc/$${TARGET}-download.desktop
kde4_integration.path = /usr/lib/kde4/share/kde4/services/ServiceMenus
kde4_integration.files = doc/$${TARGET}-download.desktop
INSTALLS = \
target \
doc \
man \
icons \
desktop \
dolphin_integration \
d3lphin_integration \
konqueror_integration \
kde4_integration