mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-28 22:57:37 +00:00
62 lines
2.3 KiB
Bash
62 lines
2.3 KiB
Bash
# $Id: PKGBUILD 51905 2009-09-13 13:56:36Z pierre $
|
|
# Maintainer: Alexander Baldeck <alexander@archlinux.org>
|
|
# Contributor: Jan de Groot <jgc@archlinux.org>
|
|
pkgname=xulrunner
|
|
pkgver=1.9.1.3
|
|
_ffoxver=3.5.3
|
|
pkgrel=1
|
|
pkgdesc="Mozilla Runtime Environment"
|
|
arch=(i686 x86_64)
|
|
license=('MPL' 'GPL' 'LGPL')
|
|
depends=('gtk2>=2.16.5' 'gcc-libs>=4.4.1' 'libidl2>=0.8.13' 'mozilla-common' 'nss>=3.12.3.1' 'libxt' 'hunspell>=1.2.8' 'startup-notification>=0.10' 'mime-types' 'dbus-glib>=0.80' 'alsa-lib>=1.0.20')
|
|
makedepends=('zip' 'pkgconfig' 'diffutils' 'python' 'libgnomeui')
|
|
optdepends=('libgnomeui')
|
|
provides=(gecko-sdk)
|
|
replaces=(gecko-sdk)
|
|
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
|
|
mozconfig
|
|
100-system-hunspell-corrections.patch
|
|
mozilla-pkgconfig.patch
|
|
fix-mozilla-launcher.patch
|
|
mozilla-ps-pdf-simplify-operators.patch
|
|
nsThreadUtils.patch
|
|
xulrunner-version.patch)
|
|
md5sums=('ca167e69180ab1230aea0763da270a95'
|
|
'ed5045e94a7ef2a2c7d0c8c54581cd63'
|
|
'5efd6772ed0ecf8eddec5d5650191d3c'
|
|
'd806ffcd9fa8d178ebfa9057c1221fbf'
|
|
'63eee2d1da3b43c9d604f2253f242f40'
|
|
'13dca58c04e62a8916691c63c5c492a0'
|
|
'ccc3a0672c783c043434f256fbd38c86'
|
|
'd8a3066a3d9039b6f375316ed763e8f8')
|
|
|
|
build() {
|
|
cd "${srcdir}/mozilla-1.9.1"
|
|
cp "${srcdir}/mozconfig" .mozconfig
|
|
|
|
#Upstream patch. Still not applied to 1.9.0.1
|
|
patch -Np1 -i "${srcdir}/mozilla-ps-pdf-simplify-operators.patch" || return 1
|
|
|
|
#fix build with system hunspell - gentoo
|
|
patch -Np0 -i "${srcdir}/100-system-hunspell-corrections.patch" || return 1
|
|
|
|
#fix libdir/sdkdir - fedora - with local modifications
|
|
patch -Np1 -i "${srcdir}/mozilla-pkgconfig.patch" || return 1
|
|
|
|
#Fix stub launcher - archlinux
|
|
patch -Np0 -i "${srcdir}/fix-mozilla-launcher.patch" || return 1
|
|
|
|
#Fix epiphany crashes - requires epiphany rebuild
|
|
patch -Np1 -i "${srcdir}/nsThreadUtils.patch" || return 1
|
|
|
|
#Force installation to the same path for every version
|
|
patch -Np1 -i "${srcdir}/xulrunner-version.patch" || return 1
|
|
|
|
unset CFLAGS
|
|
unset CXXFLAGS
|
|
export LDFLAGS="-Wl,-rpath,/usr/lib/xulrunner-1.9.1"
|
|
|
|
make -j1 -f client.mk build MOZ_MAKE_FLAGS="$MAKEFLAGS" || return 1
|
|
make -j1 DESTDIR="${pkgdir}" install || return 1
|
|
}
|