summaryrefslogtreecommitdiffstats
path: root/rules/gtk.in
blob: 0728bcf4e5550438fbe6e02dc86e825ad66e6393 (plain)
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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
## SECTION=multimedia_gtk

menuconfig GTK
	tristate
	prompt "gtk+                          "

	# core dependencies
	select GLIB
	select ATK
	select PANGO
	select CAIRO
	select CAIRO_PDF
	select CAIRO_PS
	select CAIRO_SVG
	select CAIRO_GOBJECT
	select GDK_PIXBUF

	# disabling xkb is broken
	select GTK_XKB

	select XORG_LIB_X11		if GTK_XKB
	select XORG_LIB_X11_XKB		if GTK_XKB
	select XORG_LIB_XINERAMA	if GTK_XINERAMA
	# FIXME - gtk's configure doesn't check for XInput.h. Should be patched.
	select XORG_LIB_XI		if GTK_XINPUT
	select XORG_LIB_XRANDR		if GTK_XRANDR
	select XORG_LIB_XFIXES		if GTK_XFIXES
	select XORG_LIB_XCOMPOSITE	if GTK_XCOMPOSITE
	select XORG_LIB_XDAMAGE		if GTK_XDAMAGE

	help
	  The GTK+ is a multi-platform toolkit for creating graphical
	  user interfaces. Offering a complete set of widgets, the GTK+
	  is suitable for projects ranging from small one-off tools to complete
	  application suites.

if GTK

config GTK_XKB
	bool
	prompt "XKB support"

config GTK_XINERAMA
	bool
	prompt "Xinerama support"

config GTK_XINPUT
	bool
	prompt "XInput support"

config GTK_XRANDR
	bool
	prompt "XRandR support"

config GTK_XFIXES
	bool
	prompt "XFixes support"

config GTK_XCOMPOSITE
	bool
	prompt "X Composite support"

config GTK_XDAMAGE
	bool
	prompt "X Damage support"

endif