summaryrefslogtreecommitdiffstats
path: root/rules/gtk2.in
blob: 985528826a5016636c975c7f64048ac1d03c4c7f (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
## SECTION=staging
## old section:
### 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.

	  STAGING: remove in PTXdist 2022.02.0
	  Gtk 2 was replaced by Gtk 3 a long time ago. All remaining users
	  should be ported by now.

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