summaryrefslogtreecommitdiffstats
path: root/rules/gtk2.in
blob: 92096c6c467410e5e32262098486101249b36adb (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
## SECTION=multimedia_gtk

menuconfig GTK2
	tristate
	prompt "GTK+2                         "
	select GLIB
	select ATK
	select PANGO
	select GDK_PIXBUF

	select CAIRO
	select CAIRO_PDF
	select CAIRO_SVG

	select XORG_LIB_XEXT	 if GTK2_TARGET_X11
	select XORG_LIB_XINERAMA if GTK2_TARGET_X11_XINERAMA
	select XORG_LIB_XRANDR	 if GTK2_TARGET_X11_XRANDR

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

if GTK2

choice
	prompt "gdk-target       "

	config GTK2_TARGET_X11
		bool "X11     "
		select CAIRO_XLIB
		select CAIRO_PS

endchoice

config GTK2_TARGET
	string
	default "x11" if GTK2_TARGET_X11

config GTK2_TARGET_X11_XINERAMA
	bool
	prompt "Xinerama support"
	depends on GTK2_TARGET_X11

config GTK2_TARGET_X11_XRANDR
	bool
	prompt "Xrandr support"
	depends on GTK2_TARGET_X11

endif