# Description: Exif and Iptc metadata manipulation library and tools. # URL: https://www.exiv2.org/ # Maintainer: Alan Mizrahi, alan at mizrahi dot com dot ve # Depends on: cmake name=exiv2 version=0.27.3 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 \ -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 }