diff options
Diffstat (limited to 'extra/xulrunner/PKGBUILD')
-rw-r--r-- | extra/xulrunner/PKGBUILD | 24 |
1 files changed, 16 insertions, 8 deletions
diff --git a/extra/xulrunner/PKGBUILD b/extra/xulrunner/PKGBUILD index 0656c37d7..1d353f6b3 100644 --- a/extra/xulrunner/PKGBUILD +++ b/extra/xulrunner/PKGBUILD @@ -6,26 +6,29 @@ pkgver=2.0.1 _ffoxver=4.0.1 pkgrel=1 pkgdesc="Mozilla Runtime Environment" -arch=('i686' 'x86_64') +arch=('i686' 'x86_64' 'mips64el') license=('MPL' 'GPL' 'LGPL') depends=('gtk2' 'gcc-libs' 'libidl2' 'mozilla-common' 'nss' 'libxt' 'libxrender' 'hunspell' 'startup-notification' 'mime-types' 'dbus-glib' 'alsa-lib' 'libevent' 'sqlite3>=3.7.4' 'libnotify') makedepends=('zip' 'pkg-config' 'diffutils' 'python2' 'wireless_tools' 'yasm' 'mesa') url="http://wiki.mozilla.org/XUL:Xul_Runner" -source=(http://releases.mozilla.org/pub/mozilla.org/firefox/releases/${_ffoxver}/source/firefox-${_ffoxver}.source.tar.bz2 +source=(http://ftp.gnu.org/gnu/gnuzilla/${_ffoxver}/icecat-${_ffoxver}.tar.xz mozconfig mozilla-pkgconfig.patch xulrunner-version.patch xulrunner-omnijar.patch - port_gnomevfs_to_gio.patch) -options=('!emptydirs') -md5sums=('9abda7d23151e97913c8555a64c13f34' + port_gnomevfs_to_gio.patch + mips.patch) +md5sums=('1b4d44ee5badc28fd332cba564ecde0a' '2358a2ddd35bcdd62ff42442dfe548d9' '639ea80e823543dd415b90c0ee804186' 'a0236f6c3e55f60b7888d8cf137ff209' '0bf82bc6677e3ce57fd20a147fe8d7b1' - '42f83468b296452fb754a81a4317ca64') + '42f83468b296452fb754a81a4317ca64' + '0e970ff5600246e953f527813883e744') +options=('!emptydirs') + build() { - cd "${srcdir}/mozilla-2.0" + cd "${srcdir}/icecat-${_ffoxver}/" cp "${srcdir}/mozconfig" .mozconfig #fix libdir/sdkdir - fedora @@ -40,6 +43,11 @@ build() { #https://bugzilla.mozilla.org/show_bug.cgi?id=494163 patch -Np1 -i "${srcdir}/port_gnomevfs_to_gio.patch" + [[ "$CARCH" == "mips64el" ]] && { + echo "ac_add_options --disable-ipc" >> .mozconfig + patch -Np0 -i "${srcdir}/mips.patch" + } + unset CFLAGS unset CXXFLAGS @@ -49,7 +57,7 @@ build() { } package() { - cd "${srcdir}/mozilla-2.0" + cd "${srcdir}/icecat-${_ffoxver}/" make -j1 -f client.mk DESTDIR="${pkgdir}" install #Remove included dictionaries, add symlink to system myspell path. |