summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVolker Diels-Grabsch <v@njh.eu>2021-03-24 20:40:14 (GMT)
committerTony Theodore <tonyt@logyst.com>2021-04-21 11:15:52 (GMT)
commit82b98b8b6a39b7f053af6a8108f934898086e40c (patch)
tree6e2ac60b41bb37601450d2e13e20b8bc7226bd77
parente396fc7b1f56dda0e074f7b2e709ca7f2f8e91b6 (diff)
downloadmxe-82b98b8b6a39b7f053af6a8108f934898086e40c.zip
mxe-82b98b8b6a39b7f053af6a8108f934898086e40c.tar.gz
mxe-82b98b8b6a39b7f053af6a8108f934898086e40c.tar.bz2
update: exiv2
-rw-r--r--src/exiv2.mk29
1 files changed, 9 insertions, 20 deletions
diff --git a/src/exiv2.mk b/src/exiv2.mk
index ac6084f..80c4b7d 100644
--- a/src/exiv2.mk
+++ b/src/exiv2.mk
@@ -4,11 +4,11 @@ PKG := exiv2
$(PKG)_WEBSITE := https://www.exiv2.org/
$(PKG)_DESCR := Exiv2
$(PKG)_IGNORE :=
-$(PKG)_VERSION := 0.25
-$(PKG)_CHECKSUM := c80bfc778a15fdb06f71265db2c3d49d8493c382e516cb99b8c9f9cbde36efa4
-$(PKG)_SUBDIR := exiv2-$($(PKG)_VERSION)
-$(PKG)_FILE := exiv2-$($(PKG)_VERSION).tar.gz
-$(PKG)_URL := https://www.exiv2.org/releases/$($(PKG)_FILE)
+$(PKG)_VERSION := 0.27.3
+$(PKG)_CHECKSUM := a79f5613812aa21755d578a297874fb59a85101e793edc64ec2c6bd994e3e778
+$(PKG)_SUBDIR := exiv2-$($(PKG)_VERSION)-Source
+$(PKG)_FILE := exiv2-$($(PKG)_VERSION)-Source.tar.gz
+$(PKG)_URL := https://www.exiv2.org/builds/$($(PKG)_FILE)
$(PKG)_DEPS := cc expat gettext mman-win32 zlib
define $(PKG)_UPDATE
@@ -19,19 +19,8 @@ define $(PKG)_UPDATE
endef
define $(PKG)_BUILD
- # libtool looks for a pei* format when linking shared libs
- # apparently there's no real difference b/w pei and pe
- # so we set the libtool cache variables
- # https://sourceware.org/cgi-bin/cvsweb.cgi/src/bfd/libpei.h?annotate=1.25&cvsroot=src
- cd '$(1)' && ./configure \
- $(MXE_CONFIGURE_OPTS) \
- --disable-visibility \
- --disable-nls \
- --with-expat \
- LIBS='-lmman' \
- $(if $(BUILD_SHARED),\
- lt_cv_deplibs_check_method='file_magic file format (pe-i386|pe-x86-64)' \
- lt_cv_file_magic_cmd='$$OBJDUMP -f')
- $(MAKE) -C '$(1)/xmpsdk/src' -j '$(JOBS)'
- $(MAKE) -C '$(1)/src' -j '$(JOBS)' install-lib
+ $(TARGET)-cmake -S '$(SOURCE_DIR)' -B '$(BUILD_DIR)' \
+ -DEXIV2_BUILD_SAMPLES=OFF
+ $(MAKE) -C '$(BUILD_DIR)' -j '$(JOBS)'
+ $(MAKE) -C '$(BUILD_DIR)' -j 1 install
endef