diff options
Diffstat (limited to 'scripts/scan-pkgs.sh')
-rw-r--r-- | scripts/scan-pkgs.sh | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/scripts/scan-pkgs.sh b/scripts/scan-pkgs.sh index 9f9676f85..9ac3c2d4a 100644 --- a/scripts/scan-pkgs.sh +++ b/scripts/scan-pkgs.sh @@ -26,6 +26,10 @@ if [[ -n $ADK_PACKAGE_ALSA_UTILS ]]; then NEED_XMLTO="$NEED_XMLTO alsa-utils" fi +if [[ -n $ADK_PACKAGE_XKEYBOARD_CONFIG ]]; then + NEED_XKBCOMP="$NEED_XKBCOMP xkeyboard-config" +fi + if [[ -n $ADK_COMPILE_AVAHI ]]; then NEED_PKGCONFIG="$NEED_PKGCONFIG avahi" fi @@ -58,6 +62,13 @@ if [[ -n $NEED_RUBY ]]; then fi fi +if [[ -n $NEED_XKBCOMP ]]; then + if ! which xkbcomp >/dev/null 2>&1; then + echo >&2 You need xkbcomp to build $NEED_XKBCOMP + out=1 + fi +fi + if [[ -n $NEED_XMLTO ]]; then if ! which xmlto >/dev/null 2>&1; then echo >&2 You need xmlto to build $NEED_XMLTO |