630530831f
kmscube requires a libgbm implementation, which until now, only Mesa3D was providing, so kmscube had a direct dependency on Mesa3D. However, now that we have a proper libgbm virtual package, so this commit converts the kmscube package to use the libegl, libgbm and libgles virtual packages. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com> Signed-off-by: Kamel Bouhara <kamel.bouhara@bootlin.com> [ Kamel : add dependency on recent libgbm ] [Arnout: fix syntax of Config.in comment; order depends alphabetically] Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
21 lines
688 B
Plaintext
21 lines
688 B
Plaintext
config BR2_PACKAGE_KMSCUBE
|
|
bool "kmscube"
|
|
depends on BR2_PACKAGE_HAS_LIBEGL
|
|
depends on BR2_PACKAGE_HAS_LIBGBM
|
|
depends on BR2_PACKAGE_LIBGBM_HAS_FEATURE_FORMAT_MODIFIER_PLANE_COUNT
|
|
depends on BR2_PACKAGE_HAS_LIBGLES
|
|
depends on BR2_TOOLCHAIN_HAS_THREADS # libdrm
|
|
select BR2_PACKAGE_LIBDRM
|
|
help
|
|
kmscube is an application to test kms/drm drivers.
|
|
|
|
https://cgit.freedesktop.org/mesa/kmscube/
|
|
|
|
comment "kmscube needs EGL, GBM and OpenGL ES, and a toolchain w/ thread support"
|
|
depends on \
|
|
!BR2_PACKAGE_HAS_LIBEGL || \
|
|
!BR2_PACKAGE_HAS_LIBGBM || \
|
|
!BR2_PACKAGE_LIBGBM_HAS_FEATURE_FORMAT_MODIFIER_PLANE_COUNT || \
|
|
!BR2_PACKAGE_HAS_LIBGLES || \
|
|
!BR2_TOOLCHAIN_HAS_THREADS
|