qpdf: update to 10.1.0.

Closes: #27695 [via git-merge-pr]
This commit is contained in:
Benjamín Albiñana 2021-01-05 18:55:01 +01:00 committed by Érico Rolim
parent f5faf6e409
commit e66ae2823f

View file

@ -1,10 +1,10 @@
# Template file for 'qpdf'
pkgname=qpdf
version=10.0.4
version=10.1.0
revision=1
wrksrc="qpdf-release-qpdf-${version}"
build_style=gnu-configure
hostmakedepends="gettext tar"
hostmakedepends="perl gettext tar"
makedepends="pcre-devel libjpeg-turbo-devel"
short_desc="Content-Preserving PDF Transformation System"
maintainer="Benjamín Albiñana <benalb@gmail.com>"
@ -12,13 +12,20 @@ license="Apache-2.0"
homepage="https://github.com/qpdf/qpdf"
changelog="https://raw.githubusercontent.com/qpdf/qpdf/master/ChangeLog"
distfiles="${homepage}/archive/release-qpdf-${version}.tar.gz"
checksum=40924c0894eb3b6d228a2b0135c77772a34aeb4cac5f0a518cd6cd7aa198640a
checksum=e0516398ac1cdaa1ebce2b822ccdd8afbadea43b0b57304c147a17639a1402b0
if [ "$XBPS_TARGET_NO_ATOMIC8" ]; then
makedepends+=" libatomic-devel"
LDFLAGS+=" -latomic"
fi
do_check() {
# libtsdc++ throws an exception on musl if std::locale("") is used, since
# its generic locale implementation only supports the C locale.
# by forcing LANG=C, no exception is thrown and the test suite can run to completion
LANG=C make check
}
libqpdf_package() {
short_desc+=" - shared library"
pkg_install() {