summaryrefslogtreecommitdiff
path: root/extra/evince/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'extra/evince/PKGBUILD')
-rw-r--r--extra/evince/PKGBUILD5
1 files changed, 4 insertions, 1 deletions
diff --git a/extra/evince/PKGBUILD b/extra/evince/PKGBUILD
index ae1141789..eb5846789 100644
--- a/extra/evince/PKGBUILD
+++ b/extra/evince/PKGBUILD
@@ -6,7 +6,7 @@ pkgver=3.0.2
pkgrel=1
pkgdesc="Simply a document viewer"
url="http://projects.gnome.org/evince/"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL')
depends=('gtk3' 'libspectre' 'gsfonts' 'poppler-glib' 'djvulibre' 'gnome-icon-theme'
't1lib' 'libgnome-keyring' 'desktop-file-utils' 'dconf' 'gsettings-desktop-schemas')
@@ -23,6 +23,9 @@ sha256sums=('03abb74620caaa255f2d1369b684bbf8f62e15a4bf2d9f2a45f58e1789295a97'
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
+# Build with -march=mips3
+ [ "$CARCH" = "mips64el" ] && CFLAGS="${CFLAGS/loongson2f/mips3}"
+
patch -Np1 -i "${srcdir}/introspection-fix.patch"
autoreconf -fi