summaryrefslogtreecommitdiff
path: root/extra/gtkmathview/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'extra/gtkmathview/PKGBUILD')
-rw-r--r--extra/gtkmathview/PKGBUILD45
1 files changed, 30 insertions, 15 deletions
diff --git a/extra/gtkmathview/PKGBUILD b/extra/gtkmathview/PKGBUILD
index b09710324..d5e123ef6 100644
--- a/extra/gtkmathview/PKGBUILD
+++ b/extra/gtkmathview/PKGBUILD
@@ -1,33 +1,48 @@
-# $Id: PKGBUILD 198078 2013-10-30 12:40:13Z allan $
+# $Id: PKGBUILD 205608 2014-02-09 10:29:40Z andyrtr $
# Maintainer: Giovanni Scafora <giovanni@archlinux.org>
# Contributor: Jan de Groot <jgc@archlinux.org>
pkgname=gtkmathview
pkgver=0.8.0
-pkgrel=3
+pkgrel=4
pkgdesc="C++ rendering engine for MathML documents"
arch=('i686' 'x86_64')
url="http://helm.cs.unibo.it/mml-widget/"
-license=('GPL')
-depends=('popt' 'gtk2' 't1lib' 'gmetadom')
-source=("http://helm.cs.unibo.it/mml-widget/sources/${pkgname}-${pkgver}.tar.gz"
- 'gtkmathview-0.8.0-gcc44.patch'
- 'gtkmathview-0.8.0-cond-t1.patch')
+license=('LGPL3')
+depends=('popt' 'gtk2' 't1lib' 'gmetadom' 'pangox-compat')
+source=(http://helm.cs.unibo.it/mml-widget/sources/${pkgname}-${pkgver}.tar.gz
+ gtkmathview-0.8.0-gcc43.patch
+ gtkmathview-0.8.0-cond-t1.patch
+ gtkmathview-0.8.0-gcc47.patch
+ gtkmathview-0.8.0-includes.patch)
md5sums=('b53564e553728d4b69f7d366dfeb5299'
- '9fd261db865336c89ebf0f3545af9bc4'
- 'a79a27e00908e75712bc9453b669fe61')
+ '92eb2870c1922cbebd5566900cde220b'
+ 'a79a27e00908e75712bc9453b669fe61'
+ '8c8620aee002b30975e1e175ef9af7a7'
+ '4fc8daefbf27d49067b0c66bba54f428')
-build() {
- cd ${srcdir}/${pkgname}-${pkgver}
- patch -Np1 -i ${srcdir}/gtkmathview-0.8.0-gcc44.patch
+prepare() {
+ cd ${pkgname}-${pkgver}
+ patch -Np1 -i ${srcdir}/gtkmathview-0.8.0-gcc43.patch
+ patch -Np1 -i ${srcdir}/gtkmathview-0.8.0-gcc47.patch
+ patch -Np1 -i ${srcdir}/gtkmathview-0.8.0-includes.patch
patch -Np1 -i ${srcdir}/gtkmathview-0.8.0-cond-t1.patch
+
+ # AM_BINRELOC missing, just ignore
+ echo 'AC_DEFUN([AM_BINRELOC], [])' > acinclude.m4
+ autoreconf -if
+}
+
+build() {
+ cd ${pkgname}-${pkgver}
./configure --prefix=/usr \
- --sysconfdir=/etc
- make
+ --sysconfdir=/etc \
+ --disable-static
+ make LIBTOOL=/usr/bin/libtool
}
package() {
- cd ${srcdir}/${pkgname}-${pkgver}
+ cd ${pkgname}-${pkgver}
make DESTDIR=${pkgdir}/ install
}