summaryrefslogtreecommitdiffstats
path: root/rules/qtopia.in
blob: 304fee8233cb5cb93566c6dc72522c7a8b404c1d (plain)
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
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
menuconfig QTOPIA
	tristate
	select TSLIB	if QTOPIA_MOUSE_TSLIB
	select DBUS	if QTOPIA_DBUS_LOAD || QTOPIA_DBUS_LINK
	select ZLIB	if QTOPIA_ZLIB_SYSTEM
	select FREETYPE	if QTOPIA_FREETYPE_SYSTEM
	select LIBPNG	if QTOPIA_PNG_SYSTEM
	select LIBJPEG	if QTOPIA_JPG_SYSTEM
	select DIRECTFB	if QTOPIA_GFX_DIRECTFB_PLUGIN
# libsvga is currently not in ptxdist
#	select LIBSVGA	if QTOPIA_GFX_SVGA_PLUGIN
	prompt "QTopia Core                   "
	help
	  QTopia Core is Trolltech's Widget Library formerly known as
	  QT Embedded.

menu "build options               "
	depends on QTOPIA

config QTOPIA_SHARED
	bool
	prompt "build shared libraries"
	depends on QTOPIA
	help
	  If selected the shared QTopia Core Libraries are built
	  and installed.

endmenu

menu "graphics driver             "
	depends on QTOPIA

choice
	prompt "ahi                 "
	depends on QTOPIA
	default QTOPIA_GFX_AHI_NONE
	help
	  FIXME

	config QTOPIA_GFX_AHI_NONE
		bool
		prompt "none   "
		help
		  Don't build the driver

# only as plugin

	config QTOPIA_GFX_AHI_PLUGIN
		bool
		prompt "plugin "
		depends on BROKEN
		help
		  Load the driver at runtime
endchoice

choice
	prompt "DirectFB            "
	depends on QTOPIA
	default QTOPIA_GFX_DIRECTFB_NONE
	help
	  Accelerated driver using DirectFB

	config QTOPIA_GFX_DIRECTFB_NONE
		bool
		prompt "none   "
		help
		  Don't build the driver

# only as plugin

	config QTOPIA_GFX_DIRECTFB_PLUGIN
		bool
		prompt "plugin "
		help
		  Load the driver at runtime
endchoice

choice
	prompt "LinuxFb             "
	depends on QTOPIA
	default QTOPIA_GFX_LINUXFB_NONE
	help
	  Unaccelerated linux frambuffer driver

	config QTOPIA_GFX_LINUXFB_NONE
		bool
		prompt "none   "
		help
		  Don't build the driver

	config QTOPIA_GFX_LINUXFB_BUILTIN
		bool
		prompt "builtin"
		help
		  Link the driver into QtGui

	config QTOPIA_GFX_LINUXFB_PLUGIN
		bool
		prompt "plugin "
		help
		  Load the driver at runtime
endchoice

choice
	prompt "Qt Virtual Fb       "
	depends on QTOPIA
	default QTOPIA_GFX_QVFB_NONE
	help
	  The Qt Virtual Framebuffer can be used to test qtopia applications.
	  It must be used in combination with the QVFb tool which is part of Qt/X11

	config QTOPIA_GFX_QVFB_NONE
		bool
		prompt "none   "
		help
		  Don't build the driver

	config QTOPIA_GFX_QVFB_BUILTIN
		bool
		prompt "builtin"
		help
		  Link the driver into QtGui

	config QTOPIA_GFX_QVFB_PLUGIN
		bool
		prompt "plugin "
		help
		  Load the driver at runtime
endchoice

choice
	prompt "SVGA                "
	depends on QTOPIA
	depends on BROKEN
	default QTOPIA_GFX_SVGA_NONE
	help
	  Unaccelerated driver using svgalib.


	config QTOPIA_GFX_SVGA_NONE
		bool
		prompt "none   "
		help
		  Don't build the driver

# only as plugin

	config QTOPIA_GFX_SVGA_PLUGIN
		bool
		prompt "plugin "
		depends on BROKEN
		help
		  Load the driver at runtime
endchoice

choice
	prompt "VNC                 "
	depends on QTOPIA
	default QTOPIA_GFX_VNC_NONE
	help
	  The VNC driver provides a VNC server. It can also be used in
	  combination with other drivers.


	config QTOPIA_GFX_VNC_NONE
		bool
		prompt "none   "
		help
		  Don't build the driver

	config QTOPIA_GFX_VNC_BUILTIN
		bool
		prompt "builtin"
		help
		  Link the driver into QtGui

	config QTOPIA_GFX_VNC_PLUGIN
		bool
		prompt "plugin "
		help
		  Load the driver at runtime
endchoice

choice
	prompt "Transformed         "
	depends on QTOPIA
	default QTOPIA_GFX_TRANSFORMED_NONE
	help
	  Transformed is a meta driver that delegates the drawing to another driver
	  after rotating the contents


	config QTOPIA_GFX_TRANSFORMED_NONE
		bool
		prompt "none   "
		help
		  Don't build the driver

	config QTOPIA_GFX_TRANSFORMED_BUILTIN
		bool
		prompt "builtin"
		help
		  Link the driver into QtGui

	config QTOPIA_GFX_TRANSFORMED_PLUGIN
		bool
		prompt "plugin "
		help
		  Load the driver at runtime
endchoice

choice
	prompt "Multi               "
	depends on QTOPIA
	default QTOPIA_GFX_MULTISCREEN_NONE
	help
	  Multi is a meta driver that delegates the drawing to multiple other
	  drivers.

	config QTOPIA_GFX_MULTISCREEN_NONE
		bool
		prompt "none   "
		help
		  Don't build the driver

	config QTOPIA_GFX_MULTISCREEN_BUILTIN
		bool
		prompt "builtin"
		help
		  Link the driver into QtGui

# not as plugin
endchoice

choice
	prompt "hybrid              "
	depends on QTOPIA
	default QTOPIA_GFX_HYBRID_NONE

	config QTOPIA_GFX_HYBRID_NONE
		bool
		prompt "none   "
		help
		  Don't build the driver

# only as plugin

	config QTOPIA_GFX_HYBRID_PLUGIN
		bool
		prompt "plugin [BROKEN]"
		# needs GLES/egl.h and others
		depends on BROKEN
		help
		  Load the driver at runtime
endchoice

endmenu

menu "keyboard drivers            "
	depends on QTOPIA

config QTOPIA_KBD_TTY
	bool
	prompt "tty"
	depends on QTOPIA
	help
	  Generic console (tty) driver

config QTOPIA_KBD_USB
	bool
	prompt "USB"
	depends on QTOPIA
	help
	  Generic usb keyboard driver

config QTOPIA_KBD_SL5000
	bool
	prompt "SL5000 [BROKEN]"
	depends on QTOPIA
	# needs asm/sharp_char.h
	depends on BROKEN

config QTOPIA_KBD_YOPY
	bool
	prompt "Yopy [BROKEN]"
	depends on QTOPIA
	# needs linux/yopy_button.h
	depends on BROKEN

config QTOPIA_KBD_VR41XX
	bool
	prompt "Vr41XX"
	depends on QTOPIA

config QTOPIA_KBD_QVFB
	bool
	prompt "Qt Virtual Frambuffer"
	depends on QTOPIA
	help
	  Keyboard driver for the Qt Virtual Frambuffer

endmenu

menu "mouse drivers               "
	depends on QTOPIA

config QTOPIA_MOUSE_PC
	bool
	prompt "Generic Mouse Driver"
	depends on QTOPIA
	help
	  Generic driver for the MouseMan, IntelliMouse, Microsoft and MouseSystems
	  protocols.

config QTOPIA_MOUSE_BUS
	bool
	prompt "Bus"
	depends on QTOPIA

config QTOPIA_MOUSE_LINUXTP
	bool
	prompt "Linux Touch Panel"
	depends on QTOPIA

config QTOPIA_MOUSE_YOPY
	bool
	prompt "Yopy"
	depends on QTOPIA

config QTOPIA_MOUSE_VR41XX
	bool
	prompt "NEC Vr41XX"
	depends on QTOPIA

config QTOPIA_MOUSE_TSLIB
	bool
	prompt "Tslib"
	depends on QTOPIA
	help
	  Driver for the universal touch screen library, tslib.

config QTOPIA_MOUSE_QVFB
	bool
	prompt "Qt Virtual Frambuffer"
	depends on QTOPIA
	help
	  Mouse driver for the Qt Virtual Frambuffer

endmenu

# prepare the build system to build the examples
config QTOPIA_PREPARE_EXAMPLES
	bool
	depends on QTOPIA

menu "feature options             "
	depends on QTOPIA

choice
	prompt "zlib support       "
	depends on QTOPIA
	default QTOPIA_ZLIB_SYSTEM
	help
	  zlib support is required for at least the PNG graphic format

config QTOPIA_ZLIB_INTERNAL
	bool "internal"
	help
	  This uses the embedded zlib support

config QTOPIA_ZLIB_SYSTEM
	bool "system  "
	help
	  Use system's zlib
endchoice

choice
	prompt "freetype support   "
	depends on QTOPIA
	default QTOPIA_FREETYPE_SYSTEM
	help
	  Control freetype support

config QTOPIA_FREETYPE_NONE
	bool "none    "
	help
	 This disables freeetype support entirely

config QTOPIA_FREETYPE_INTERNAL
	bool "internal"
	help
	  This uses the embedded freetype support

config QTOPIA_FREETYPE_SYSTEM
	bool "system  "
	help
	  Use system's freetype
endchoice

choice
	prompt "ICO support        "
	depends on QTOPIA
	default QTOPIA_ICO_NONE
	help
	  Control support for the ICO File Format

config QTOPIA_ICO_NONE
	bool "none    "
	help
	 This disables entirely any ICO support

config QTOPIA_ICO_INTERNAL
	bool "internal"
	help
	  This uses the embedded ICO support
endchoice

choice
	prompt "PNG support        "
	depends on QTOPIA && !QTOPIA_ZLIB_NONE
	default QTOPIA_PNG_SYSTEM
	help
	  Control support for the Portable Network Graphics format

config QTOPIA_PNG_NONE
	bool "none    "
	help
	 This disables entirely any PNG support

config QTOPIA_PNG_INTERNAL
	bool "internal"
	help
	  This uses the embedded PNG support

config QTOPIA_PNG_SYSTEM
	bool "system  "
	help
	  Use system's PNG library
endchoice

choice
	prompt "MNG support        "
	depends on QTOPIA
	default QTOPIA_MNG_NONE
	help
	  Control support for the Multiple-image Network Graphics format

config QTOPIA_MNG_NONE
	bool "none    "
	help
	 This disables entirely any MNG support

config QTOPIA_MNG_INTERNAL
	bool "internal"
	help
	  This uses the embedded MNG support

# there is currently no support for MNG in ptxdist
#config QTOPIA_MNG_SYSTEM
#	bool "system  "
#	help
#	  Use system's MNG library

endchoice

choice
	prompt "TIFF support       "
	depends on QTOPIA
	default QTOPIA_TIFF_NONE
	help
	  Control support for the Tag Image File Format

config QTOPIA_TIFF_NONE
	bool "none    "
	help
	 This disables entirely any TIFF support

config QTOPIA_TIFF_INTERNAL
	bool "internal"
	help
	  This uses the embedded TIFF support

# there is currently no support for TIFF in ptxdist
#config QTOPIA_TIFF_SYSTEM
#	bool "system  "
#	help
#	  Use system's TIFF library

endchoice

choice
	prompt "GIF support        "
	depends on QTOPIA
	default QTOPIA_GIF_NONE
	help
	  Control support for the "Graphics Interchange Format" format

config QTOPIA_GIF_NONE
	bool "none    "
	help
	 This disables entirely any GIF support

config QTOPIA_GIF_INTERNAL
	bool "internal"
	help
	  This uses the embedded GIF support

endchoice

choice
	prompt "JPG support        "
	depends on QTOPIA
	default QTOPIA_JPG_NONE

config QTOPIA_JPG_NONE
	bool "none    "
	help
	 This disables entirely any JPG support

config QTOPIA_JPG_INTERNAL
	bool "internal"
	help
	  This uses the embedded JPG support

config QTOPIA_JPG_SYSTEM
	bool "system  "
	help
	  Use system's JPG library

endchoice

config QTOPIA_STL
	bool
	prompt "stl support"
	depends on QTOPIA
	help
	  Add QTopia support for standard template library.

choice
	prompt "dbus support       "
	depends on QTOPIA
	default QTOPIA_DBUS_LOAD
	help
	  Qtopia dbus support.

config QTOPIA_DBUS_NONE
	bool "none    "
	help
	  Disable Qtopia dbus support.

config QTOPIA_DBUS_LOAD
	bool "load    "
	select QTOPIA_BUILD_XML
	help
	  Build Qtopia dbus support and dynamically load libdbus-1.

config QTOPIA_DBUS_LINK
	bool "link    "
	select QTOPIA_BUILD_XML
	help
	  Build Qtopia dbus support and link to libdbus-1.
endchoice

endmenu

menu "optional libraries          "
	depends on QTOPIA

config QTOPIA_BUILD_GUI
	bool
	select QTOPIA_BUILD_UIC
	depends on QTOPIA
	prompt "QtGui"
	help
	  The QtGui module provides the classes necessary for a graphical user interface.

config QTOPIA_BUILD_NETWORK
	bool
	depends on QTOPIA
	prompt "QtNetwork"
	help
	  The QtNetwork module offers classes that allow you to write TCP/IP
	  clients and servers.

config QTOPIA_BUILD_SQL
	bool
	depends on QTOPIA
	prompt "QtSql"
	help
	  The QtSql module helps you provide seamless database integration
	  to your Qt applications.
	  The SQL classes are divided into three layers:
	   - Driver Layer:  Provides the low-level bridge between the specific
	                    databases and the SQL API layer.
	   - SQL API Layer: Provides a Qt API for SQL
	   - UI Layer:      These classes link the data from a database to
	                    data-aware widgets.

config QTOPIA_BUILD_SCRIPT
	bool
	default y
	depends on QTOPIA
	prompt "QtScript"
	help
	  The QtScript module provides classes for making Qt applications scriptable.
	  Qt Script is based on the ECMAScript scripting language, as defined in
	  standard ECMA-262.

config QTOPIA_BUILD_SVG
	bool
	default y
	depends on QTOPIA
	select QTOPIA_BUILD_XML
	select QTOPIA_BUILD_GUI
	prompt "QtSvg"
	help
	  The QtSvg module provides classes for displaying the contents of SVG files.

config QTOPIA_BUILD_XML
	bool
	depends on QTOPIA
	prompt "QtXml"
	help
	  The QtXml module provides a stream reader and writer for XML documents,
	  and C++ implementations of SAX and DOM.

config QTOPIA_BUILD_DESIGNERLIBS
	bool
	depends on QTOPIA
	select QTOPIA_BUILD_XML
	prompt "Qt Designer Libraries"
	help
	  This option enables two libraries:
	  - QtDesigner: Provides classes that allow you to create your own custom widget
	                plugins for Qt Designer, and classes that enable you to access
	                Qt Designer's components.
	  - QtUiTools:  Allows standalone applications dynamically create user interfaces
	                at run-time using the information stored in .ui files or specified
	                plugin paths

config QTOPIA_BUILD_ASSISTANTLIB
	bool
	select QTOPIA_BUILD_NETWORK
	depends on QTOPIA
	prompt "QtAssistant"
	help
	  The QtAssistant module provides a means of launching Qt Assistant to provide
	  online help.

config QTOPIA_BUILD_QTESTLIB
	bool
	depends on QTOPIA
	prompt "QtTest"
	help
	  he QtTest module provides classes for unit testing Qt applications and libraries.

config QTOPIA_BUILD_QTXMLPATTERNS
	bool
	select QTOPIA_BUILD_NETWORK
	depends on QTOPIA
	prompt "QtXmlPatterns"
	help
	  XQuery 1.0 and XPath 2.0 support for Qt

config QTOPIA_BUILD_PHONON
	bool
	select QTOPIA_BUILD_GUI
	depends on QTOPIA
	depends on BROKEN
	prompt "Phonon"
	help
	  Phonon is a cross-platform multimedia framework that enables the use
	  of audio and video content in Qt applications.

config QTOPIA_BUILD_WEBKIT
	bool
	select QTOPIA_BUILD_XML
	select QTOPIA_BUILD_GUI
	select QTOPIA_BUILD_NETWORK
	select QTOPIA_BUILD_SQL
	depends on QTOPIA
	prompt "Webkit"
	help
	  QtWebKit provides a Web browser engine that makes it easy to embed
	  content from the World Wide Web into your Qt application. At the
	  same time Web content can be enhanced with native controls.

endmenu

#
# Host tools
#

menu "Host side tools             "
	depends on QTOPIA

config QTOPIA_BUILD_UIC
	bool
	depends on QTOPIA
	default y
	prompt "uic"
	help
	  This builds the User Interface Compiler to generate code from
	  XML files generated by the GUI designer

endmenu

menu "Install Fonts               "
	depends on QTOPIA

	config QTOPIA_FONT_DEJAVU
		bool
		prompt "DejaVu"

	config QTOPIA_FONT_UT
		bool
		prompt "UT"

	config QTOPIA_FONT_VERA
		bool
		prompt "Vera"

	config QTOPIA_FONT_C0
		bool
		prompt "c0"

	config QTOPIA_FONT_COUR
		bool
		prompt "cour"

	config QTOPIA_FONT_CURSOR
		bool
		prompt "cursor"

	config QTOPIA_FONT_FIXED
		bool
		prompt "fixed"

	config QTOPIA_FONT_HELVETICA
		bool
		prompt "helvetica"

	config QTOPIA_FONT_JAPANESE
		bool
		prompt "japanese"

	config QTOPIA_FONT_L04
		bool
		prompt "l04"

endmenu