2019-07-19 14:55:30 +02:00
|
|
|
# Description: Exif and Iptc metadata manipulation library and tools.
|
2020-06-21 20:21:42 +10:00
|
|
|
# URL: https://www.exiv2.org/
|
2019-07-19 14:55:30 +02:00
|
|
|
# Maintainer: Alan Mizrahi, alan at mizrahi dot com dot ve
|
2019-08-30 16:21:05 +02:00
|
|
|
# Depends on: cmake
|
2019-07-19 14:55:30 +02:00
|
|
|
|
|
|
|
name=exiv2
|
2020-07-04 15:30:23 +02:00
|
|
|
version=0.27.3
|
2019-07-19 14:55:30 +02:00
|
|
|
release=1
|
2019-08-30 16:21:05 +02:00
|
|
|
source=(https://github.com/Exiv2/exiv2/archive/v$version/$name-$version.tar.gz)
|
2019-07-19 14:55:30 +02:00
|
|
|
|
|
|
|
build() {
|
2020-07-05 17:15:38 +02:00
|
|
|
|
|
|
|
export CXXFLAGS+=" -Wno-deprecated-declarations"
|
|
|
|
|
2020-07-04 15:30:23 +02:00
|
|
|
cmake -S$name-$version -Bbuild \
|
2019-07-19 14:55:30 +02:00
|
|
|
-DCMAKE_BUILD_TYPE=Release \
|
|
|
|
-DCMAKE_INSTALL_PREFIX=/usr \
|
|
|
|
-DCMAKE_INSTALL_LIBDIR=lib \
|
|
|
|
-DEXIV2_ENABLE_BUILD_PO=OFF \
|
|
|
|
-DEXIV2_ENABLE_BUILD_SAMPLES=OFF \
|
|
|
|
|
2020-07-04 15:30:23 +02:00
|
|
|
cmake --build build
|
|
|
|
DESTDIR=$PKG cmake --install build
|
2019-07-19 14:55:30 +02:00
|
|
|
}
|