summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--packages/graphics/atk/atk.kconfig43
1 files changed, 42 insertions, 1 deletions
diff --git a/packages/graphics/atk/atk.kconfig b/packages/graphics/atk/atk.kconfig
index 2d62fb1..3ca9fd3 100644
--- a/packages/graphics/atk/atk.kconfig
+++ b/packages/graphics/atk/atk.kconfig
@@ -29,16 +29,57 @@ config EMBTK_HAVE_ATK
GNOME Accessibility is the suite of software services and
support in GNOME that allows people with disabilities to utilize
all of the functionality of the GNOME user environment.
+
+# atk versions selection helpers symbols
+config EMBTK_ATK_VERSION_1_32_X_AND_GREATER
+ bool
+ help
+ Equal or greater than atk-1.32.x
+ Note: this version does not exist yet. It is only here for
+ reference for versions selection logic
+config EMBTK_ATK_VERSION_1_30_X_AND_GREATER
+ bool
+ help
+ Equal or greater than atk-1.30.x
+config EMBTK_ATK_VERSION_1_28_X_AND_GREATER
+ bool
+ help
+ Equal or greater than atk-1.28.x
+
+config EMBTK_ATK_VERSION_1_32_X
+ bool
+ default y if EMBTK_ATK_VERSION_1_32_X_AND_GREATER
+config EMBTK_ATK_VERSION_1_30_X
+ bool
+ default y if EMBTK_ATK_VERSION_1_30_X_AND_GREATER
+ select EMBTK_ATK_VERSION_1_32_X
+config EMBTK_ATK_VERSION_1_28_X
+ bool
+ default y if EMBTK_ATK_VERSION_1_28_X_AND_GREATER
+ select EMBTK_ATK_VERSION_1_30_X
+
+# Select all of these versions if none selected
+config EMBTK_ATK_VERSION_ALL
+ bool
+ default y if \
+ !EMBTK_ATK_VERSION_1_32_X_AND_GREATER && \
+ !EMBTK_ATK_VERSION_1_30_X_AND_GREATER && \
+ !EMBTK_ATK_VERSION_1_28_X_AND_GREATER
+ select EMBTK_ATK_VERSION_1_28_X
+
+# atk version selectable upon above selection logic
choice
prompt "atk version you wish"
depends on EMBTK_HAVE_ATK
help
- Here you can choose which version of atk you want to use.
+ Here you can choose which version of atk you want to use.
config EMBTK_ATK_VERSION_1_30_0
bool "atk-1.30.0"
+ depends on EMBTK_ATK_VERSION_1_30_X
config EMBTK_ATK_VERSION_1_28_0
bool "atk-1.28.0"
+ depends on EMBTK_ATK_VERSION_1_28_X
endchoice
config EMBTK_ATK_MAJOR_VERSION_STRING