[MacPorts] #68991: exiv2: Update to 0.28.1
MacPorts
noreply at macports.org
Tue Feb 11 21:27:00 UTC 2025
#68991: exiv2: Update to 0.28.1
----------------------+------------------------
Reporter: alchymy | Owner: ryandesign
Type: update | Status: accepted
Priority: Normal | Milestone:
Component: ports | Version:
Resolution: | Keywords:
Port: exiv2 |
----------------------+------------------------
Comment (by MStraeten):
for thos who doesn't need the compatibility to 0.26.x;
0.28.4 builds fine on arm64:
{{{
cp -R "$(port dir exiv2)" ~/ports/graphics
}}}
then patch your ~/ports/graphics/exiv2/Portfile with following diff:
{{{
# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c
-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
PortSystem 1.0
PortGroup cmake 1.1
PortGroup github 1.0
PortGroup legacysupport 1.0
PortGroup compiler_blacklist_versions 1.0
github.setup Exiv2 exiv2 0.28.4 v
revision 0
checksums rmd160 f7e0e7df228098dc49ea9670a14a11588f1d95cf \
sha256
65cb3a813f34fb6db7a72bba3fc295dd6c419082d2d8bbf96518be6d1024b784 \
size 46932087
categories graphics
license GPL-2+
maintainers {ryandesign @ryandesign} openmaintainer
description EXIF and IPTC metadata manipulation library and tools
long_description Exiv2 comprises of a C++ library and a command line
utility \
which allows you to manipulate EXIF and IPTC image
metadata.
homepage https://www.exiv2.org
github.tarball_from archive
set python_version 3.11
depends_build-append \
port:gmake \
port:python[string map {. {}} ${python_version}]
depends_lib-append port:expat \
port:gettext \
port:libiconv \
port:zlib \
port:inih
compiler.cxx_standard 2011
# error: use of undeclared identifier '__builtin_sadd_overflow'
compiler.blacklist-append \
{ clang < 426 } \
macports-clang-3.3
# patchfiles-append patch-remove-no-format-overflow.diff
configure.args-append \
-DIconv_INCLUDE_DIR=${prefix}/include \
-DIconv_LIBRARY=${prefix}/lib/libiconv.dylib \
-DPython3_EXECUTABLE=${prefix}/bin/python${python_version} \
-DZLIB_ROOT=${prefix}
github.livecheck.regex {(\d+(?:\.\d+)+)}
}}}
--
Ticket URL: <https://trac.macports.org/ticket/68991#comment:13>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list