libcdr: update to 0.1.5.

This commit is contained in:
Rasmus Thomsen 2019-01-02 18:55:07 +01:00 committed by maxice8
parent c1c70bea84
commit 05c80220c4

View file

@ -1,27 +1,17 @@
# Template file for 'libcdr'
pkgname=libcdr
version=0.1.4
revision=4
version=0.1.5
revision=1
build_style=gnu-configure
configure_args="--disable-debug"
hostmakedepends="pkg-config"
makedepends="lcms2-devel icu-devel librevenge-devel boost-devel"
short_desc="Corel Draw file format importer library"
maintainer="Enno Boland <gottox@voidlinux.eu>"
license="LGPL-2.1/MPL"
makedepends="lcms2-devel icu-devel librevenge-devel boost-devel"
hostmakedepends="pkg-config"
license="MPL-2.0"
homepage="https://wiki.documentfoundation.org/DLP/Libraries/libcdr"
distfiles="http://dev-www.libreoffice.org/src/libcdr/${pkgname}-${version}.tar.bz2"
checksum=f3a3ebebebb32b9686dfe7f9df296ac5ae02ea610f3d7d5221b957bb14fc0ad3
configure_args="--enable-debug"
post_configure() {
local _f
# -O0 prevents _FORTIFY_SOURCE working
for _f in $(find ${wrksrc} -name Makefile); do
sed -i $_f -e "s; -O0;;"
done
# Fix for gcc7 -Werror=implicit-fallthrough=
sed -i src/lib/CMXParser.cpp -e's;Fallthrough ;Fallthrough- ;'
}
checksum=5382d25ece9047a9f0ee5f56dc5465b0afddbae5caba68ca7d98632e62b88735
libcdr-devel_package() {
depends="libcdr>=${version}_${revision} $makedepends"