forked from evopedia/evopedia_qt
-
Notifications
You must be signed in to change notification settings - Fork 0
/
src.pri
174 lines (150 loc) · 4.01 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
QT += core network
!contains(DEFINES, NO_GUI) {
QT += gui
}
INCLUDEPATH += src
DEFINES += QT_NO_CAST_TO_ASCII
DEFINES += QT_NO_CAST_FROM_BYTEARRAY
SOURCES += \
src/archive.cpp \
src/archivemanager.cpp \
src/bzreader.cpp \
src/downloadablearchive.cpp \
src/evopedia.cpp \
src/evopediaapplication.cpp \
src/evopediawebserver.cpp \
src/localarchive.cpp \
src/partialarchive.cpp \
src/title.cpp \
src/titleiterator.cpp \
src/utils.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
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
!contains(DEFINES, NO_GUI) {
SOURCES += \
src/archivedetailsdialog.cpp \
src/archivelist.cpp \
src/dumpsettings.cpp \
src/flickable.cpp \
src/flickablemap.cpp \
src/mainwindow.cpp \
src/map.cpp \
src/mapwindow.cpp \
src/tilefetcher.cpp \
src/titlelistmodel.cpp
HEADERS += \
src/archivedetailsdialog.h \
src/archivelist.h \
src/dumpsettings.h \
src/flickable.h \
src/flickablemap.h \
src/geotitle.h \
src/mainwindow.h \
src/map.h \
src/mapwindow.h \
src/tilefetcher.h \
src/titlelistmodel.h
FORMS += src/ui/mainwindow.ui \
src/ui/dumpSettings.ui \
src/ui/mapwindow.ui \
src/ui/archivedetailsdialog.ui
}
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
OTHER_FILES += \
resources/evopedia.desktop \
resources/evopedia.js \
resources/footer.html \
resources/header.html \
resources/magnify-clip.png \
resources/main.css \
resources/map.png \
resources/maparticle.png \
resources/random.png \
resources/transtbl.dat \
resources/wikipedia.png \
resources/wikipedia48.png
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
}