community/v8 to 3.19.0-1

This commit is contained in:
Kevin Mihelich 2013-05-16 18:46:12 +00:00
parent ae2f41c8f1
commit db79c345e3

View file

@ -4,8 +4,8 @@
# Contributor: WarheadsSE <max@warheads.net>
pkgname=v8
pkgver=3.16.4.1
pkgrel=3
pkgver=3.19.0
pkgrel=1
pkgdesc='Fast and modern javascript engine'
arch=('i686' 'x86_64')
url='http://code.google.com/p/v8'
@ -16,9 +16,10 @@ source=('v8.common.gypi.patch'
http://commondatastorage.googleapis.com/chromium-browser-official/$pkgname-$pkgver.tar.bz2)
#md5sums=('8051d31df84530df64752dafad9833b0')
sha256sums=('774afb77874c04c5890173f553c6f6da83b3b848e1e6286f2af453163733420a'
'74ab3bc11f6761e5108affcbe15bc673d2ecbe06aa38ea4b27d850321c0fdc2b')
'35af5629792e958968eacc94daef3ad358b6ed7126875db6138664f51c061368')
build() {
prepare() {
cd $pkgname-$pkgver
# _source="http://v8.googlecode.com/svn/tags/${pkgver}"
# svn checkout "$_source" "${srcdir}/v8-${pkgver}"
@ -57,15 +58,19 @@ fi
# patch build/common.gypi for VFPX selection @ hard.
patch -p1 < ../v8.common.gypi.patch
}
build() {
cd $pkgname-$pkgver
# gets gyp
make dependencies
# make arm.release & arm.debug = just arm
make arm.release library=shared snapshot=off vfp3=$VFP3 vfp=$VFP2
make arm.release library=shared snapshot=off vfp3=$VFP3 vfp=$VFP2 werror=no
# eo build
cd $srcdir && cp -r $pkgname-$pkgver d8-static-$pkgver
cd d8-static-$pkgver
make arm.release library=static snapshot=off vfp3=$VFP3 vfp=$VFP2
make arm.release library=static snapshot=off vfp3=$VFP3 vfp=$VFP2 werror=no
}
# seperated to possibly split v8-debug in the future.