Move all to deprecated folder.
This commit is contained in:
59
deprecated/firmware/buildroot/package/exiv2/Config.in
Normal file
59
deprecated/firmware/buildroot/package/exiv2/Config.in
Normal file
@@ -0,0 +1,59 @@
|
||||
comment "exiv2 needs a toolchain w/ C++, wchar, dynamic library"
|
||||
depends on BR2_STATIC_LIBS || !BR2_INSTALL_LIBSTDCPP \
|
||||
|| !BR2_USE_WCHAR
|
||||
|
||||
config BR2_PACKAGE_EXIV2
|
||||
bool "exiv2"
|
||||
depends on !BR2_STATIC_LIBS
|
||||
depends on BR2_INSTALL_LIBSTDCPP
|
||||
depends on BR2_USE_WCHAR
|
||||
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
|
||||
help
|
||||
Build with XMP support
|
||||
|
||||
comment "xmp support needs a toolchain w/ threads"
|
||||
depends on !BR2_TOOLCHAIN_HAS_THREADS
|
||||
|
||||
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
|
||||
4
deprecated/firmware/buildroot/package/exiv2/exiv2.hash
Normal file
4
deprecated/firmware/buildroot/package/exiv2/exiv2.hash
Normal file
@@ -0,0 +1,4 @@
|
||||
# From http://www.exiv2.org/download.html
|
||||
md5 258d4831b30f75a01e0234065c6c2806 exiv2-0.25.tar.gz
|
||||
# Locally calculated
|
||||
sha256 c80bfc778a15fdb06f71265db2c3d49d8493c382e516cb99b8c9f9cbde36efa4 exiv2-0.25.tar.gz
|
||||
47
deprecated/firmware/buildroot/package/exiv2/exiv2.mk
Normal file
47
deprecated/firmware/buildroot/package/exiv2/exiv2.mk
Normal file
@@ -0,0 +1,47 @@
|
||||
################################################################################
|
||||
#
|
||||
# exiv2
|
||||
#
|
||||
################################################################################
|
||||
|
||||
EXIV2_VERSION = 0.25
|
||||
EXIV2_SITE = http://www.exiv2.org
|
||||
EXIV2_INSTALL_STAGING = YES
|
||||
|
||||
EXIV2_CONF_OPTS += -DEXIV2_ENABLE_BUILD_SAMPLES=OFF
|
||||
|
||||
ifeq ($(BR2_PACKAGE_EXIV2_LENSDATA),)
|
||||
EXIV2_CONF_OPTS += -DEXIV2_ENABLE_LENSDATA=OFF
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_EXIV2_COMMERCIAL),y)
|
||||
EXIV2_LICENSE = commercial
|
||||
# NLS support is disabled in commercial version due to the copyright
|
||||
# of the translated texts.
|
||||
EXIV2_CONF_OPTS += -DEXIV2_ENABLE_COMMERCIAL=ON -DEXIV2_ENABLE_NLS=OFF
|
||||
else
|
||||
EXIV2_LICENSE = GPLv2+
|
||||
EXIV2_LICENSE_FILES = COPYING
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_EXIV2_PNG),y)
|
||||
EXIV2_CONF_OPTS += -DEXIV2_ENABLE_PNG=ON
|
||||
EXIV2_DEPENDENCIES += zlib
|
||||
else
|
||||
EXIV2_CONF_OPTS += -DEXIV2_ENABLE_PNG=OFF
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_EXIV2_XMP),y)
|
||||
EXIV2_CONF_OPTS += -DEXIV2_ENABLE_XMP=ON -DEXIV2_ENABLE_LIBXMP=ON
|
||||
EXIV2_DEPENDENCIES += expat
|
||||
else
|
||||
EXIV2_CONF_OPTS += -DEXIV2_ENABLE_XMP=OFF -DEXIV2_ENABLE_LIBXMP=OFF
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_ENABLE_LOCALE),y)
|
||||
EXIV2_CONF_OPTS += -DEXIV2_ENABLE_NLS=ON
|
||||
else
|
||||
EXIV2_CONF_OPTS += -DEXIV2_ENABLE_NLS=OFF
|
||||
endif
|
||||
|
||||
$(eval $(cmake-package))
|
||||
Reference in New Issue
Block a user