summaryrefslogtreecommitdiff
path: root/packages/graphics/libpng/libpng.kconfig
blob: f7fe061a0a2ca7cae186e2e2cd5893082e7f45fe (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
################################################################################
# Embtoolkit
# Copyright(C) 2009-2010 Abdoulaye Walsimou GAYE. 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         libpng.kconfig
# \brief	libpng.kconfig of Embtoolkit
# \author       Abdoulaye Walsimou GAYE <awg@embtoolkit.org>
# \date         October 2009
################################################################################

config EMBTK_HAVE_LIBPNG
	bool "Have libpng"
	select EMBTK_HAVE_ZLIB
	help
		libpng is the reference library for use in applications that
		read, create, and manipulate PNG (Portable Network Graphics)
		raster image files.

choice
	prompt "libpng version you wish"
	depends on EMBTK_HAVE_LIBPNG
	help
		Here you can choose which version of libpng you want to use.

	config  EMBTK_LIBPNG_VERSION_1_4_5
		bool "libpng-1.4.5"
	config  EMBTK_LIBPNG_VERSION_1_4_4
		bool "libpng-1.4.4"
	config  EMBTK_LIBPNG_VERSION_1_4_3
		bool "libpng-1.4.3"
	config  EMBTK_LIBPNG_VERSION_1_4_2
		bool "libpng-1.4.2"
	config  EMBTK_LIBPNG_VERSION_1_2_42
		bool "libpng-1.2.42"
	config  EMBTK_LIBPNG_VERSION_1_2_41
		bool "libpng-1.2.41"
	config  EMBTK_LIBPNG_VERSION_1_2_40
		bool "libpng-1.2.40"
endchoice

config EMBTK_LIBPNG_VERSION_STRING
	string
	default "1.4.5"		if EMBTK_LIBPNG_VERSION_1_4_5
	default "1.4.4"		if EMBTK_LIBPNG_VERSION_1_4_4
	default "1.4.3"		if EMBTK_LIBPNG_VERSION_1_4_3
	default "1.4.2"		if EMBTK_LIBPNG_VERSION_1_4_2
	default "1.2.42"	if EMBTK_LIBPNG_VERSION_1_2_42
	default "1.2.41"	if EMBTK_LIBPNG_VERSION_1_2_41
	default "1.2.40"	if EMBTK_LIBPNG_VERSION_1_2_40