diff options
Diffstat (limited to 'extra/xulrunner/PKGBUILD')
-rw-r--r-- | extra/xulrunner/PKGBUILD | 20 |
1 files changed, 12 insertions, 8 deletions
diff --git a/extra/xulrunner/PKGBUILD b/extra/xulrunner/PKGBUILD index 8180b8fec..fc40b6011 100644 --- a/extra/xulrunner/PKGBUILD +++ b/extra/xulrunner/PKGBUILD @@ -5,28 +5,32 @@ pkgname=xulrunner pkgver=6.0.1 _ffoxver=6.0.1 pkgrel=1 +pkgver=2.0 +pkgrel=2 # hold ver 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' 'gconf') 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 + mips.patch moz-639554.patch) options=('!emptydirs' '!buildflags') replaces=('xulrunner-oss') -md5sums=('43b71655e1307c7f62896339e70c9aed' - '2358a2ddd35bcdd62ff42442dfe548d9' - '639ea80e823543dd415b90c0ee804186' - '96d3c1790a56f8e6df88e327adccf3bf') build() { - cd "${srcdir}/mozilla-release" + cd "${srcdir}/icecat-${_ffoxver}/" cp "${srcdir}/mozconfig" .mozconfig #fix libdir/sdkdir - fedora + + [[ "$CARCH" == "mips64el" ]] && { + echo "ac_add_options --disable-ipc" >> .mozconfig + patch -Np0 -i "${srcdir}/mips.patch" + } patch -Np1 -i "${srcdir}/mozilla-pkgconfig.patch" #upstream fixes patch -Np1 -i "${srcdir}/moz-639554.patch" @@ -37,7 +41,7 @@ build() { } package() { - cd "${srcdir}/mozilla-release" + cd "${srcdir}/icecat-${_ffoxver}/" make -j1 -f client.mk DESTDIR="${pkgdir}" install #Remove included dictionaries, add symlink to system myspell path. |