ipe: prepare for auto-create wrksrc

This commit is contained in:
Đoàn Trần Công Danh 2021-09-19 23:38:03 +07:00
parent b1a8b3e421
commit 801a80aee3
1 changed files with 3 additions and 1 deletions

View File

@ -3,6 +3,7 @@ pkgname=ipe
version=7.2.26
revision=7
_tools_commit=v7.2.24.1
create_wrksrc=yes
hostmakedepends="pkg-config doxygen qt5-qmake qt5-tools qt5-host-tools"
makedepends="cairo-devel gsl-devel libcurl-devel libjpeg-turbo-devel
libspiro-devel lua53-devel poppler-devel qt5-devel qtspell-devel"
@ -18,7 +19,8 @@ checksum="e49d0057913a4a516b2017f00d9adb267903528559d1f0c7ebaf6cd914350aa5
nocross="something with gsl"
post_extract() {
mv $XBPS_BUILDDIR/ipe-tools* ipe-tools
mv ipe-$version/* .
mv ipe-tools-* ipe-tools
vsed -i 's/xlocale.h/locale.h/g' src/ipelib/ipeplatform.cpp
vsed -i '/cstdio/i#include <sys/types.h>' src/include/ipebase.h