blob: 8624dd94bb37c8250bea685894c3f4eef9c78368 (
plain)
1 # Description: Exif and Iptc metadata manipulation library and tools.
2 # URL: https://www.exiv2.org/
3 # Maintainer: Alan Mizrahi, alan at mizrahi dot com dot ve
4 # Depends on: cmake
5
6 name=exiv2
7 version=0.27.3
8 release=1
9 source=(https://github.com/Exiv2/exiv2/archive/v$version/$name-$version.tar.gz)
10
11 build() {
12
13 export CXXFLAGS+=" -Wno-deprecated-declarations"
14
15 cmake -S $name-$version -B build \
16 -D CMAKE_BUILD_TYPE=Release \
17 -D CMAKE_CXX_FLAGS_RELEASE="$CXXFLAGS" \
18 -D CMAKE_INSTALL_PREFIX=/usr \
19 -D CMAKE_INSTALL_LIBDIR=lib
20
21 cmake --build build
22 DESTDIR=$PKG cmake --install build
23 }
|