ipe: update to 7.2.23.

This commit is contained in:
Leah Neukirchen 2021-03-31 17:35:22 +02:00
parent 94e44465e0
commit c640a0c654

View file

@ -1,33 +1,34 @@
# Template file for 'ipe'
pkgname=ipe
version=7.2.22
version=7.2.23
revision=1
_tools_commit=v7.2.20.1
hostmakedepends="pkg-config qt5-qmake qt5-tools qt5-host-tools"
makedepends="cairo-devel gsl-devel libcurl-devel libjpeg-turbo-devel
lua53-devel poppler-devel qt5-devel"
lua53-devel poppler-devel qt5-devel libspiro-devel"
short_desc="Drawing editor for creating figures in PDF or EPS formats"
maintainer="Leah Neukirchen <leah@vuxu.org>"
license="GPL-3.0-or-later"
homepage="http://ipe.otfried.org/"
distfiles="https://dl.bintray.com/otfried/generic/ipe/${version%.*}/ipe-${version}-src.tar.gz
https://github.com/otfried/ipe-tools/archive/${_tools_commit}.tar.gz"
checksum="25a6e5194de9183296107ddeff8cbb34c49aad35255bc22c2f9b5ccaf1e15830
checksum="a19ba29822e63fc7c12c3b85ca5bb58f9ee72fdf566e148af79206b5dc1f757b
233f5629986ade3d70de6dd1af85d578d6aa0f92f9bcd1ecd4e8e5a94b508376"
nocross="something with gsl"
post_extract() {
mv $XBPS_BUILDDIR/ipe-tools* ipe-tools
sed -i 's/xlocale.h/locale.h/g' src/ipelib/ipeplatform.cpp
sed -i '/cstdio/i#include <sys/types.h>' src/include/ipebase.h
sed -i '/cstdio/i#include <limits.h>' src/include/ipebase.h
vsed -i 's/xlocale.h/locale.h/g' src/ipelib/ipeplatform.cpp
vsed -i '/cstdio/i#include <sys/types.h>' src/include/ipebase.h
vsed -i '/cstdio/i#include <limits.h>' src/include/ipebase.h
}
do_build() {
make ${makejobs} -C src IPEPREFIX=/usr LUA_PACKAGE=lua5.3 CXX="$CXX" CXXFLAGS="$CXXFLAGS" MOC=moc-qt5
make ${makejobs} -C ipe-tools/figtoipe CXX="$CXX" CXXFLAGS="$CXXFLAGS"
make ${makejobs} -C ipe-tools/pdftoipe CXX="$CXX" CXXFLAGS="$CXXFLAGS"
export CXX CXXFLAGS
make ${makejobs} -k -C src IPEPREFIX=/usr LUA_PACKAGE=lua5.3 -k
make ${makejobs} -k -C ipe-tools/figtoipe
make ${makejobs} -k -C ipe-tools/pdftoipe
}
do_install() {