# Description: Exif and Iptc metadata manipulation library and tools. # URL: https://exiv2.org/ # Maintainer: Tim Biermann, tbier at posteo dot de # Depends on: brotli inih name=exiv2 version=0.28.2 release=1 source=(https://github.com/Exiv2/exiv2/archive/v$version/$name-$version.tar.gz) build() { export CXXFLAGS+=" -Wno-deprecated-declarations" cmake -S $name-$version -B build -G Ninja $PKGMK_EXIV2 \ -D CMAKE_BUILD_TYPE=Release \ -D CMAKE_CXX_FLAGS_RELEASE="$CXXFLAGS" \ -D CMAKE_INSTALL_PREFIX=/usr \ -D CMAKE_INSTALL_LIBDIR=lib cmake --build build DESTDIR=$PKG cmake --install build }