summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Gilbert <floppym@gentoo.org>2011-12-07 04:43:06 +0000
committerMike Gilbert <floppym@gentoo.org>2011-12-07 04:43:06 +0000
commitb9edc6e0c44a39402de8e9450e3ba5a162a3963c (patch)
tree9b0b50655555121a48c302a433d933f3f3b20b05
parentVersion bump. (diff)
downloadhistorical-b9edc6e0c44a39402de8e9450e3ba5a162a3963c.tar.gz
historical-b9edc6e0c44a39402de8e9450e3ba5a162a3963c.tar.bz2
historical-b9edc6e0c44a39402de8e9450e3ba5a162a3963c.zip
Version bump for dev channel release. Parse test jobs from MAKEOPTS.
Package-Manager: portage-2.2.0_alpha79/cvs/Linux x86_64
-rw-r--r--dev-lang/v8/ChangeLog7
-rw-r--r--dev-lang/v8/Manifest11
-rw-r--r--dev-lang/v8/v8-3.7.12.6.ebuild129
3 files changed, 141 insertions, 6 deletions
diff --git a/dev-lang/v8/ChangeLog b/dev-lang/v8/ChangeLog
index 723598493bef..22775f0605b6 100644
--- a/dev-lang/v8/ChangeLog
+++ b/dev-lang/v8/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-lang/v8
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-lang/v8/ChangeLog,v 1.115 2011/12/02 12:17:41 floppym Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/v8/ChangeLog,v 1.116 2011/12/07 04:43:06 floppym Exp $
+
+*v8-3.7.12.6 (07 Dec 2011)
+
+ 07 Dec 2011; Mike Gilbert <floppym@gentoo.org> +v8-3.7.12.6.ebuild:
+ Version bump for dev channel release. Parse test jobs from MAKEOPTS.
*v8-3.6.6.9 (02 Dec 2011)
diff --git a/dev-lang/v8/Manifest b/dev-lang/v8/Manifest
index a84162e3bf60..50c7498536ff 100644
--- a/dev-lang/v8/Manifest
+++ b/dev-lang/v8/Manifest
@@ -6,21 +6,22 @@ AUX v8-no-werror-r0.patch 573 RMD160 17791cdee16894b37e937f23146aff52bc3d4775 SH
DIST v8-3.5.10.24.tar.bz2 9378560 RMD160 5d6be86af37aed9e7a227fec817e76980f9802d7 SHA1 a20b0ff0baff46b75289c30016e1744457399208 SHA256 4fa2c6cc996463db122fc73267a64d0c00b17e0cddf11aa02bfab6b126b797ee
DIST v8-3.6.6.6.tar.bz2 9619754 RMD160 8d8af502c4b90a534e302850349cc62c64e330b1 SHA1 25b65a7246731b5f91db3a0a8a0c6bd377b1fff5 SHA256 f51de4710c547373df546810e8d51c60cc90dd07881bf575191ade065964d6d6
DIST v8-3.6.6.9.tar.bz2 9622646 RMD160 94a99d7e1179b2c377b9a55ce4d69eea0b022609 SHA1 5c65e4b8ef5273de48772a143c5b413037edb537 SHA256 2730f4601fd90a3b90916ecb07fc621ebc9eddd8d7e21799a906f6eec4c985ba
+DIST v8-3.7.12.6.tar.bz2 9828973 RMD160 762b60985494614ba2357def94dc23d931d6d9e7 SHA1 fe11464955665676df8e2d86ff8b655cd5c25673 SHA256 37d4e885efd90d47598a8821d8d99941ae586ff1b5f29832da497732e5f7bca4
DIST v8-3.7.6.tar.bz2 9794134 RMD160 8ad53560e1a2b55e720c36bbcc19f08f888d5abc SHA1 7d8f81876164f7f0d28dbc8616f2a0afcccd3bec SHA256 5cdbd893c41f552a33d6fabcc2df88c9610a410d2993f3791cdeef318ff25189
DIST v8-3.7.7.tar.bz2 9796280 RMD160 bf58f21e6b422fe82ab90e281b29947d5c969f85 SHA1 ebb1c5a454fc375fac4d7075b91b387f5c4b6e48 SHA256 83e08194789bf3226a7fc20a98438b30a28eaecd6bf937796e30dc8a8c50d301
EBUILD v8-3.5.10.24.ebuild 2124 RMD160 a95ebbe814c6aac48417133926c14b16c18056fe SHA1 efdd7ae6bfea7c9e37799a2188a9337c84a5199d SHA256 9ef574e09428ae6e63f7b4b9a53f5aefb28ef441bf5b85b58a0c97fb98b5b604
EBUILD v8-3.6.6.6.ebuild 3271 RMD160 717fdc451e34be674f7d5b57f32faa0e79fd3876 SHA1 41bef0bef5ce44f5f991879e924b5ef40ae9dcc9 SHA256 2e5510081f17330ae7630c9728f32e3bd07537b171f07a974ef9713cc2d264c9
EBUILD v8-3.6.6.9.ebuild 3271 RMD160 8108bed83257b10010887149e9a8b745460552e5 SHA1 692892e28928a0784c26cf83bb8ec19c6f67f9de SHA256 bc8d3a3289c143d5fd02b7e18947ca0f3dde343bace2274371b11539623695e8
+EBUILD v8-3.7.12.6.ebuild 3040 RMD160 72f4e88b247d1ac06db918bf54732c2d3353847d SHA1 c155713176ce9d895feacbfe89bfc2e6bfe7d9e3 SHA256 565d6d9f1dbbdf7a199abcdd150bcd08eb728e299e6a940afac7bd89cc6ea59f
EBUILD v8-3.7.6.ebuild 3155 RMD160 158713da2d54c910e2fe8f547758685669748e1c SHA1 32db399f78f7d665955419ebaa6799a5a0bf54be SHA256 0b4a5a441393bb2496181d8532fa9aaab96911b73bde33f434fb8dfe2da401bf
EBUILD v8-3.7.7.ebuild 2867 RMD160 c12c669636aa60d27fd0a6d5ba31f35f9688ce08 SHA1 966b43f992c824296031a87331c9f7a5cf0cd232 SHA256 2853f32637991f83203b075961104be98915db21e31949dcdc1675620c91abb3
EBUILD v8-9999.ebuild 2920 RMD160 e7949f1c910a17e05b0865fb9c90d3049c2f5dd8 SHA1 c98db14af34c9693cde021e8217dfed206a05d78 SHA256 ed372e5467a0292554e7d04770fd4edfa9758ce672c998f95c7b6cd14d4913e6
-MISC ChangeLog 18966 RMD160 75698ba59a52a6f80bf47fb66b827c35f25c9afc SHA1 ed3d46d614549ccbb2d0b223d3bcf877ec333a54 SHA256 ee587abb888508d2e50b05e8af0101434e75a4e7c4e33f3da0524d0d54272cee
+MISC ChangeLog 19136 RMD160 77884b4bd21c96e483c7df931cebaf9697e2929e SHA1 26c636d43062aed7a03aaefce3a47a0870cfec1a SHA256 90036fce88f0794b2a4f180760cdf05ef5bc3858196344eb7bbe65f40fcf2cf4
MISC metadata.xml 162 RMD160 3485b95578a49782c3188a0f963f90c688287fe1 SHA1 46226eeaf4948209a093253f92010abea501daef SHA256 8a3ecdcf518f45ec4843398f9896c9b4d1c867ff2cf2851cf40b06f756f111e8
-MISC v8-9999.ebuild.orig 3099 RMD160 15561e634b3553fe970aea647be06959b7cb0b49 SHA1 a0d7528433c9e93862b9e44735467f5aaffa1cb0 SHA256 612d4f022508528cbd9ccb6b8c458171696b5d92e4612c6fe93df364a723ecc1
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.17 (GNU/Linux)
-iF4EAREIAAYFAk7Ywe0ACgkQC77qH+pIQ6SJ6QD8DpsbSWxt8Y+v1VDHI28aUEjC
-GnG38CjREk+y0ltEBsYA/R7+LCvxY9DVLira35PB7kjkXeikh8kVLNg2eawEiLtF
-=d1A1
+iF4EAREIAAYFAk7e7uUACgkQC77qH+pIQ6TSBwD+M7eIdqeI0+i/1Q6X4iTicgO2
+6DoOoT55zhr1WNGoPLwBAI9yRRz/AKva0+FVx9+DA6ywQ/2H1oeVWQ6pe0/YP6YA
+=jm4B
-----END PGP SIGNATURE-----
diff --git a/dev-lang/v8/v8-3.7.12.6.ebuild b/dev-lang/v8/v8-3.7.12.6.ebuild
new file mode 100644
index 000000000000..6cc1e064897d
--- /dev/null
+++ b/dev-lang/v8/v8-3.7.12.6.ebuild
@@ -0,0 +1,129 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/v8/v8-3.7.12.6.ebuild,v 1.1 2011/12/07 04:43:06 floppym Exp $
+
+EAPI="4"
+
+PYTHON_DEPEND="2:2.6"
+
+inherit eutils multilib pax-utils python toolchain-funcs
+
+DESCRIPTION="Google's open source JavaScript engine"
+HOMEPAGE="http://code.google.com/p/v8"
+SRC_URI="http://commondatastorage.googleapis.com/chromium-browser-official/${P}.tar.bz2"
+LICENSE="BSD"
+
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~x86 ~x64-macos ~x86-macos"
+IUSE=""
+
+pkg_pretend() {
+ local gccver=$(gcc-fullversion)
+ if [[ ${gccver} = 4.5.2 ]]; then
+ eerror "The currently selected version of gcc is known to segfault when building this"
+ eerror "version of V8. Please use at least gcc-4.5.3."
+ die "gcc-${gccver} detected."
+ fi
+}
+
+pkg_setup() {
+ python_set_active_version 2
+ python_pkg_setup
+}
+
+src_compile() {
+ tc-export AR CC CXX RANLIB
+ export LINK="${CXX}"
+
+ # Use target arch detection logic from bug #354601.
+ case ${CHOST} in
+ i?86-*) myarch=ia32 ;;
+ x86_64-*)
+ if [[ $ABI = x86 ]] ; then
+ myarch=ia32
+ else
+ myarch=x64
+ fi ;;
+ arm*-*) myarch=arm ;;
+ *) die "Unrecognized CHOST: ${CHOST}"
+ esac
+ mytarget=${myarch}.release
+
+ soname_version="${PV}"
+
+ local snapshot=on
+ host-is-pax && snapshot=off
+
+ # TODO: Add console=readline option once implemented upstream
+ # http://code.google.com/p/v8/issues/detail?id=1781
+
+ emake V=1 \
+ library=shared \
+ werror=no \
+ soname_version=${soname_version} \
+ snapshot=${snapshot} \
+ ${mytarget} || die
+
+ pax-mark m out/${mytarget}/{cctest,d8,shell} || die
+}
+
+src_test() {
+ local arg testjobs
+ for arg in ${MAKEOPTS}; do
+ case ${arg} in
+ -j*) testjobs=${arg#-j} ;;
+ --jobs=*) testjobs=${arg#--jobs=} ;;
+ esac
+ done
+
+ tools/test-wrapper-gypbuild.py \
+ -j${testjobs:-1} \
+ --arch-and-mode=${mytarget} \
+ --no-presubmit \
+ --progress=dots || die
+}
+
+src_install() {
+ insinto /usr
+ doins -r include || die
+
+ dobin out/${mytarget}/d8 || die
+
+ if [[ ${CHOST} == *-darwin* ]] ; then
+ install_name_tool \
+ -id "${EPREFIX}"/usr/$(get_libdir)/libv8$(get_libname).${soname_version} \
+ out/${mytarget}/lib.target/libv8$(get_libname).${soname_version} || die
+ fi
+
+ dolib out/${mytarget}/lib.target/libv8$(get_libname).${soname_version} || die
+ dosym libv8$(get_libname).${soname_version} /usr/$(get_libdir)/libv8$(get_libname) || die
+
+ dodoc AUTHORS ChangeLog || die
+}
+
+pkg_preinst() {
+ preserved_libs=()
+ local baselib candidate
+
+ eshopts_push -s nullglob
+
+ for candidate in "${EROOT}usr/$(get_libdir)"/libv8-*$(get_libname) \
+ "${EROOT}usr/$(get_libdir)"/libv8$(get_libname).*; do
+ baselib=${candidate##*/}
+ if [[ ! -e "${ED}usr/$(get_libdir)/${baselib}" ]]; then
+ preserved_libs+=( "${EPREFIX}/usr/$(get_libdir)/${baselib}" )
+ fi
+ done
+
+ eshopts_pop
+
+ if [[ ${#preserved_libs[@]} -gt 0 ]]; then
+ preserve_old_lib "${preserved_libs[@]}"
+ fi
+}
+
+pkg_postinst() {
+ if [[ ${#preserved_libs[@]} -gt 0 ]]; then
+ preserve_old_lib_notify "${preserved_libs[@]}"
+ fi
+}