2021-01-29 00:06:55 +00:00
|
|
|
# Description: Exif and Iptc metadata manipulation library and tools.
|
2023-05-28 10:25:16 +02:00
|
|
|
# URL: https://exiv2.org/
|
2021-01-29 00:06:55 +00:00
|
|
|
# Maintainer: Tim Biermann, tbier at posteo dot de
|
2023-05-13 10:41:10 +02:00
|
|
|
# Depends on: brotli inih
|
2019-07-19 14:55:30 +02:00
|
|
|
|
|
|
|
name=exiv2
|
2023-11-07 06:34:08 +01:00
|
|
|
version=0.28.1
|
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() {
|
2021-01-29 00:06:55 +00:00
|
|
|
export CXXFLAGS+=" -Wno-deprecated-declarations"
|
2020-07-05 17:15:38 +02:00
|
|
|
|
2023-01-21 09:36:13 +00:00
|
|
|
cmake -S $name-$version -B build -G Ninja $PKGMK_EXIV2 \
|
2021-01-29 00:06:55 +00:00
|
|
|
-D CMAKE_BUILD_TYPE=Release \
|
|
|
|
-D CMAKE_CXX_FLAGS_RELEASE="$CXXFLAGS" \
|
|
|
|
-D CMAKE_INSTALL_PREFIX=/usr \
|
|
|
|
-D CMAKE_INSTALL_LIBDIR=lib
|
2019-07-19 14:55:30 +02:00
|
|
|
|
2021-01-29 00:06:55 +00:00
|
|
|
cmake --build build
|
|
|
|
DESTDIR=$PKG cmake --install build
|
2019-07-19 14:55:30 +02:00
|
|
|
}
|