diff options
Diffstat (limited to 'extra/xulrunner/PKGBUILD')
-rw-r--r-- | extra/xulrunner/PKGBUILD | 19 |
1 files changed, 12 insertions, 7 deletions
diff --git a/extra/xulrunner/PKGBUILD b/extra/xulrunner/PKGBUILD index da74448ea..b39be4f56 100644 --- a/extra/xulrunner/PKGBUILD +++ b/extra/xulrunner/PKGBUILD @@ -5,26 +5,31 @@ pkgname=xulrunner pkgver=7.0 _ffoxver=7.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') 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 + mips.patch mozilla-pkgconfig.patch) options=('!emptydirs' '!buildflags') replaces=('xulrunner-oss') -md5sums=('673a015a23e3fefa18d80db68c8b9fc1' - '108a53313284908cc3afe5e29a7557e9' - '639ea80e823543dd415b90c0ee804186') 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" export LDFLAGS="-Wl,-rpath,/usr/lib/xulrunner-${pkgver} -Wl,-O1,--sort-common,--hash-style=gnu,--as-needed" @@ -33,7 +38,7 @@ build() { } package() { - cd "${srcdir}/mozilla-release" + cd "${srcdir}/icecat-${_ffoxver}/" make -j1 -f client.mk DESTDIR="${pkgdir}" install # add xulrunner library path to ld.so.conf |