blob: 7692ff535b2b48291fc887397f75b04d86031dcb (
plain) (
tree)
|
|
# Maintainer: A. Wilcox <awilfox@adelielinux.org>
pkgname=exiv2
pkgver=0.27.5_git20220205
pkgrel=0
_commit=46c329081f147d68ba38e7256481d8e432cac64c
pkgdesc="Exif, IPTC and XMP metadata library and tools"
url="https://www.exiv2.org/"
arch="all"
license="GPL-2.0+"
depends=""
depends_dev="expat-dev zlib-dev"
checkdepends="python3 libxml2 cmd:which"
makedepends="$depends_dev bash cmake gtest gtest-dev"
subpackages="$pkgname-dev $pkgname-doc"
#source="https://github.com/Exiv2/exiv2/releases/download/v$pkgver/exiv2-$pkgver-Source.tar.gz
source="exiv2-${pkgver}_${_commit}.tar.gz::https://github.com/Exiv2/exiv2/archive/$_commit.tar.gz
disable-icc-test.patch
"
#builddir="$srcdir/$pkgname-$pkgver-Source"
builddir="$srcdir/$pkgname-$_commit"
# secfixes:
# 0.26-r2:
# - CVE-2018-19535
# 0.27.1-r0:
# - CVE-2017-9239
# - CVE-2017-9953
# - CVE-2017-11336
# - CVE-2017-11337
# - CVE-2017-11338
# - CVE-2017-11339
# - CVE-2017-11340
# - CVE-2017-11553
# - CVE-2017-11591
# - CVE-2017-11592
# - CVE-2017-11683
# - CVE-2017-12955
# - CVE-2017-12956
# - CVE-2017-12957
# - CVE-2017-14857
# - CVE-2017-14858
# - CVE-2017-14859
# - CVE-2017-14860
# - CVE-2017-14861
# - CVE-2017-14862
# - CVE-2017-14863
# - CVE-2017-14864
# - CVE-2017-14865
# - CVE-2017-14866
# - CVE-2017-17669
# - CVE-2017-17722
# - CVE-2017-17723
# - CVE-2017-17724
# - CVE-2017-17725
# - CVE-2017-18005
# - CVE-2017-1000126
# - CVE-2017-1000127
# - CVE-2017-1000128
# - CVE-2018-4868
# - CVE-2018-5772
# - CVE-2018-8976
# - CVE-2018-8977
# - CVE-2018-9145
# - CVE-2018-10772
# - CVE-2018-10780
# - CVE-2018-10958
# - CVE-2018-10998
# - CVE-2018-10999
# - CVE-2018-11037
# - CVE-2018-11531
# - CVE-2018-12264
# - CVE-2018-12265
# - CVE-2018-14046
# - CVE-2018-14338
# - CVE-2018-16336
# - CVE-2018-17229
# - CVE-2018-17230
# - CVE-2018-17282
# - CVE-2018-17581
# - CVE-2018-19107
# - CVE-2018-19108
# 0.27.2-r0:
# - CVE-2019-13108
# - CVE-2019-13109
# - CVE-2019-13110
# - CVE-2019-13111
# - CVE-2019-13112
# - CVE-2019-13113
# - CVE-2019-13114
# 0.27.2-r1:
# - CVE-2019-17402
# 0.27.2-r2:
# - CVE-2019-20421
build() {
cmake -DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_INSTALL_LIBDIR=/usr/lib \
-DCMAKE_BUILD_TYPE=RelWithDebInfo -Bbuild \
-DEXIV2_BUILD_UNIT_TESTS=On
make -C build
}
check() {
cmake --build build --target test
}
package() {
make DESTDIR="$pkgdir" -C build install
}
sha512sums="6674699ba229adb393beb76c1dd42ca2631c62085104fce3ef2d3db0e973837376212f33992774e486f7f0ee7b49cb206bd08092cf93c3e99b9571365bf8bc1f exiv2-0.27.5_git20220205_46c329081f147d68ba38e7256481d8e432cac64c.tar.gz
2fffbcd214db0e917479b970937769b66eb52cd41c34b3c676a17fa7ca7e327b61014c160d56257981459040ce7ab4cf2516db09b4095473e002a75101de6631 disable-icc-test.patch"
|