python3-reportlab: use system libart
This commit is contained in:
parent
1da4d63e14
commit
65d03502f0
1 changed files with 6 additions and 1 deletions
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'python3-reportlab'
|
# Template file for 'python3-reportlab'
|
||||||
pkgname=python3-reportlab
|
pkgname=python3-reportlab
|
||||||
version=3.6.11
|
version=3.6.11
|
||||||
revision=1
|
revision=2
|
||||||
wrksrc="reportlab-${version}"
|
wrksrc="reportlab-${version}"
|
||||||
build_style=python3-module
|
build_style=python3-module
|
||||||
make_build_args="--use-system-libart"
|
make_build_args="--use-system-libart"
|
||||||
|
@ -16,6 +16,11 @@ distfiles="${PYPI_SITE}/r/reportlab/reportlab-${version}.tar.gz"
|
||||||
checksum=04fc4420f0548815d0623e031c86a1f7f3f3003e699d9af7148742e2d72b024a
|
checksum=04fc4420f0548815d0623e031c86a1f7f3f3003e699d9af7148742e2d72b024a
|
||||||
|
|
||||||
do_configure() {
|
do_configure() {
|
||||||
|
if [ "$CROSS_BUILD" ]; then
|
||||||
|
sed -i -e "
|
||||||
|
s,'/usr/include/libart,'$XBPS_CROSS_BASE/usr/include/libart,
|
||||||
|
" setup.py
|
||||||
|
fi
|
||||||
cat <<-EOF >local-setup.cfg
|
cat <<-EOF >local-setup.cfg
|
||||||
[FREETYPE_PATHS]
|
[FREETYPE_PATHS]
|
||||||
lib = ${XBPS_CROSS_BASE}/usr/lib
|
lib = ${XBPS_CROSS_BASE}/usr/lib
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue