665e13c85e
Since a while, the semantic of BR2_PREFER_STATIC_LIB has been changed from "prefer static libraries when possible" to "use only static libraries". The former semantic didn't make much sense, since the user had absolutely no control/idea of which package would use static libraries, and which packages would not. Therefore, for quite some time, we have been starting to enforce that BR2_PREFER_STATIC_LIB should really build everything with static libraries. As a consequence, this patch renames BR2_PREFER_STATIC_LIB to BR2_STATIC_LIBS, and adjust the Config.in option accordingly. This also helps preparing the addition of other options to select shared, shared+static or just static. Note that we have verified that this commit can be reproduced by simply doing a global rename of BR2_PREFER_STATIC_LIB to BR2_STATIC_LIBS plus adding BR2_PREFER_STATIC_LIB to Config.in.legacy. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
59 lines
1.5 KiB
Plaintext
59 lines
1.5 KiB
Plaintext
comment "exiv2 needs a toolchain w/ C++, dynamic library"
|
|
depends on BR2_STATIC_LIBS || !BR2_INSTALL_LIBSTDCPP
|
|
|
|
config BR2_PACKAGE_EXIV2
|
|
bool "exiv2"
|
|
depends on !BR2_STATIC_LIBS
|
|
depends on BR2_INSTALL_LIBSTDCPP
|
|
help
|
|
Exiv2 is a C++ library and a command line utility to manage
|
|
image metadata. It provides fast and easy read and write
|
|
access to the Exif, IPTC and XMP metadata of images in
|
|
various formats.
|
|
|
|
Exiv2 is available under the GPLv2+ or under a commercial
|
|
license.
|
|
|
|
http://www.exiv2.org/
|
|
|
|
if BR2_PACKAGE_EXIV2
|
|
|
|
config BR2_PACKAGE_EXIV2_COMMERCIAL
|
|
bool "Enable commercial"
|
|
help
|
|
Build the commercial version for closed source project.
|
|
|
|
The Nikon lens name database and the NLS support is disabled
|
|
for copyright reasons.
|
|
|
|
A commercial license request is needed.
|
|
http://www.exiv2.org/download.html#license
|
|
|
|
config BR2_PACKAGE_EXIV2_PNG
|
|
bool "PNG image support"
|
|
select BR2_PACKAGE_ZLIB
|
|
help
|
|
Build with PNG image support
|
|
|
|
config BR2_PACKAGE_EXIV2_XMP
|
|
bool "XMP support"
|
|
select BR2_PACKAGE_EXPAT
|
|
depends on BR2_TOOLCHAIN_HAS_THREADS
|
|
depends on BR2_LARGEFILE
|
|
help
|
|
Build with XMP support
|
|
|
|
comment "xmp support needs a toolchain w/ threads, and largefile"
|
|
depends on !BR2_TOOLCHAIN_HAS_THREADS || !BR2_LARGEFILE
|
|
|
|
config BR2_PACKAGE_EXIV2_LENSDATA
|
|
bool "Nikon lens name database"
|
|
depends on !BR2_PACKAGE_EXIV2_COMMERCIAL
|
|
help
|
|
Integrate Nikon lens name database.
|
|
|
|
This database is integrated but comes from a thirdparty:
|
|
http://www.rottmerhusen.com/objektives/lensid/thirdparty.html.
|
|
|
|
endif
|