summaryrefslogtreecommitdiffstats
path: root/package/qtopia4/Config.in
diff options
context:
space:
mode:
authorPeter Korsgaard2009-01-25 21:19:06 +0100
committerPeter Korsgaard2009-01-25 21:19:06 +0100
commitae3e3d132523af866f183cf049f8302393ad6364 (patch)
tree4baaaa6c8fb90f0365c5de043239e4d4d52cb300 /package/qtopia4/Config.in
parentMakefile: globally define variables used at different places (diff)
downloadbuildroot-ae3e3d132523af866f183cf049f8302393ad6364.tar.gz
buildroot-ae3e3d132523af866f183cf049f8302393ad6364.tar.xz
buildroot-ae3e3d132523af866f183cf049f8302393ad6364.zip
qtopia4: fix and improve color/pixel depths config
Also fix whitespace and use an existing variable for qmake.conf, which was forgotten in r23828, though it's only commented out. Signed-off-by: Markus Heidelberg <markus.heidelberg@web.de>
Diffstat (limited to 'package/qtopia4/Config.in')
-rw-r--r--package/qtopia4/Config.in46
1 files changed, 40 insertions, 6 deletions
diff --git a/package/qtopia4/Config.in b/package/qtopia4/Config.in
index 2cd6e17b4..4809cb12a 100644
--- a/package/qtopia4/Config.in
+++ b/package/qtopia4/Config.in
@@ -86,12 +86,46 @@ config BR2_PACKAGE_QTOPIA4_QT3SUPPORT
library with proxy code and increase the space required on target.
If unsure say n.
-config BR2_PACKAGE_QTOPIA4_DEPTHS
- string "color depths to support"
- default "-depths 24,16,8"
- help
- Which color depths to support for the library. Default is "-depths
- 24,16,8". Different depths are specified by a comma separated list.
+menu "Pixel depths"
+comment "Deselecting each option leads to Qt's default (8,16,32)"
+
+config BR2_PACKAGE_QTOPIA4_PIXEL_DEPTH_ALL
+ bool "All supported depths"
+
+if !BR2_PACKAGE_QTOPIA4_PIXEL_DEPTH_ALL
+
+config BR2_PACKAGE_QTOPIA4_PIXEL_DEPTH_1
+ bool "1 bpp, black/white"
+
+config BR2_PACKAGE_QTOPIA4_PIXEL_DEPTH_4
+ bool "4 bpp, grayscale"
+
+config BR2_PACKAGE_QTOPIA4_PIXEL_DEPTH_8
+ bool "8 bpp, paletted"
+ default y
+
+config BR2_PACKAGE_QTOPIA4_PIXEL_DEPTH_12
+ bool "12 bpp, rgb 4-4-4"
+
+config BR2_PACKAGE_QTOPIA4_PIXEL_DEPTH_15
+ bool "15 bpp, rgb 5-5-5"
+
+config BR2_PACKAGE_QTOPIA4_PIXEL_DEPTH_16
+ bool "16 bpp, rgb 5-6-5"
+ default y
+
+config BR2_PACKAGE_QTOPIA4_PIXEL_DEPTH_18
+ bool "18 bpp, rgb 6-6-6"
+
+config BR2_PACKAGE_QTOPIA4_PIXEL_DEPTH_24
+ bool "24 bpp, rgb 8-8-8"
+
+config BR2_PACKAGE_QTOPIA4_PIXEL_DEPTH_32
+ bool "32 bpp, argb 8-8-8-8 and rgb 8-8-8"
+ default y
+
+endif
+endmenu
config BR2_PACKAGE_QTOPIA4_GIF
bool "Enable GIF support"