Initial Commit
- initial default booting image
This commit is contained in:
56
package/exiv2/Config.in
Normal file
56
package/exiv2/Config.in
Normal file
@@ -0,0 +1,56 @@
|
||||
comment "exiv2 needs a uClibc or glibc toolchain w/ C++, wchar, dynamic library, threads"
|
||||
depends on BR2_STATIC_LIBS || !BR2_INSTALL_LIBSTDCPP \
|
||||
|| !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS \
|
||||
|| BR2_TOOLCHAIN_USES_MUSL
|
||||
|
||||
config BR2_PACKAGE_EXIV2
|
||||
bool "exiv2"
|
||||
depends on !BR2_STATIC_LIBS
|
||||
depends on BR2_INSTALL_LIBSTDCPP
|
||||
depends on BR2_TOOLCHAIN_HAS_THREADS
|
||||
depends on !BR2_TOOLCHAIN_USES_MUSL # PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP
|
||||
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.
|
||||
|
||||
http://www.exiv2.org/
|
||||
|
||||
if BR2_PACKAGE_EXIV2
|
||||
|
||||
config BR2_PACKAGE_EXIV2_BROTLI
|
||||
bool "Brotli support"
|
||||
select BR2_PACKAGE_BROTLI
|
||||
help
|
||||
Build with Brotli support for JPEG XL
|
||||
|
||||
config BR2_PACKAGE_EXIV2_INIH
|
||||
bool "Inih support"
|
||||
select BR2_PACKAGE_INIH
|
||||
help
|
||||
Build with inih support
|
||||
|
||||
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
|
||||
help
|
||||
Build with XMP support
|
||||
|
||||
config BR2_PACKAGE_EXIV2_LENSDATA
|
||||
bool "Nikon lens name database"
|
||||
help
|
||||
Integrate Nikon lens name database.
|
||||
|
||||
This database comes from a thirdparty and is free to use in
|
||||
non-commercial, GPL or open source software only.
|
||||
For more information see src/nikonmn_int.cpp.
|
||||
|
||||
endif
|
||||
3
package/exiv2/exiv2.hash
Normal file
3
package/exiv2/exiv2.hash
Normal file
@@ -0,0 +1,3 @@
|
||||
# Locally calculated
|
||||
sha256 700b76b97695b2fab4ef8c79619c68ae57d09e0c130724791cafbd39e0eb4aef exiv2-0.28.9.tar.gz
|
||||
sha256 a7ba75cb966aca374711e2af49e5f3aea6a4443a803440f5d93e73a5a1222f66 COPYING
|
||||
60
package/exiv2/exiv2.mk
Normal file
60
package/exiv2/exiv2.mk
Normal file
@@ -0,0 +1,60 @@
|
||||
################################################################################
|
||||
#
|
||||
# exiv2
|
||||
#
|
||||
################################################################################
|
||||
|
||||
EXIV2_VERSION = 0.28.9
|
||||
EXIV2_SITE = $(call github,Exiv2,exiv2,v$(EXIV2_VERSION))
|
||||
EXIV2_INSTALL_STAGING = YES
|
||||
EXIV2_LICENSE = GPL-2.0+
|
||||
EXIV2_LICENSE_FILES = COPYING
|
||||
EXIV2_CPE_ID_VENDOR = exiv2
|
||||
|
||||
EXIV2_CONF_OPTS += \
|
||||
-DBUILD_WITH_STACK_PROTECTOR=OFF \
|
||||
-DEXIV2_BUILD_SAMPLES=OFF
|
||||
|
||||
ifeq ($(BR2_PACKAGE_EXIV2_BROTLI),y)
|
||||
EXIV2_CONF_OPTS += -DEXIV2_ENABLE_BROTLI=ON
|
||||
EXIV2_DEPENDENCIES += brotli
|
||||
else
|
||||
EXIV2_CONF_OPTS += -DEXIV2_ENABLE_BROTLI=OFF
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_EXIV2_INIH),y)
|
||||
EXIV2_CONF_OPTS += -DEXIV2_ENABLE_INIH=ON
|
||||
EXIV2_DEPENDENCIES += inih
|
||||
else
|
||||
EXIV2_CONF_OPTS += -DEXIV2_ENABLE_INIH=OFF
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_EXIV2_LENSDATA),y)
|
||||
EXIV2_CONF_OPTS += -DEXIV2_ENABLE_LENSDATA=ON
|
||||
else
|
||||
EXIV2_CONF_OPTS += -DEXIV2_ENABLE_LENSDATA=OFF
|
||||
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
|
||||
EXIV2_DEPENDENCIES += expat
|
||||
else
|
||||
EXIV2_CONF_OPTS += -DEXIV2_ENABLE_XMP=OFF
|
||||
endif
|
||||
|
||||
EXIV2_DEPENDENCIES += $(TARGET_NLS_DEPENDENCIES)
|
||||
|
||||
ifeq ($(BR2_SYSTEM_ENABLE_NLS),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