summaryrefslogtreecommitdiff
path: root/extra/xulrunner/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'extra/xulrunner/PKGBUILD')
-rw-r--r--extra/xulrunner/PKGBUILD8
1 files changed, 7 insertions, 1 deletions
diff --git a/extra/xulrunner/PKGBUILD b/extra/xulrunner/PKGBUILD
index d0448db77..a387ab785 100644
--- a/extra/xulrunner/PKGBUILD
+++ b/extra/xulrunner/PKGBUILD
@@ -5,13 +5,14 @@ pkgname=xulrunner
pkgver=9.0.1
pkgrel=1
pkgdesc="Mozilla Runtime Environment"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('MPL' 'GPL' 'LGPL')
depends=('gtk2' 'mozilla-common' 'nss>=3.13.1' 'libxt' 'libxrender' 'hunspell' 'startup-notification' 'mime-types' 'dbus-glib' 'alsa-lib' 'libevent' 'sqlite3>=3.7.4' 'libnotify' 'libvpx' 'python2')
makedepends=('zip' 'unzip' 'pkg-config' 'diffutils' 'wireless_tools' 'yasm' 'mesa')
url="http://wiki.mozilla.org/XUL:Xul_Runner"
source=(ftp://ftp.mozilla.org/pub/mozilla.org/firefox/releases//$pkgver/source/firefox-$pkgver.source.tar.bz2
mozconfig
+ mips.patch
mozilla-pkgconfig.patch)
options=('!emptydirs')
replaces=('xulrunner-oss')
@@ -23,6 +24,11 @@ build() {
cd "$srcdir/mozilla-release"
cp "$srcdir/mozconfig" .mozconfig
+ [[ "$CARCH" == "mips64el" ]] && {
+ echo "ac_add_options --disable-ipc" >> .mozconfig
+ patch -Np0 -i "${srcdir}/mips.patch"
+ }
+
#fix libdir/sdkdir - fedora
patch -Np1 -i "$srcdir/mozilla-pkgconfig.patch"