package/libegl: rename the _HAS and _PROVIDES variables
The basic rule for a package is to have its options named after the package name. There is no reason this should not also be the case for virtual packages. Besides, this will allow us to switch libegl to use the soon-to-be-introduced virtual-package infrastructure. Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Cc: Eric Le Bihan <eric.le.bihan.dev@free.fr> Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Cc: Thomas De Schampheleire <patrickdepinguin@gmail.com> Cc: Mike Zick <minimod@morethan.org> Cc: Samuel Martin <s.martin49@gmail.com> Reviewed-by: Samuel Martin <s.martin49@gmail.com> cc: Maxime Hadjinlian <maxime.hadjinlian@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
This commit is contained in:
parent
ec0de5d26b
commit
2bb9df30ad
@ -4,7 +4,7 @@ comment "gpu-viv-bin-mx6q needs an (e)glibc toolchain"
|
||||
|
||||
config BR2_PACKAGE_GPU_VIV_BIN_MX6Q
|
||||
bool "gpu-viv-bin-mx6q"
|
||||
select BR2_PACKAGE_HAS_OPENGL_EGL
|
||||
select BR2_PACKAGE_HAS_LIBEGL
|
||||
select BR2_PACKAGE_HAS_LIBGLES
|
||||
select BR2_PACKAGE_XLIB_LIBXDAMAGE if BR2_PACKAGE_XORG7
|
||||
select BR2_PACKAGE_XLIB_LIBXEXT if BR2_PACKAGE_XORG7
|
||||
@ -24,7 +24,7 @@ config BR2_PACKAGE_GPU_VIV_BIN_MX6Q
|
||||
|
||||
if BR2_PACKAGE_GPU_VIV_BIN_MX6Q
|
||||
|
||||
config BR2_PACKAGE_PROVIDES_OPENGL_EGL
|
||||
config BR2_PACKAGE_PROVIDES_LIBEGL
|
||||
default "gpu-viv-bin-mx6q"
|
||||
|
||||
config BR2_PACKAGE_PROVIDES_LIBGLES
|
||||
|
@ -464,7 +464,7 @@ comment "rsvg plugin needs a toolchain w/ C++, wchar, threads"
|
||||
|
||||
config BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_EGLGLES
|
||||
bool "eglgles"
|
||||
depends on BR2_PACKAGE_HAS_OPENGL_EGL && BR2_PACKAGE_HAS_LIBGLES
|
||||
depends on BR2_PACKAGE_HAS_LIBEGL && BR2_PACKAGE_HAS_LIBGLES
|
||||
help
|
||||
EGL/GLES sink
|
||||
|
||||
|
@ -92,7 +92,7 @@ depends on BR2_PACKAGE_MESA3D_DRIVER
|
||||
config BR2_PACKAGE_MESA3D_OPENGL_EGL
|
||||
bool "EGL"
|
||||
depends on BR2_PACKAGE_HAS_UDEV
|
||||
select BR2_PACKAGE_HAS_OPENGL_EGL
|
||||
select BR2_PACKAGE_HAS_LIBEGL
|
||||
help
|
||||
Use the Khronos EGL APIs. EGL is a window manager for OpenGL applications
|
||||
similar to GLX, for X, and WGL, for Windows.
|
||||
@ -106,7 +106,7 @@ config BR2_PACKAGE_MESA3D_OPENGL_ES
|
||||
|
||||
endmenu
|
||||
|
||||
config BR2_PACKAGE_PROVIDES_OPENGL_EGL
|
||||
config BR2_PACKAGE_PROVIDES_LIBEGL
|
||||
default "mesa3d" if BR2_PACKAGE_MESA3D_OPENGL_EGL
|
||||
|
||||
config BR2_PACKAGE_PROVIDES_LIBGLES
|
||||
|
@ -1,6 +1,6 @@
|
||||
config BR2_PACKAGE_HAS_OPENGL_EGL
|
||||
config BR2_PACKAGE_HAS_LIBEGL
|
||||
bool
|
||||
|
||||
config BR2_PACKAGE_PROVIDES_OPENGL_EGL
|
||||
depends on BR2_PACKAGE_HAS_OPENGL_EGL
|
||||
config BR2_PACKAGE_PROVIDES_LIBEGL
|
||||
depends on BR2_PACKAGE_HAS_LIBEGL
|
||||
string
|
||||
|
@ -5,9 +5,9 @@
|
||||
################################################################################
|
||||
|
||||
LIBEGL_SOURCE =
|
||||
LIBEGL_DEPENDENCIES = $(call qstrip,$(BR2_PACKAGE_PROVIDES_OPENGL_EGL))
|
||||
LIBEGL_DEPENDENCIES = $(call qstrip,$(BR2_PACKAGE_PROVIDES_LIBEGL))
|
||||
|
||||
ifeq ($(BR2_PACKAGE_HAS_OPENGL_EGL),y)
|
||||
ifeq ($(BR2_PACKAGE_HAS_LIBEGL),y)
|
||||
ifeq ($(LIBEGL_DEPENDENCIES),)
|
||||
$(error No libEGL implementation selected. Configuration error.)
|
||||
endif
|
||||
|
@ -295,7 +295,7 @@ config BR2_PACKAGE_QT_PHONON_BACKEND
|
||||
config BR2_PACKAGE_QT_OPENGL_ES
|
||||
bool "OpenGL ES v2.x support"
|
||||
depends on BR2_PACKAGE_HAS_LIBGLES
|
||||
depends on BR2_PACKAGE_HAS_OPENGL_EGL
|
||||
depends on BR2_PACKAGE_HAS_LIBEGL
|
||||
help
|
||||
Enable the OpenGL ES v2.x support.
|
||||
|
||||
|
@ -137,11 +137,11 @@ comment "X.org XCB backend available if X.org is enabled"
|
||||
|
||||
config BR2_PACKAGE_QT5BASE_EGLFS
|
||||
bool "eglfs support"
|
||||
depends on BR2_PACKAGE_HAS_OPENGL_EGL
|
||||
depends on BR2_PACKAGE_HAS_LIBEGL
|
||||
depends on BR2_PACKAGE_HAS_LIBGLES
|
||||
|
||||
comment "eglfs backend available if OpenGLES and EGL are enabled"
|
||||
depends on !BR2_PACKAGE_HAS_OPENGL_EGL || !BR2_PACKAGE_HAS_LIBGLES
|
||||
depends on !BR2_PACKAGE_HAS_LIBEGL || !BR2_PACKAGE_HAS_LIBGLES
|
||||
|
||||
config BR2_PACKAGE_QT5BASE_PRINTSUPPORT
|
||||
bool "print support module"
|
||||
|
@ -4,7 +4,7 @@ config BR2_PACKAGE_QT5DECLARATIVE
|
||||
select BR2_PACKAGE_QT5BASE
|
||||
select BR2_PACKAGE_QT5BASE_GUI
|
||||
select BR2_PACKAGE_QT5BASE_EGLFS
|
||||
depends on BR2_PACKAGE_HAS_OPENGL_EGL
|
||||
depends on BR2_PACKAGE_HAS_LIBEGL
|
||||
depends on BR2_PACKAGE_HAS_LIBGLES
|
||||
depends on BR2_PACKAGE_QT5_JSCORE_AVAILABLE
|
||||
help
|
||||
@ -16,5 +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_LIBGLES) && \
|
||||
depends on (!BR2_PACKAGE_HAS_LIBEGL || !BR2_PACKAGE_HAS_LIBGLES) && \
|
||||
BR2_PACKAGE_QT5_JSCORE_AVAILABLE
|
||||
|
@ -3,7 +3,7 @@ config BR2_PACKAGE_QT5GRAPHICALEFFECTS
|
||||
select BR2_PACKAGE_QT5BASE
|
||||
select BR2_PACKAGE_QT5DECLARATIVE
|
||||
depends on BR2_PACKAGE_QT5_JSCORE_AVAILABLE
|
||||
depends on BR2_PACKAGE_HAS_OPENGL_EGL
|
||||
depends on BR2_PACKAGE_HAS_LIBEGL
|
||||
depends on BR2_PACKAGE_HAS_LIBGLES
|
||||
help
|
||||
Qt is a cross-platform application and UI framework for
|
||||
@ -14,5 +14,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_LIBGLES) && \
|
||||
depends on (!BR2_PACKAGE_HAS_LIBEGL || !BR2_PACKAGE_HAS_LIBGLES) && \
|
||||
BR2_PACKAGE_QT5_JSCORE_AVAILABLE
|
||||
|
@ -2,7 +2,7 @@ config BR2_PACKAGE_QT5MULTIMEDIA
|
||||
bool "qt5multimedia"
|
||||
select BR2_PACKAGE_QT5BASE
|
||||
select BR2_PACKAGE_QT5DECLARATIVE
|
||||
depends on BR2_PACKAGE_HAS_OPENGL_EGL
|
||||
depends on BR2_PACKAGE_HAS_LIBEGL
|
||||
depends on BR2_PACKAGE_HAS_LIBGLES
|
||||
depends on BR2_PACKAGE_QT5_JSCORE_AVAILABLE
|
||||
help
|
||||
@ -14,5 +14,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_LIBGLES) && \
|
||||
depends on (!BR2_PACKAGE_HAS_LIBEGL || !BR2_PACKAGE_HAS_LIBGLES) && \
|
||||
BR2_PACKAGE_QT5_JSCORE_AVAILABLE
|
||||
|
@ -8,7 +8,7 @@ config BR2_PACKAGE_QT5QUICK1
|
||||
select BR2_PACKAGE_QT5DECLARATIVE
|
||||
# This module does not support static linking
|
||||
depends on !BR2_PREFER_STATIC_LIB
|
||||
depends on BR2_PACKAGE_HAS_OPENGL_EGL
|
||||
depends on BR2_PACKAGE_HAS_LIBEGL
|
||||
depends on BR2_PACKAGE_HAS_LIBGLES
|
||||
depends on BR2_PACKAGE_QT5_JSCORE_AVAILABLE
|
||||
help
|
||||
@ -21,5 +21,5 @@ config BR2_PACKAGE_QT5QUICK1
|
||||
|
||||
comment "qt5quick1 needs a toolchain w/ dynamic library and an OpenGL-capable backend"
|
||||
depends on BR2_PACKAGE_QT5_JSCORE_AVAILABLE
|
||||
depends on !BR2_PACKAGE_HAS_OPENGL_EGL || !BR2_PACKAGE_HAS_LIBGLES || \
|
||||
depends on !BR2_PACKAGE_HAS_LIBEGL || !BR2_PACKAGE_HAS_LIBGLES || \
|
||||
BR2_PREFER_STATIC_LIB
|
||||
|
@ -4,7 +4,7 @@ config BR2_PACKAGE_QT5QUICKCONTROLS
|
||||
select BR2_PACKAGE_QT5BASE_NETWORK
|
||||
select BR2_PACKAGE_QT5DECLARATIVE
|
||||
depends on BR2_PACKAGE_QT5_JSCORE_AVAILABLE
|
||||
depends on BR2_PACKAGE_HAS_OPENGL_EGL
|
||||
depends on BR2_PACKAGE_HAS_LIBEGL
|
||||
depends on BR2_PACKAGE_HAS_LIBGLES
|
||||
help
|
||||
Qt is a cross-platform application and UI framework for
|
||||
@ -15,5 +15,5 @@ config BR2_PACKAGE_QT5QUICKCONTROLS
|
||||
http://qt-project.org
|
||||
|
||||
comment "qt5quickcontrols requires an OpenGL-capable backend"
|
||||
depends on (!BR2_PACKAGE_HAS_OPENGL_EGL || !BR2_PACKAGE_HAS_LIBGLES) && \
|
||||
depends on (!BR2_PACKAGE_HAS_LIBEGL || !BR2_PACKAGE_HAS_LIBGLES) && \
|
||||
BR2_PACKAGE_QT5_JSCORE_AVAILABLE
|
||||
|
@ -4,7 +4,7 @@ config BR2_PACKAGE_RPI_USERLAND
|
||||
depends on BR2_INSTALL_LIBSTDCPP
|
||||
depends on BR2_LARGEFILE
|
||||
depends on BR2_TOOLCHAIN_HAS_THREADS
|
||||
select BR2_PACKAGE_HAS_OPENGL_EGL
|
||||
select BR2_PACKAGE_HAS_LIBEGL
|
||||
select BR2_PACKAGE_HAS_LIBGLES
|
||||
select BR2_PACKAGE_HAS_OPENVG
|
||||
select BR2_PACKAGE_HAS_OPENMAX
|
||||
@ -19,7 +19,7 @@ config BR2_PACKAGE_RPI_USERLAND
|
||||
|
||||
if BR2_PACKAGE_RPI_USERLAND
|
||||
|
||||
config BR2_PACKAGE_PROVIDES_OPENGL_EGL
|
||||
config BR2_PACKAGE_PROVIDES_LIBEGL
|
||||
default "rpi-userland"
|
||||
|
||||
config BR2_PACKAGE_PROVIDES_LIBGLES
|
||||
|
@ -1,6 +1,6 @@
|
||||
config BR2_PACKAGE_SUNXI_MALI
|
||||
bool "sunxi-mali"
|
||||
select BR2_PACKAGE_HAS_OPENGL_EGL
|
||||
select BR2_PACKAGE_HAS_LIBEGL
|
||||
select BR2_PACKAGE_HAS_LIBGLES
|
||||
# The egl/gles mali libraries are provided as a git submodule of the
|
||||
# sunxi-mali repo and are downloaded by the sunxi-mali-prop package.
|
||||
@ -18,7 +18,7 @@ config BR2_PACKAGE_SUNXI_MALI
|
||||
|
||||
if BR2_PACKAGE_SUNXI_MALI
|
||||
|
||||
config BR2_PACKAGE_PROVIDES_OPENGL_EGL
|
||||
config BR2_PACKAGE_PROVIDES_LIBEGL
|
||||
default "sunxi-mali"
|
||||
|
||||
config BR2_PACKAGE_PROVIDES_LIBGLES
|
||||
|
@ -1,6 +1,6 @@
|
||||
config BR2_PACKAGE_TI_GFX
|
||||
bool "ti-gfx"
|
||||
select BR2_PACKAGE_HAS_OPENGL_EGL
|
||||
select BR2_PACKAGE_HAS_LIBEGL
|
||||
select BR2_PACKAGE_HAS_LIBGLES
|
||||
select BR2_PACKAGE_HAS_POWERVR
|
||||
depends on BR2_LINUX_KERNEL && BR2_TOOLCHAIN_USES_GLIBC && BR2_arm
|
||||
@ -11,7 +11,7 @@ config BR2_PACKAGE_TI_GFX
|
||||
|
||||
if BR2_PACKAGE_TI_GFX
|
||||
|
||||
config BR2_PACKAGE_PROVIDES_OPENGL_EGL
|
||||
config BR2_PACKAGE_PROVIDES_LIBEGL
|
||||
default "ti-gfx"
|
||||
|
||||
config BR2_PACKAGE_PROVIDES_LIBGLES
|
||||
|
@ -2,7 +2,7 @@ comment "xbmc needs an (e)glibc toolchain w/ C++, threads"
|
||||
depends on !BR2_TOOLCHAIN_USES_GLIBC || !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_HAS_THREADS
|
||||
|
||||
comment "xbmc requires an OpenGL ES and EGL backend"
|
||||
depends on !BR2_PACKAGE_HAS_OPENGL_EGL || !BR2_PACKAGE_HAS_LIBGLES
|
||||
depends on !BR2_PACKAGE_HAS_LIBEGL || !BR2_PACKAGE_HAS_LIBGLES
|
||||
depends on BR2_TOOLCHAIN_USES_GLIBC
|
||||
depends on BR2_INSTALL_LIBSTDCPP
|
||||
depends on BR2_TOOLCHAIN_HAS_THREADS
|
||||
@ -59,7 +59,7 @@ menuconfig BR2_PACKAGE_XBMC
|
||||
depends on BR2_TOOLCHAIN_USES_GLIBC
|
||||
depends on BR2_INSTALL_LIBSTDCPP
|
||||
depends on BR2_TOOLCHAIN_HAS_THREADS
|
||||
depends on BR2_PACKAGE_HAS_OPENGL_EGL && BR2_PACKAGE_HAS_LIBGLES
|
||||
depends on BR2_PACKAGE_HAS_LIBEGL && BR2_PACKAGE_HAS_LIBGLES
|
||||
help
|
||||
XBMC is an award-winning free and open source (GPL) software
|
||||
media player and entertainment hub for digital media.
|
||||
|
Loading…
Reference in New Issue
Block a user