1 ################################################################################
5 ################################################################################
8 EXIV2_SITE
= http
://www.exiv2.org
9 EXIV2_INSTALL_STAGING
= YES
11 EXIV2_CONF_OPTS
+= -DEXIV2_ENABLE_BUILD_SAMPLES
=OFF
13 ifeq ($(BR2_PACKAGE_EXIV2_LENSDATA
),)
14 EXIV2_CONF_OPTS
+= -DEXIV2_ENABLE_LENSDATA
=OFF
17 ifeq ($(BR2_PACKAGE_EXIV2_COMMERCIAL
),y
)
18 EXIV2_LICENSE
= commercial
19 # NLS support is disabled in commercial version due to the copyright
20 # of the translated texts.
21 EXIV2_CONF_OPTS
+= -DEXIV2_ENABLE_COMMERCIAL
=ON
-DEXIV2_ENABLE_NLS
=OFF
23 EXIV2_LICENSE
= GPLv2
+
24 EXIV2_LICENSE_FILES
= COPYING
27 ifeq ($(BR2_PACKAGE_EXIV2_PNG
),y
)
28 EXIV2_CONF_OPTS
+= -DEXIV2_ENABLE_PNG
=ON
29 EXIV2_DEPENDENCIES
+= zlib
31 EXIV2_CONF_OPTS
+= -DEXIV2_ENABLE_PNG
=OFF
34 ifeq ($(BR2_PACKAGE_EXIV2_XMP
),y
)
35 EXIV2_CONF_OPTS
+= -DEXIV2_ENABLE_XMP
=ON
-DEXIV2_ENABLE_LIBXMP
=ON
36 EXIV2_DEPENDENCIES
+= expat
38 EXIV2_CONF_OPTS
+= -DEXIV2_ENABLE_XMP
=OFF
-DEXIV2_ENABLE_LIBXMP
=OFF
41 ifeq ($(BR2_ENABLE_LOCALE
),y
)
42 EXIV2_CONF_OPTS
+= -DEXIV2_ENABLE_NLS
=ON
44 EXIV2_CONF_OPTS
+= -DEXIV2_ENABLE_NLS
=OFF
47 $(eval
$(cmake-package
))