summaryrefslogtreecommitdiff
path: root/extra/gtkmathview/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'extra/gtkmathview/PKGBUILD')
-rw-r--r--extra/gtkmathview/PKGBUILD12
1 files changed, 9 insertions, 3 deletions
diff --git a/extra/gtkmathview/PKGBUILD b/extra/gtkmathview/PKGBUILD
index 4cad6bb07..4843b101a 100644
--- a/extra/gtkmathview/PKGBUILD
+++ b/extra/gtkmathview/PKGBUILD
@@ -6,22 +6,28 @@ pkgname=gtkmathview
pkgver=0.8.0
pkgrel=3
pkgdesc="C++ rendering engine for MathML documents"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://helm.cs.unibo.it/mml-widget/"
license=('GPL')
depends=('popt' 'gtk2' 't1lib' 'gmetadom')
options=('!libtool')
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')
+ 'gtkmathview-0.8.0-cond-t1.patch'
+ '0005-gcc-4.7-build-fixes.patch'
+ 'missingLib.diff')
md5sums=('b53564e553728d4b69f7d366dfeb5299'
'9fd261db865336c89ebf0f3545af9bc4'
- 'a79a27e00908e75712bc9453b669fe61')
+ 'a79a27e00908e75712bc9453b669fe61'
+ '9505d53cd858759ad8fb297c84395323'
+ '6b00674713f981a4ffe87f6e812da823')
build() {
cd ${srcdir}/${pkgname}-${pkgver}
patch -Np1 -i ${srcdir}/gtkmathview-0.8.0-gcc44.patch
patch -Np1 -i ${srcdir}/gtkmathview-0.8.0-cond-t1.patch
+ patch -Np1 -i ${srcdir}/0005-gcc-4.7-build-fixes.patch
+ patch -Np1 -i ${srcdir}/missingLib.diff
./configure --prefix=/usr \
--sysconfdir=/etc
make