diff options
author | James Meyer <james.meyer@operamail.com> | 2012-12-01 18:26:09 (GMT) |
---|---|---|
committer | James Meyer <james.meyer@operamail.com> | 2012-12-01 18:26:22 (GMT) |
commit | e2c33b0fae1fa4af8bbbfc917eb8e13a3ac0cb37 (patch) | |
tree | bee3fe89f2988dd244e11791755e129aa8c03b14 /abs/not_built/extra/xulrunner/PKGBUILD | |
parent | 8132c218cfc1f1acb1c6d12154e0d4ca075e77f2 (diff) | |
download | linhes_pkgbuild-e2c33b0fae1fa4af8bbbfc917eb8e13a3ac0cb37.zip linhes_pkgbuild-e2c33b0fae1fa4af8bbbfc917eb8e13a3ac0cb37.tar.gz linhes_pkgbuild-e2c33b0fae1fa4af8bbbfc917eb8e13a3ac0cb37.tar.bz2 |
Mass move of uncompiled packages to abs_not_built.
The will sit here for a bit, and then will be removed completely if no one claims them.
Diffstat (limited to 'abs/not_built/extra/xulrunner/PKGBUILD')
-rw-r--r-- | abs/not_built/extra/xulrunner/PKGBUILD | 69 |
1 files changed, 69 insertions, 0 deletions
diff --git a/abs/not_built/extra/xulrunner/PKGBUILD b/abs/not_built/extra/xulrunner/PKGBUILD new file mode 100644 index 0000000..36ed257 --- /dev/null +++ b/abs/not_built/extra/xulrunner/PKGBUILD @@ -0,0 +1,69 @@ +# $Id: PKGBUILD 97209 2010-10-27 20:57:31Z ibiru $ +# Maintainer: Jan de Groot <jgc@archlinux.org> +# Contributor: Alexander Baldeck <alexander@archlinux.org> +pkgname=xulrunner +pkgver=1.9.2.12 +_ffoxver=3.6.12 +pkgrel=1 +pkgdesc="Mozilla Runtime Environment" +arch=('i686' 'x86_64') +license=('MPL' 'GPL' 'LGPL') +depends=('gtk2>=2.22.0' 'gcc-libs' 'libidl2>=0.8.13' 'mozilla-common' 'nss>=3.12.8' 'libxt' 'hunspell>=1.2.8' 'startup-notification>=0.10' 'mime-types' 'dbus-glib>=0.86' 'alsa-lib>=1.0.23' 'libevent') +makedepends=('zip' 'pkg-config' 'diffutils' 'libgnomeui' 'python2' 'wireless_tools' 'autoconf2.13') +optdepends=('libgnomeui: GNOME integration and MIME handling' + 'wireless_tools: Location aware browsing') +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 + mozilla-pkgconfig.patch + fix-mozilla-launcher.patch + xulrunner-version.patch + xulrunner-png14.patch + enable-x86_64-tracemonkey.patch + python2.7.patch) +md5sums=('80f4d83f23a7c45fc3f1904964ea2a5a' + 'e195cdcd51a8fb6fc77f0f653ff1e582' + '2d2d7143a4e0bfe71149a51f8dbbab2f' + '63eee2d1da3b43c9d604f2253f242f40' + '371303c5bdc4fa0d955d14521b93b69d' + '3bd0566180ad2daa32743b3ce58b2095' + 'cbd938cd1fb8210cd8a2c41833489af9' + 'ab3dc9aecae7f08b9492fb3c00a5fd28') + +build() { + cd "${srcdir}/mozilla-1.9.2" + cp "${srcdir}/mozconfig" .mozconfig + + #fix libdir/sdkdir - fedora + patch -Np1 -i "${srcdir}/mozilla-pkgconfig.patch" + + #Fix stub launcher - archlinux + patch -Np0 -i "${srcdir}/fix-mozilla-launcher.patch" + + #Force installation to the same path for every version + patch -Np1 -i "${srcdir}/xulrunner-version.patch" + + #Fix compile with libpng 1.4 + patch -Np0 -i "${srcdir}/xulrunner-png14.patch" + + #Tracemonkey for x86_64 + patch -Np0 -i "${srcdir}/enable-x86_64-tracemonkey.patch" + + #python2.7 + patch -Np0 -i "${srcdir}/python2.7.patch" + + unset CFLAGS + unset CXXFLAGS + + make -j1 -f client.mk build MOZ_MAKE_FLAGS="$MAKEFLAGS" + make -j1 DESTDIR="${pkgdir}" install + + #Remove included dictionaries, add symlink to system myspell path. + #Note: this will cause file conflicts when users have installed dictionaries in the old location + rm -rf "${pkgdir}/usr/lib/xulrunner-1.9.2/dictionaries" + ln -sf /usr/share/myspell "${pkgdir}/usr/lib/xulrunner-1.9.2/dictionaries" + + # add xulrunner library path to ld.so.conf + install -d ${pkgdir}/etc/ld.so.conf.d + echo "/usr/lib/xulrunner-1.9.2" > ${pkgdir}/etc/ld.so.conf.d/xulrunner.conf +} |