ipe: update to 7.2.9.

This commit is contained in:
maxice8 2019-01-16 19:12:52 -02:00 committed by maxice8
parent 302f015cf8
commit c81da097a5
1 changed files with 7 additions and 13 deletions

View File

@ -1,30 +1,24 @@
# Template file for 'ipe'
pkgname=ipe
version=7.2.8
version=7.2.9
revision=1
_tools_commit=f016c85fd3a7ef11241685c8e0d81ab455c7e119
hostmakedepends="pkg-config qt5-qmake qt5-tools qt5-host-tools wget"
_tools_commit=133240f6cee4a0432be12620897226d5c2e81d1c
hostmakedepends="pkg-config qt5-qmake qt5-tools qt5-host-tools"
makedepends="qt5-devel lua52-devel libjpeg-turbo-devel cairo-devel poppler-devel"
short_desc="Drawing editor for creating figures in PDF or EPS formats"
maintainer="Leah Neukirchen <leah@vuxu.org>"
license="GPL-3, GPL-2"
license="GPL-3.0-or-later"
homepage="http://ipe.otfried.org/"
distfiles="http://dl.bintray.com/otfried/generic/ipe/${version%.*}/${pkgname}-${version}-src.tar.gz
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="fe0927db42c97133d8368f59114fa1e904692be5330c14244bbbb997fb1b33d7
75b2763f8aa0ed6ecdd80584f12be31483a289ff53d65f48ed3f0e7e1c71f57a"
XBPS_FETCH_CMD=wget # nothing else speaks with that terrible crappy host
CXXFLAGS="-fpermissive"
checksum="b687ac78cf0a7d8310e7ff952f9c84057065bb34c739e147036bed2e060610c4
bf806c38fd280ebec542977f271fa1f41072f6dcd64156c8ebe56bf03321da37"
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
find . -type f | xargs sed -e 's|gTrue|true|g' -e 's|gFalse|false|g' -e 's|GBool|bool|g' -i
}
do_build() {