summaryrefslogtreecommitdiff
path: root/packages/graphics/cairo/cairo.kconfig
blob: 5d4a43a5e1743ad9ee54c20465340b64e6e526bf (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
################################################################################
# Embtoolkit
# Copyright(C) 2009-2011 GAYE Abdoulaye Walsimou. All rights reserved.
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 2 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program.  If not, see <http://www.gnu.org/licenses/>.
#
################################################################################
#
# \file         cairo.kconfig
# \brief	cairo.kconfig of Embtoolkit
# \author       GAYE Abdoulaye Walsimou, <walsimou@walsimou.com>
# \date         December 2009
################################################################################

config EMBTK_HAVE_CAIRO
	bool "Have cairo"
	select EMBTK_HAVE_PIXMAN

	help
		Cairo is a 2D graphics library with support for multiple output
		devices. Currently supported output targets include the X Window
		System, Quartz, Win32, image buffers, PostScript, PDF, and SVG
		file output.
		Cairo is designed to produce consistent output on all output
		media while taking advantage of display hardware acceleration
		when available (eg. through the X Render Extension).

config EMBTK_HAVE_CAIRO_WITH_DIRECTFB
	bool "Build cairo with DirectFB support"
	depends on EMBTK_HAVE_CAIRO
	select EMBTK_HAVE_DIRECTFB

config EMBTK_HAVE_CAIRO_WITH_LIBXCB
	bool "Build cairo with XCB support"
	depends on EMBTK_HAVE_CAIRO
	select EMBTK_HAVE_XCBUTIL

choice
	prompt "Cairo version you wish"
	depends on EMBTK_HAVE_CAIRO
	help
	 Here you can choose which version of cairo you want to use.

	config  EMBTK_CAIRO_VERSION_1_8_10
		bool "cairo-1.8.10"
	config  EMBTK_CAIRO_VERSION_1_8_9
		bool "cairo-1.8.9"
	config  EMBTK_CAIRO_VERSION_1_8_8
		bool "cairo-1.8.8"
endchoice

config EMBTK_CAIRO_VERSION_STRING
	string
	default "1.8.10"	if EMBTK_CAIRO_VERSION_1_8_10
	default "1.8.9"		if EMBTK_CAIRO_VERSION_1_8_9
	default "1.8.8"		if EMBTK_CAIRO_VERSION_1_8_8