2014-11-07 11:48:14 +01:00
|
|
|
################################################################################
|
|
|
|
#
|
|
|
|
# exiv2
|
|
|
|
#
|
|
|
|
################################################################################
|
|
|
|
|
2021-06-16 07:48:29 +02:00
|
|
|
EXIV2_VERSION = 0.27.4
|
|
|
|
EXIV2_SOURCE = exiv2-$(EXIV2_VERSION)-Source.tar.gz
|
|
|
|
EXIV2_SITE = https://exiv2.org/builds
|
2014-11-07 11:48:14 +01:00
|
|
|
EXIV2_INSTALL_STAGING = YES
|
2020-07-13 12:25:13 +02:00
|
|
|
EXIV2_LICENSE = GPL-2.0+
|
|
|
|
EXIV2_LICENSE_FILES = COPYING
|
2021-01-17 18:59:54 +01:00
|
|
|
EXIV2_CPE_ID_VENDOR = exiv2
|
2020-02-29 22:32:04 +01:00
|
|
|
|
2021-07-01 19:47:19 +02:00
|
|
|
EXIV2_CONF_OPTS += \
|
|
|
|
-DBUILD_WITH_STACK_PROTECTOR=OFF \
|
|
|
|
-DEXIV2_BUILD_SAMPLES=OFF
|
2014-11-07 11:48:14 +01:00
|
|
|
|
2019-06-05 15:51:06 +02:00
|
|
|
ifeq ($(BR2_PACKAGE_EXIV2_LENSDATA),y)
|
|
|
|
EXIV2_CONF_OPTS += -DEXIV2_ENABLE_LENSDATA=ON
|
2014-11-07 11:48:14 +01:00
|
|
|
else
|
2019-06-05 15:51:06 +02:00
|
|
|
EXIV2_CONF_OPTS += -DEXIV2_ENABLE_LENSDATA=OFF
|
2014-11-07 11:48:14 +01:00
|
|
|
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)
|
2020-07-13 23:40:23 +02:00
|
|
|
EXIV2_CONF_OPTS += -DEXIV2_ENABLE_XMP=ON
|
2014-11-07 11:48:14 +01:00
|
|
|
EXIV2_DEPENDENCIES += expat
|
|
|
|
else
|
2020-07-13 23:40:23 +02:00
|
|
|
EXIV2_CONF_OPTS += -DEXIV2_ENABLE_XMP=OFF
|
2014-11-07 11:48:14 +01:00
|
|
|
endif
|
|
|
|
|
2017-07-04 12:26:53 +02:00
|
|
|
EXIV2_DEPENDENCIES += $(TARGET_NLS_DEPENDENCIES)
|
|
|
|
|
|
|
|
ifeq ($(BR2_SYSTEM_ENABLE_NLS),y)
|
2014-11-07 11:48:14 +01:00
|
|
|
EXIV2_CONF_OPTS += -DEXIV2_ENABLE_NLS=ON
|
|
|
|
else
|
|
|
|
EXIV2_CONF_OPTS += -DEXIV2_ENABLE_NLS=OFF
|
|
|
|
endif
|
|
|
|
|
|
|
|
$(eval $(cmake-package))
|