summaryrefslogtreecommitdiffstats
path: root/rules/waffle.in
blob: 93dcbc87dc486d9480c63a26129f4c79c5299b9a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
## SECTION=multimedia_libs

menuconfig WAFFLE
	tristate
	prompt "waffle                        "
	select HOST_CMAKE
	select MESALIB
	select LIBXCB		if WAFFLE_GLX || WAFFLE_X11_EGL
	select XORG_LIB_X11	if WAFFLE_GLX || WAFFLE_X11_EGL
	select MESALIB_GLX	if WAFFLE_GLX
	select WAYLAND		if WAFFLE_WAYLAND
	select MESALIB_EGL	if WAFFLE_WAYLAND || WAFFLE_X11_EGL || WAFFLE_GBM
	select UDEV_LIBUDEV	if WAFFLE_GBM
	select MESALIB_GBM	if WAFFLE_GBM
	help
	  Waffle is a cross-platform C library that allows one to defer
	  selection of an OpenGL API and window system until runtime.

if WAFFLE

config WAFFLE_GLX
	bool
	prompt "GLX support"

config WAFFLE_WAYLAND
	bool
	prompt "Wayland support"

config WAFFLE_X11_EGL
	bool
	prompt "X11 EGL support"

config WAFFLE_GBM
	bool
	prompt "GBM support"

endif