-
Notifications
You must be signed in to change notification settings - Fork 20
/
Copy pathionic.pro
executable file
·293 lines (273 loc) · 8.8 KB
/
ionic.pro
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
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
VERSION = 0.6.6
QT += webkit xml sql network script
CONFIG += qt-components
# Meego Harmattan settings
contains(MEEGO_EDITION,harmattan) {
DEFINES += unix
DEFINES += USE_FILE32API
CONFIG += link_pkgconfig
CONFIG += qmsystem2
LIBS += -lz
PKGCONFIG += libresourceqt1
RESOURCES += meego.qrc
SOURCES += backend/mediakeyprivate-meego.cpp
DEFINES += IONIC_VERSION=\\\"$$VERSION\\\"
DEFINES += IONIC_DATA_DIR=\\\"/opt/ionic/share\\\"
# Shared resources
folder_share.source = share
folder_share.target =
DEPLOYMENTFOLDERS += folder_share
}
# Symbian settings
symbian {
DEFINES += USE_FILE32API
RESOURCES += symbian.qrc
TARGET.UID3 = 0x2005ed15
# TARGET.UID3 = 0xE9A1EA91
TARGET.CAPABILITY += NetworkServices
TARGET.CAPABILITY += SwEvent
LIBS += -L\\epoc32\\release\\armv5\\lib -lremconcoreapi -lremconinterfacebase -lsysutil -lws32 -lapgrfx -lavkon
SOURCES += backend/mediakeyprivate-symbian.cpp
DEFINES += IONIC_VERSION='"$$VERSION"'
DEFINES += IONIC_DATA_DIR='"e:/data/ionic/share"'
# Shared resources
folder_share.source = share
folder_share.target = e:/data/ionic
DEPLOYMENTFOLDERS += folder_share
# Smart Installer package's UID
# This UID is from the protected range and therefore the package will
# fail to install if self-signed. By default qmake uses the unprotected
# range value if unprotected UID is defined for the application and
# 0x2002CCCF value if protected UID is given to the application
# symbian:DEPLOYMENT.installer_header = 0x2002CCCF
vendorinfo += "%{\"pipacs\"}" ":\"pipacs\""
my_deployment.pkg_prerules += vendorinfo
DEPLOYMENT += my_deployment
# In-App Purchase
LIBS += -liapclientapi
CONFIG += mobility
MOBILITY += serviceframework
SOURCES += backend/iap.cpp
HEADERS += backend/iap.h
# NOTE: A Nokia gem: This is enabling stdlib to prevent error 'undefined symbol __aeabi_atexit'
LIBS += -lusrt2_2
supported_platforms = \
"; Application only supports Symbian^3" \
"[0x20022E6D], 0, 0, 0, {\"Symbian^3\"}"
iap_dependency.pkg_prerules = \
"; Has dependency on IAP component" \
"(0x200345C8), 0, 1, 1, {\"IAP\"}"
DEPLOYMENT += iap_dependency
iap_files.sources = ./data/IAP_VARIANTID.txt # ./data/TEST_MODE.txt
iap_files.path = ./
DEPLOYMENT += iap_files
}
# Simulator settings
simulator {
DEFINES += IONIC_VERSION=\\\"$$VERSION\\\"
DEFINES += IONIC_DATA_DIR=\\\"/FIXME/ionic/share\\\"
SOURCES += backend/mediakeyprivate-simulator.cpp
RESOURCES += meego.qrc
# Settings for zlib
DEFINES += unix
DEFINES += USE_FILE32API
LIBS += -lz
# Shared resources
folder_share.source = share
folder_share.target =
DEPLOYMENTFOLDERS += folder_share
}
# The .cpp file which was generated for your project. Feel free to hack it.
SOURCES += main.cpp \
backend/book.cpp \
backend/bookdb.cpp \
backend/bookfinder.cpp \
backend/extractzip.cpp \
backend/unzip/unzip.c \
backend/unzip/ioapi.c \
backend/library.cpp \
backend/trace.cpp \
backend/coverprovider.cpp \
backend/preferences.cpp \
backend/platform.cpp \
backend/bookdbworker.cpp \
backend/mediakey.cpp \
backend/qdeclarativewebview.cpp
# Please do not modify the following two lines. Required for deployment.
include(qmlapplicationviewer/qmlapplicationviewer.pri)
qtcAddDeployment()
OTHER_FILES += \
qtc_packaging/debian_harmattan/rules \
qtc_packaging/debian_harmattan/README \
qtc_packaging/debian_harmattan/copyright \
qtc_packaging/debian_harmattan/control \
qtc_packaging/debian_harmattan/compat \
qtc_packaging/debian_harmattan/changelog \
backend/unzip/MiniZip64_info.txt \
backend/unzip/MiniZip64_Changes.txt \
backend/unzip/Makefile \
backend/unzip/make_vms.com \
backend/unzip/make_vms_com \
pkg/acknowledgements.txt \
books/2BR02B.epub \
icons/view-normal.png \
icons/view-fullscreen.png \
icons/system-file-manager.png \
icons/style-sand.png \
icons/style-night.png \
icons/style-default.png \
icons/style-day.png \
icons/splash.png \
icons/splash.jpg \
icons/settings-portrait.png \
icons/settings-landscape.png \
icons/search.png \
icons/rotate.png \
icons/previous.png \
icons/previous-disabled.png \
icons/preferences-system.png \
icons/next.png \
icons/next-disabled.png \
icons/library.png \
icons/info.png \
icons/goto.png \
icons/developer.png \
icons/book.png \
icons/star.png \
screenshots/ovi-screenshot-full-0.png \
screenshots/ovi-screenshot-2.png \
screenshots/ovi-screenshot-1.png \
screenshots/ovi-screenshot-0.png \
screenshots/2011-10-15_23-45-58.png \
screenshots/2011-10-15_21-59-28.png \
screenshots/2011-10-15_21-58-47.png \
screenshots/2011-10-15_21-58-05.png \
screenshots/2011-10-15_21-56-29.png \
screenshots/2011-10-15_21-56-10.png \
screenshots/2011-10-15_21-55-19.png \
LICENSE.txt \
README.markdown \
books/2BR02B/mimetype \
books/2BR02B/21279/www.gutenberg.org@files@21279@21279-h@21279-h-0.htm \
books/2BR02B/21279/toc.ncx \
books/2BR02B/21279/project.htm \
books/2BR02B/21279/pgepub.css \
books/2BR02B/21279/cover.jpg \
books/2BR02B/21279/content.opf \
books/2BR02B/21279/1.css \
books/2BR02B/21279/0.css \
books/2BR02B/META-INF/container.xml \
books/Makefile \
share/about.html \
texts/booksources.html \
share/splash.jpg \
qml/meego/StepsYesNoDialog.qml \
qml/meego/StepsToolIcon.qml \
qml/meego/StepsToolButton.qml \
qml/meego/StepsToolBarLayout.qml \
qml/meego/StepsTextField.qml \
qml/meego/StepsSpinner.qml \
qml/meego/StepsSlider.qml \
qml/meego/StepsScrollDecorator.qml \
qml/meego/StepsRedButton.qml \
qml/meego/StepsPageStackWindow.qml \
qml/meego/StepsPage.qml \
qml/meego/StepsLabel.qml \
qml/meego/StepsFlickable.qml \
qml/meego/StepsDialog.qml \
qml/meego/StepsCheckBox.qml \
qml/meego/StepsButtonColumn.qml \
qml/meego/StepsButton.qml \
qml/meego/StepsBanner.qml \
qml/symbian/StepsYesNoDialog.qml \
qml/symbian/StepsToolIcon.qml \
qml/symbian/StepsToolButton.qml \
qml/symbian/StepsToolBarLayout.qml \
qml/symbian/StepsTextField.qml \
qml/symbian/StepsSpinner.qml \
qml/symbian/StepsSlider.qml \
qml/symbian/StepsScrollDecorator.qml \
qml/symbian/StepsRedButton.qml \
qml/symbian/StepsPageStackWindow.qml \
qml/symbian/StepsPage.qml \
qml/symbian/StepsLabel.qml \
qml/symbian/StepsFlickable.qml \
qml/symbian/StepsDialog.qml \
qml/symbian/StepsCheckBox.qml \
qml/symbian/StepsButtonColumn.qml \
qml/symbian/StepsButton.qml \
qml/symbian/StepsBanner.qml \
qml/theme.js \
qml/ToolBarRevealer.qml \
qml/SettingsPage.qml \
qml/ReadingProgress.qml \
qml/ProgressDialog.qml \
qml/PageHeader.qml \
qml/MainPage.qml \
qml/main.qml \
qml/LibraryPage.qml \
qml/ImportPage.qml \
qml/ChaptersPage.qml \
qml/BookView.qml \
qml/BookPage.qml \
qml/BookmarksPage.qml \
qml/BookmarkEditor.qml \
qml/Dummy.qml \
qml/meego/StepsMenu.qml \
qml/symbian/StepsMenu.qml \
qml/meego/StepsMenuLayout.qml \
qml/symbian/StepsMenuLayout.qml \
qml/meego/StepsMenuItem.qml \
qml/symbian/StepsMenuItem.qml \
qml/meego/StepsContextMenu.qml \
qml/symbian/StepsContextMenu.qml \
qml/meego/StepsSelectionDialog.qml \
qml/symbian/StepsSelectionDialog.qml \
qml/meego/StepsPopup.qml \
qml/symbian/StepsPopup.qml \
qml/meego/StepsProgressBar.qml \
qml/symbian/StepsProgressBar.qml \
qml/meego/StepsButtonRow.qml \
qml/symbian/StepsButtonRow.qml \
icons/listbg.png \
icons/bookmark.png \
icons/comboindicator.png \
qml/FontSelector.qml \
qml/Splash.qml \
icons/Office-book.svg \
texts/nobook.html \
share/donate-paypal.gif \
qml/JumpPage.qml \
qml/AboutPage.qml \
texts/about.html \
data/TEST_MODE.txt \
data/IAP_VARIANTID.txt \
texts/donate.html \
qml/meego/StepsTabGroup.qml \
qml/symbian/StepsTabGroup.qml \
qml/DonatePage.qml \
qml/main-symbian.qml
HEADERS += \
backend/book.h \
backend/bookdb.h \
backend/bookfinder.h \
backend/containerhandler.h \
backend/xmlhandler.h \
backend/opshandler.h \
backend/extractzip.h \
backend/unzip/unzip.h \
backend/unzip/ioapi.h \
backend/library.h \
backend/ncxhandler.h \
backend/xmlerrorhandler.h \
backend/trace.h \
backend/platform.h \
backend/bookmark.h \
backend/coverprovider.h \
backend/contentitem.h \
backend/preferences.h \
backend/bookdbworker.h \
backend/mediakeyprivate.h \
backend/mediakey.h \
backend/qdeclarativewebview_p.h
RESOURCES += ionic.qrc