-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsrc.pri
179 lines (156 loc) · 3.97 KB
/
src.pri
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
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
QT += core network
maemo {
QT += gui
}
INCLUDEPATH += src
DEFINES += QT_NO_CAST_TO_ASCII
DEFINES += QT_NO_CAST_FROM_BYTEARRAY
CONFIG += NO_GUI
DEFINES += NO_GUI
SOURCES += \
src/localarchive.cpp \
src/title.cpp \
src/titleiterator.cpp \
src/evopedia.cpp \
src/bzreader.cpp \
src/evopediawebserver.cpp \
src/utils.cpp \
src/archive.cpp \
src/downloadablearchive.cpp \
src/partialarchive.cpp \
src/evopediaapplication.cpp \
src/archivemanager.cpp \
src/torrent/bencodeparser.cpp \
src/torrent/connectionmanager.cpp \
src/torrent/filemanager.cpp \
src/torrent/metainfo.cpp \
src/torrent/peerwireclient.cpp \
src/torrent/ratecontroller.cpp \
src/torrent/torrentclient.cpp \
src/torrent/torrentserver.cpp \
src/torrent/trackerclient.cpp
maemo {
SOURCES += \
src/archivedetailsdialog.cpp \
src/mainwindow.cpp \
src/map.cpp \
src/flickable.cpp \
src/dumpsettings.cpp \
src/mapwindow.cpp \
src/archivelist.cpp \
src/tilefetcher.cpp \
src/titlelistmodel.cpp \
src/flickablemap.cpp
}
HEADERS += \
src/localarchive.h \
src/title.h \
src/evopedia.h \
src/bzreader.h \
src/evopediawebserver.h \
src/utils.h \
src/archive.h \
src/downloadablearchive.h \
src/partialarchive.h \
src/titleiterator.h \
src/evopediaapplication.h \
src/defines.h \
src/archivemanager.h \
src/torrent/bencodeparser.h \
src/torrent/connectionmanager.h \
src/torrent/filemanager.h \
src/torrent/metainfo.h \
src/torrent/peerwireclient.h \
src/torrent/ratecontroller.h \
src/torrent/torrentclient.h \
src/torrent/torrentserver.h \
src/torrent/trackerclient.h
maemo5 {
HEADERS += \
src/mainwindow.h \
src/map.h \
src/geotitle.h \
src/flickable.h \
src/dumpsettings.h \
src/mapwindow.h \
src/flickablemap.h \
src/tilefetcher.h \
src/archivelist.h \
src/titlelistmodel.h \
src/archivedetailsdialog.h
}
TRANSLATIONS += \
resources/tr/evopedia_ca.ts \
resources/tr/evopedia_cz.ts \
resources/tr/evopedia_de.ts \
resources/tr/evopedia_en.ts \
resources/tr/evopedia_es.ts \
resources/tr/evopedia_fr.ts \
resources/tr/evopedia_it.ts \
resources/tr/evopedia_ja.ts \
resources/tr/evopedia_nl.ts \
resources/tr/evopedia_vi.ts
maemo 5 {
FORMS += src/ui/mainwindow.ui \
src/ui/dumpSettings.ui \
src/ui/mapwindow.ui \
src/ui/archivedetailsdialog.ui
}
OTHER_FILES += \
resources/evopedia.desktop \
resources/evopedia.js \
resources/header.html \
resources/wikipedia48.png \
resources/wikipedia.png \
resources/transtbl.dat \
resources/random.png \
resources/maparticle.png \
resources/map.png \
resources/main.css \
resources/magnify-clip.png \
resources/footer.html
RESOURCES += \
resources/resources.qrc \
src/torrent/icons.qrc
CONFIG += warn_on
maemo5 {
CONFIG += mobility
DEFINES += USE_MOBILITY
MOBILITY += location
}
windows {
# download the lib/dll/include for bzip2 and copy it to the source directory
INCLUDEPATH += bzip2/include
LIBS += $$quote($$_PRO_FILE_PWD_)/bzip2/lib/bzip2.lib
RC_FILE += \
resources/windows/windows.rc
}
macx {
ICON = resources/evopedia.icns
}
symbian {
ICON = resources/evopedia.svg
}
unix {
LIBS += -lbz2
#VARIABLES
isEmpty(PREFIX) {
PREFIX = /usr
}
BINDIR = $$PREFIX/bin
DATADIR =$$PREFIX/share
maemo5 {
BINDIR = /opt/maemo/usr/bin
}
DEFINES += DATADIR=\\\"$$DATADIR\\\" PKGDATADIR=\\\"$$PKGDATADIR\\\"
#MAKE INSTALL
INSTALLS += target desktop iconxpm
target.path =$$BINDIR
desktop.path = $$DATADIR/applications
maemo5 {
desktop.path = $$DATADIR/applications/hildon
}
desktop.files += resources/$${TARGET}.desktop
iconxpm.path = $$DATADIR/pixmaps
iconxpm.files += resources/evopedia-64x64.png
}