ipe: update to 7.1.8.

This commit is contained in:
Andrea Brancaleoni 2015-07-27 12:22:09 +02:00
parent 8016f13488
commit fa60f16814

View file

@ -1,21 +1,21 @@
# Template file for 'ipe'
pkgname=ipe
version=7.1.7
revision=7
hostmakedepends="pkg-config git"
version=7.1.8
revision=1
_tools_commit=3c1bfb642f53c114262ed732a5f16f0a8ad1649b
hostmakedepends="pkg-config"
makedepends="qt-devel lua-devel libjpeg-turbo-devel cairo-devel poppler-devel"
short_desc="Drawing editor for creating figures in PDF or EPS formats"
maintainer="Christian Neukirchen <chneukirchen@gmail.com>"
license="GPL-3, GPL-2"
homepage="http://ipe7.sourceforge.net/"
distfiles="https://github.com/otfried/${pkgname}/raw/master/releases/${version%.*}/${pkgname}-${version}-src.tar.gz"
checksum=ec670cd7f0fa521271fc54bf9b663570d82280bdbe405be6de59535fec7c00d2
distfiles="https://github.com/otfried/${pkgname}/raw/master/releases/${version%.*}/${pkgname}-${version}-src.tar.gz
https://github.com/otfried/ipe-tools/archive/$_tools_commit.tar.gz"
checksum="6a7b8dfb0a012ef9e96b62c317974d910ab6904bef29ae7636d5ac1cb26fa6ff
7849c0834cff60846cebf4c44fa310e1001ccd6adecd69ada7f0f7d48cd0d114"
post_extract() {
# ipe-tools
local url="git://github.com/otfried/ipe-tools.git"
msg_normal "Fetching source from ${url}...\n"
git clone ${url} ipe-tools
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