diff options
Diffstat (limited to 'extra/xulrunner/PKGBUILD')
-rw-r--r-- | extra/xulrunner/PKGBUILD | 20 |
1 files changed, 14 insertions, 6 deletions
diff --git a/extra/xulrunner/PKGBUILD b/extra/xulrunner/PKGBUILD index 1bf7cd3db..783b9f3e3 100644 --- a/extra/xulrunner/PKGBUILD +++ b/extra/xulrunner/PKGBUILD @@ -5,23 +5,31 @@ pkgname=xulrunner pkgver=5.0 _ffoxver=5.0 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) + mozilla-pkgconfig.patch + mips.patch) options=('!emptydirs' '!buildflags') replaces=('xulrunner-oss') build() { - cd "${srcdir}/mozilla-release" + cd "${srcdir}/icecat-${_ffoxver}/" cp "${srcdir}/mozconfig" .mozconfig #fix libdir/sdkdir - fedora - patch -Np1 -i "${srcdir}/mozilla-pkgconfig.patch" + patch -Np1 -i "${srcdir}/mozilla-pkgconfig.patch" + + [[ "$CARCH" == "mips64el" ]] && { + echo "ac_add_options --disable-ipc" >> .mozconfig + patch -Np0 -i "${srcdir}/mips.patch" + } export CXXFLAGS="-fpermissive" export LDFLAGS="-Wl,-rpath,/usr/lib/xulrunner-${pkgver} -Wl,-O1,--sort-common,--hash-style=gnu,--as-needed" @@ -30,7 +38,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. |