diff options
author | Tim Biermann <tbier@posteo.de> | 2021-01-29 00:06:55 +0000 |
---|---|---|
committer | Tim Biermann <tbier@posteo.de> | 2021-01-29 00:06:55 +0000 |
commit | 60d1e906ede3b57f29770604f1fd4699e2a2d4d9 (patch) | |
tree | 7ded75c563e8b9e975f8ad46903632c247bb85f6 /exiv2 | |
parent | 51d90923e264e29f0c3376bd590f7b31048e7c1c (diff) | |
download | opt-60d1e906ede3b57f29770604f1fd4699e2a2d4d9.tar.gz opt-60d1e906ede3b57f29770604f1fd4699e2a2d4d9.tar.xz |
exiv2: adopted port
Diffstat (limited to 'exiv2')
-rw-r--r-- | exiv2/.signature | 4 | ||||
-rw-r--r-- | exiv2/Pkgfile | 25 |
2 files changed, 15 insertions, 14 deletions
diff --git a/exiv2/.signature b/exiv2/.signature index c3cbe8540..c4a3f7e86 100644 --- a/exiv2/.signature +++ b/exiv2/.signature @@ -1,5 +1,5 @@ untrusted comment: verify with /etc/ports/opt.pub -RWSE3ohX2g5d/fGkzaIpVAB4djRP1zrB2UgIKh5MpWGvUYArFNdqOmRW6dWg3oGr0vDMJ9TFdD6NzXUhmWdg0Dv1z1sBPaLIVQc= -SHA256 (Pkgfile) = 36a73572bce270eaac4e58ae3b2544fc0e747bbc80ca503b5700191e3e361408 +RWSE3ohX2g5d/dEJ5r5fDuSl8tNLkASIZGSW5TmTL31Njc0+7M6wtBoF3OIA6P7I0je3Z4uYpqueOL2C2BoTAvYrWQgNI65NxwE= +SHA256 (Pkgfile) = 434ceadf8c47b1f09b4b837bb8a4818e01fe5f9e72615a5300b4d6cd73fb4985 SHA256 (.footprint) = f0be1a2ef91ca7a369adb22e8904c3174a5accad6a1c3286810b4b4b110ecf40 SHA256 (exiv2-0.27.3.tar.gz) = 6398bc743c32b85b2cb2a604273b8c90aa4eb0fd7c1700bf66cbb2712b4f00c1 diff --git a/exiv2/Pkgfile b/exiv2/Pkgfile index 8624dd94b..79b6b6f63 100644 --- a/exiv2/Pkgfile +++ b/exiv2/Pkgfile @@ -1,7 +1,7 @@ -# 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 +# Description: Exif and Iptc metadata manipulation library and tools. +# URL: https://www.exiv2.org/ +# Maintainer: Tim Biermann, tbier at posteo dot de +# Depends on: cmake name=exiv2 version=0.27.3 @@ -9,15 +9,16 @@ release=1 source=(https://github.com/Exiv2/exiv2/archive/v$version/$name-$version.tar.gz) build() { + [[ -e /usr/bin/ninja ]] && PKGMK_EXIV2+=' -G Ninja' - export CXXFLAGS+=" -Wno-deprecated-declarations" + 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 -S $name-$version -B build $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 + cmake --build build + DESTDIR=$PKG cmake --install build } |