diff options
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 25 |
1 files changed, 15 insertions, 10 deletions
@@ -6,7 +6,7 @@ # Contributor: David Flemström <david.flemstrom@gmail.com> pkgname=v8 -pkgver=5.9.211.27 +pkgver=6.0.286.52 pkgrel=1 pkgdesc="Fast and modern Javascript engine used in Google Chrome." arch=('i686' 'x86_64') @@ -20,13 +20,15 @@ source=("depot_tools::git+https://chromium.googlesource.com/chromium/tools/depot "v8_libbase.pc" "v8_libplatform.pc" "d8" - "icu59.diff") + "gcc7.patch" + "ctest.patch") sha256sums=('SKIP' '3616bcfb15af7cd5a39bc0f223b2a52f15883a4bc8cfcfb291837c7421363d75' 'efb37bd706e6535abfa20c77bb16597253391619dae275627312d00ee7332fa3' 'ae23d543f655b4d8449f98828d0aff6858a777429b9ebdd2e23541f89645d4eb' '6abb07ab1cf593067d19028f385bd7ee52196fc644e315c388f08294d82ceff0' - 'd0d3fbb3719f7634cf63b61e03351eef9a7415d9671e6b4fcdf621887c804ae1') + '3a67793d1a7a93cec00f2693f11e79749364d2541edfb99d0be3f9c132382d1f' + '14ee52de490515d23fe14376258921d45c45a4011b5cd3344cde026d8b494774') # @@ -108,22 +110,21 @@ prepare() { ./build/linux/unbundle/replace_gn_files.py --undo --system-libraries icu fi - msg2 "Syncing..." + msg2 "Syncing, this can take a while..." gclient sync --revision ${pkgver} msg2 "Using system libraries for ICU" ./build/linux/unbundle/replace_gn_files.py --system-libraries icu - msg2 "Applying patch for icu 59.x" - patch ${srcdir}/v8/src/i18n.cc < ${srcdir}/icu59.diff + msg2 "Applying gcc7 compatibility patch" + patch -p1 -i ${srcdir}/gcc7.patch + + msg "Applying ctest patch" + patch -p1 -i ${srcdir}/ctest.patch sed "s/@VERSION@/${pkgver}/g" -i "${srcdir}/v8.pc" sed "s/@VERSION@/${pkgver}/g" -i "${srcdir}/v8_libbase.pc" sed "s/@VERSION@/${pkgver}/g" -i "${srcdir}/v8_libplatform.pc" -} - -build() { - cd v8 msg2 "Running GN..." ../depot_tools/gn gen $OUTFLD \ @@ -137,6 +138,10 @@ build() { v8_enable_i18n_support=$V8_I18N_SUPPORT v8_use_external_startup_data=\"$V8_USE_EXTERNAL_STARTUP_DATA\" use_sysroot=$V8_USE_SYSROOT" +} + +build() { + cd v8 # Fixes bug in generate_shim_headers.py that fails to create these dirs msg2 "Adding icu missing folders" |