35eaed8d07
In the Config.in file of package foo, it often happens that there are other symbols besides BR2_PACKAGE_FOO. Typically, these symbols only make sense when foo itself is enabled. There are two ways to express this: with depends on BR2_PACKAGE_FOO in each extra symbol, or with if BR2_PACKAGE_FOO ... endif around the entire set of extra symbols. The if/endif approach avoids the repetition of 'depends on' statements on multiple symbols, so this is clearly preferred. But even when there is only one extra symbol, if/endif is a more logical choice: - it is future-proof for when extra symbols are added - it allows to have just one strategy instead of two (less confusion) This patch modifies the Config.in files accordingly. Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
74 lines
1.3 KiB
Plaintext
74 lines
1.3 KiB
Plaintext
config BR2_PACKAGE_TIFF
|
|
bool "tiff"
|
|
help
|
|
Library for handling TIFF (Tag Image File Format) images.
|
|
|
|
http://www.libtiff.org/
|
|
|
|
if BR2_PACKAGE_TIFF
|
|
menu "tiff Options"
|
|
|
|
config BR2_PACKAGE_TIFF_CCITT
|
|
bool "CCITT Group 3 & 4 support"
|
|
default y
|
|
|
|
config BR2_PACKAGE_TIFF_PACKBITS
|
|
bool "Macintosh PackBits algorithm"
|
|
default y
|
|
|
|
config BR2_PACKAGE_TIFF_LZW
|
|
bool "LZW algorithm"
|
|
default y
|
|
|
|
config BR2_PACKAGE_TIFF_THUNDER
|
|
bool "ThunderScan 4-bit RLE algorithm"
|
|
default y
|
|
|
|
config BR2_PACKAGE_TIFF_NEXT
|
|
bool "NeXT 2-bit RLE algorithm"
|
|
default y
|
|
|
|
config BR2_PACKAGE_TIFF_LOGLUV
|
|
bool "LogLuv high dynamic range encoding"
|
|
default y
|
|
|
|
config BR2_PACKAGE_TIFF_MDI
|
|
bool "Microsoft Document Imaging"
|
|
default y
|
|
|
|
config BR2_PACKAGE_TIFF_ZLIB
|
|
bool "Zlib usage (required for Deflate compression)"
|
|
select BR2_PACKAGE_ZLIB
|
|
default y
|
|
|
|
config BR2_PACKAGE_TIFF_PIXARLOG
|
|
bool "Pixar log-format algorithm (requires Zlib)"
|
|
select BR2_PACKAGE_TIFF_ZLIB
|
|
default y
|
|
|
|
config BR2_PACKAGE_TIFF_JPEG
|
|
bool "JPEG compression"
|
|
select BR2_PACKAGE_JPEG
|
|
default y
|
|
|
|
config BR2_PACKAGE_TIFF_OLD_JPEG
|
|
bool "Old JPEG decompression"
|
|
default y
|
|
|
|
config BR2_PACKAGE_TIFF_JBIG
|
|
bool "JBIG compression"
|
|
default y
|
|
endmenu
|
|
|
|
config BR2_PACKAGE_TIFF_TIFF2PDF
|
|
bool "tiff2pdf"
|
|
help
|
|
tiff2pdf utility
|
|
|
|
config BR2_PACKAGE_TIFF_TIFFCP
|
|
bool "tiffcp"
|
|
help
|
|
tiffcp utility
|
|
|
|
endif
|