Commit e5c27d02 authored by AlmAck's avatar AlmAck

ipe 7.2.7

parent bbf48a32
......@@ -2,35 +2,42 @@
#Arch Contributor: Dmitriy Morozov <archlinux@foxcub.org>
pkgname=ipe
_sfproject=ipe7
_dirver=7.1
pkgver=7.1.3
pkgrel=1
_dirver=7.2
pkgver=7.2.7
pkgrel=3
pkgdesc="The extensible drawing editor"
url="http://tclab.kaist.ac.kr/ipe/"
depends=('lua' 'qt' 'freetype2' 'zlib' 'poppler' 'python2' 'cairo')
url="http://ipe.otfried.org/"
depends=('lua' 'qt5-base' 'freetype2' 'zlib' 'poppler' 'python2')
arch=('x86_64')
screenshot='http://upload.wikimedia.org/wikipedia/commons/0/0d/Ipe6_screenshot.png'
license=("GPL")
conflicts=('ipe')
ipepresenter_version_=d0b0ea368ce9
source=(http://downloads.sourceforge.net/project/$_sfproject/$pkgname/$_dirver/$pkgname-$pkgver-src.tar.gz
source=(https://dl.bintray.com/otfried/generic/ipe/$_dirver/ipe-$pkgver-src.tar.gz
"git+https://github.com/otfried/ipe-tools.git"
http://hg.mrzv.org/IpePresenter/archive/$ipepresenter_version_.tar.gz
"config.patch"
ipe.bash-completion
ipe.desktop
ipe.png::http://a.fsdn.com/con/icons/ip/ipe7@sf.net/ipe.png)
md5sums=('e75d235c147f8d6e4a94b40ab5a19d68'
md5sums=('0898173099e7f623cf6fa130abdb1273'
'SKIP'
'3bc8dc576ee3acced2ff3c6ea6a01319'
'd4e289bce01302a8b76a0df294c7de40'
'694f0d5402655901be385647e5d8d6e3'
'1e072808cac2075ee3a775440f473622'
'fcd25453087db884ef2fa4081b4e0ff9')
prepare() {
cd "$srcdir/$pkgname-$pkgver/src"
patch config.mak < "$srcdir/config.patch"
sed -i -e 's/?= moc-qt4/?= moc/g' config.mak
sed -i '/#include <xlocale.h>/d' ipelib/ipeplatform.cpp
}
build() {
# Build Ipe
# Ipe
cd "$srcdir/$pkgname-$pkgver/src"
sed -i -e 's/?= moc-qt4/?= moc/g' $srcdir/$pkgname-$pkgver/src/config.mak
make IPEPREFIX=/usr
# pdftoipe
......@@ -49,11 +56,11 @@ build() {
cd "$srcdir/ipe-tools/svgtoipe"
sed -i -e "s|#![ ]*/usr/bin/env python$|#!/usr/bin/env python2|" svgtoipe.py
# Build IpePresenter
# IpePresenter
cd "$srcdir/IpePresenter-$ipepresenter_version_"
CPPFLAGS+=" -I ../$pkgname-$pkgver/src/include -I ../$pkgname-$pkgver/src/ipecanvas" \
LIBS=" -L ../$pkgname-$pkgver/build/lib" \
make
LIBS=" -L ../$pkgname-$pkgver/build/lib" \
make
}
......@@ -89,4 +96,4 @@ package() {
install -Dm644 "$srcdir/${pkgname}.png" \
"${pkgdir}/usr/share/pixmaps/${pkgname}.png"
}
\ No newline at end of file
}
--- config.mak 2015-02-23 05:02:13.000000000 -0800
+++ /home/users/morozov/config.mak 2015-06-19 10:31:32.271140419 -0700
@@ -34,7 +34,7 @@
#
# The name of the Lua package (it could be "lua", "lua52", or "lua5.2")
#
-LUA_PACKAGE ?= lua5.3
+LUA_PACKAGE ?= lua53
#
ZLIB_CFLAGS ?=
ZLIB_LIBS ?= -lz
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment