qt5jsbackend: only available on ARM, x86, x86-64 and mipsel

The v8 Javascript virtual machine that is the core of qt5jsbackend is
only available on certain architectures. At the moment, only ARM, x86,
x86-64 and mipsel are supported.

Fixes:

  http://autobuild.buildroot.org/results/a2e/a2e62e2deaa28ec9d4d957523a00ee0b7a634950/build-end.log

[Peter: also add dependency for qt5graphicaleffects]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
This commit is contained in:
Thomas Petazzoni 2013-05-28 10:27:06 +00:00 committed by Peter Korsgaard
parent c5f9a4fb91
commit 8762110c46
5 changed files with 21 additions and 4 deletions

View File

@ -6,6 +6,7 @@ config BR2_PACKAGE_QT5DECLARATIVE
select BR2_PACKAGE_QT5BASE_EGLFS
depends on BR2_PACKAGE_HAS_OPENGL_EGL
depends on BR2_PACKAGE_HAS_OPENGL_ES
depends on BR2_PACKAGE_QT5JSBACKEND_AVAILABLE
help
Qt is a cross-platform application and UI framework for
developers using C++.
@ -15,4 +16,5 @@ config BR2_PACKAGE_QT5DECLARATIVE
http://qt-project.org
comment "qt5declarative requires an OpenGL-capable backend"
depends on !BR2_PACKAGE_HAS_OPENGL_EGL || !BR2_PACKAGE_HAS_OPENGL_ES
depends on (!BR2_PACKAGE_HAS_OPENGL_EGL || !BR2_PACKAGE_HAS_OPENGL_ES) && \
BR2_PACKAGE_QT5JSBACKEND_AVAILABLE

View File

@ -2,6 +2,8 @@ config BR2_PACKAGE_QT5GRAPHICALEFFECTS
bool "qt5graphicaleffects"
select BR2_PACKAGE_QT5BASE
select BR2_PACKAGE_QT5DECLARATIVE
# qt5declarative -> qt5jsbackend
depends on BR2_PACKAGE_QT5JSBACKEND_AVAILABLE
depends on BR2_PACKAGE_HAS_OPENGL_EGL
depends on BR2_PACKAGE_HAS_OPENGL_ES
help
@ -13,4 +15,5 @@ config BR2_PACKAGE_QT5GRAPHICALEFFECTS
http://qt-project.org
comment "qt5graphicaleffects requires an OpenGL-capable backend"
depends on !BR2_PACKAGE_HAS_OPENGL_EGL || !BR2_PACKAGE_HAS_OPENGL_ES
depends on (!BR2_PACKAGE_HAS_OPENGL_EGL || !BR2_PACKAGE_HAS_OPENGL_ES) && \
BR2_PACKAGE_QT5JSBACKEND_AVAILABLE

View File

@ -1,6 +1,13 @@
config BR2_PACKAGE_QT5JSBACKEND_AVAILABLE
bool
# v8 is only available on certain architectures
depends on BR2_arm || BR2_i386 || BR2_x86_64 || BR2_mipsel
default y
config BR2_PACKAGE_QT5JSBACKEND
bool "qt5jsbackend"
select BR2_PACKAGE_QT5BASE
depends on BR2_PACKAGE_QT5JSBACKEND_AVAILABLE
help
Qt is a cross-platform application and UI framework for
developers using C++.

View File

@ -4,6 +4,8 @@ config BR2_PACKAGE_QT5MULTIMEDIA
select BR2_PACKAGE_QT5DECLARATIVE
depends on BR2_PACKAGE_HAS_OPENGL_EGL
depends on BR2_PACKAGE_HAS_OPENGL_ES
# qt5declarative -> qt5jsbackend
depends on BR2_PACKAGE_QT5JSBACKEND_AVAILABLE
help
Qt is a cross-platform application and UI framework for
developers using C++.
@ -13,4 +15,5 @@ config BR2_PACKAGE_QT5MULTIMEDIA
http://qt-project.org
comment "qt5multimedia requires an OpenGL-capable backend"
depends on !BR2_PACKAGE_HAS_OPENGL_EGL || !BR2_PACKAGE_HAS_OPENGL_ES
depends on (!BR2_PACKAGE_HAS_OPENGL_EGL || !BR2_PACKAGE_HAS_OPENGL_ES) && \
BR2_PACKAGE_QT5JSBACKEND_AVAILABLE

View File

@ -10,6 +10,7 @@ config BR2_PACKAGE_QT5QUICK1
depends on !BR2_PREFER_STATIC_LIB
depends on BR2_PACKAGE_HAS_OPENGL_EGL
depends on BR2_PACKAGE_HAS_OPENGL_ES
depends on BR2_PACKAGE_QT5JSBACKEND_AVAILABLE
help
Qt is a cross-platform application and UI framework for
developers using C++.
@ -19,4 +20,5 @@ config BR2_PACKAGE_QT5QUICK1
http://qt-project.org
comment "qt5quick1 requires an OpenGL-capable backend"
depends on !BR2_PACKAGE_HAS_OPENGL_EGL || !BR2_PACKAGE_HAS_OPENGL_ES
depends on (!BR2_PACKAGE_HAS_OPENGL_EGL || !BR2_PACKAGE_HAS_OPENGL_ES) && \
BR2_PACKAGE_QT5JSBACKEND_AVAILABLE