diff options
author | Arn R <arnerro@gmail.com> | 2012-06-14 22:10:18 +0000 |
---|---|---|
committer | Peter Korsgaard <jacmet@sunsite.dk> | 2012-06-16 22:34:56 +0200 |
commit | 0e41f5628b98f9827236a8499e45aefd40282623 (patch) | |
tree | cc530c4df9349fb6b65cfbcd951af91fb396f69f /package/fbv/Config.in | |
parent | b5addce8187065c8293d4c8d3e673361e0d3c78e (diff) |
fbv: Allow selection of supported image formats.
This removes fbv's compulsory dependency on either libpng and/or libjpeg and/or libungif.
The user can choose which compressed image format's fbv should support.
By default PNG, JPEG and GIF are selected.
Note that BMP format support will still always be included.
[Peter: Drop (unneeded) png specific libs]
Signed-off-by: Arn R <arnerro@gmail.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Diffstat (limited to 'package/fbv/Config.in')
-rw-r--r-- | package/fbv/Config.in | 28 |
1 files changed, 25 insertions, 3 deletions
diff --git a/package/fbv/Config.in b/package/fbv/Config.in index ea5440168..b8a9fe4e4 100644 --- a/package/fbv/Config.in +++ b/package/fbv/Config.in @@ -1,11 +1,33 @@ config BR2_PACKAGE_FBV bool "fbv" - select BR2_PACKAGE_LIBPNG - select BR2_PACKAGE_JPEG - select BR2_PACKAGE_LIBUNGIF help fbv is a very simple graphic file viewer for the framebuffer console, capable of displaying GIF, JPEG, PNG and BMP files using libungif, libjpeg and libpng. http://freshmeat.net/projects/fbv/ + +if BR2_PACKAGE_FBV + +config BR2_PACKAGE_FBV_PNG + bool "PNG support" + default y + select BR2_PACKAGE_LIBPNG + help + Enable support for PNG using libpng. + +config BR2_PACKAGE_FBV_JPEG + bool "JPEG support" + default y + select BR2_PACKAGE_JPEG + help + Enable support for JPEG using IJG's libjpeg. + +config BR2_PACKAGE_FBV_GIF + bool "GIF support" + default y + select BR2_PACKAGE_LIBUNGIF + help + Enable support for GIF using libungif. + +endif # BR2_PACKAGE_FBV |