summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-lang')
-rw-r--r--dev-lang/v8/ChangeLog7
-rw-r--r--dev-lang/v8/Manifest24
-rw-r--r--dev-lang/v8/v8-3.11.6.2.ebuild137
3 files changed, 151 insertions, 17 deletions
diff --git a/dev-lang/v8/ChangeLog b/dev-lang/v8/ChangeLog
index dcfcf1888500..c361c41021ec 100644
--- a/dev-lang/v8/ChangeLog
+++ b/dev-lang/v8/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-lang/v8
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-lang/v8/ChangeLog,v 1.189 2012/05/29 08:55:33 naota Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/v8/ChangeLog,v 1.190 2012/05/30 11:57:58 phajdan.jr Exp $
+
+*v8-3.11.6.2 (30 May 2012)
+
+ 30 May 2012; Pawel Hajdan jr <phajdan.jr@gentoo.org> +v8-3.11.6.2.ebuild:
+ Version bump for dev channel release.
29 May 2012; Naohiro Aota <naota@gentoo.org>
+files/v8-3.10.8.10-freebsd9.patch, v8-3.10.8.10.ebuild, v8-3.11.3.ebuild:
diff --git a/dev-lang/v8/Manifest b/dev-lang/v8/Manifest
index 0c4039e19173..fd1147beb0be 100644
--- a/dev-lang/v8/Manifest
+++ b/dev-lang/v8/Manifest
@@ -1,33 +1,25 @@
-----BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA256
+Hash: SHA512
AUX v8-3.10.8.10-darwin-arch.patch 1146 RMD160 45af91bf5e64a6cd08803cdd4aa0c06ca14b0662 SHA1 4475690ddc37a5565d6d8662c0dd42cf5dfb6380 SHA256 4b352c597105d71a7f1c907062dec71891d7e89a9e8b617330509f60ba01cf88
AUX v8-3.10.8.10-freebsd9.patch 421 RMD160 dd7ae426df7562109b3af4f9a6658911372cdaad SHA1 dd35a208d7fe43bb4dc9ba96c16aa32c3d721d64 SHA256 2cd4acf369ae32d549fbddfe5605379e1563a4227bae5a41b4de66078b7d75ad
DIST v8-3.10.8.10.tar.bz2 10063797 RMD160 4e35009c04fc2cd510b60d9af122caa61a943c1a SHA1 565174c7cffbfd02e7c0b9e6b91f12b02bcf36fa SHA256 412b90e52b2ba3373b3ca59b63857ff6371c216e0a763ffc49c60e7c190b1b3b
DIST v8-3.10.8.7.tar.bz2 10063959 RMD160 b20ef13e5dfcd93d5d2d5d85138064338250ccb4 SHA1 7225a2d3bf8a27180d743a240785275b9d2948a0 SHA256 f411248f95de06297310eaf0d1195d913bb3dee92a0fbb8bc62193f00ff4ff08
DIST v8-3.11.3.tar.bz2 10069593 RMD160 dbf6ab21bafdc5a62751f16988615a33a9f74997 SHA1 d676bd5eb3785069d8d18842cca932143d54ed74 SHA256 52864dcceb50188331b6b6d472bda9988a0c4f3e7365f027b671cc54e78eb96e
+DIST v8-3.11.6.2.tar.bz2 10070265 RMD160 296d898bc13f86482a07fc6721e1743bacce3de5 SHA1 621aa12f9fc2cd579aea05b84b859da7e257853f SHA256 f648b24296ba326be26d65f99027fbd9bc473c0156291fcd318f5f611bb02ea3
DIST v8-3.9.24.28.tar.bz2 9975177 RMD160 444565b92e7cce55f0792f2a643f425413e994ea SHA1 6dc38d96ede2a84c9bb9982e99674df1a5254374 SHA256 054f4fc90fc0e1960520058321925272812164b9e9dfd661636d7a4d74d127cd
EBUILD v8-3.10.8.10.ebuild 3483 RMD160 27fbf991db943052a456fcbf4686c411c85d9c97 SHA1 ca01c4e286aa72bdf0f1547283cd0111099476a9 SHA256 9a6a0cee39ced40b10dd40a962a940621f1d86b0165caf28b543997b79331e01
EBUILD v8-3.10.8.7.ebuild 2731 RMD160 2ad379b29dad5142f55ac416783383814784490a SHA1 c8d0834c0cbfa1c2b937eae85e57ea851b75c59f SHA256 c1f7437c14458f7fbe2367e994319a68d9008906b74a5228521225760224006b
EBUILD v8-3.11.3.ebuild 3502 RMD160 4bc251b20f8f0220af9002525bf176ac8912633f SHA1 e4b153444c5633a94261113e16ca9674233d6496 SHA256 9f113390514a6795342a84090cce7f167fe50689f6c4504443e7c7b9eac5b4cf
+EBUILD v8-3.11.6.2.ebuild 3509 RMD160 91d77ee2684cf8ad6346732e20048bd877315653 SHA1 cc756d30fd17b500c5e0f8c37ec3468949c395d1 SHA256 aae641d7454a94dee51fc888d1034fded4672d55b1c834211fdb500177281b5d
EBUILD v8-3.9.24.28.ebuild 3666 RMD160 94c903a5cb943b2a498b3e8655b902311ab4858d SHA1 9f349de5888ccd6fe5a5197d7adf0260192b0071 SHA256 74c758da6a61d005f95e8339dd7a3e3bc19342156b5c72c96e978f5d2f34b084
EBUILD v8-9999.ebuild 3457 RMD160 e00d3768fbd1a722896d67ba6d0d75a095825021 SHA1 990cbd74aec0998eba6d368b387911a908611834 SHA256 8a68123503d60f1600ba88a3c30e9d44ee1329af080a4d25a2cd9e1b5f16ad26
-MISC ChangeLog 30550 RMD160 7dd197e9813f85553931257ff2e7c331cf1ada1d SHA1 ed14ff2f673ec6c7b05d4a0afccbaecc45b7cf5b SHA256 4ef2d84717449b015118a46fe7cca5841c37c2cf599925fccf7a2615ff7d6638
+MISC ChangeLog 30700 RMD160 c4a3240421c40cbb228f8877c91f74881e249572 SHA1 6d5d808fe6131b60e9a9e0ae58012728c7008882 SHA256 2687132ab62f8ec75c89cd45ba96fc082c26fd77e4545c1cfb23bdb6a6c77d00
MISC metadata.xml 162 RMD160 3485b95578a49782c3188a0f963f90c688287fe1 SHA1 46226eeaf4948209a093253f92010abea501daef SHA256 8a3ecdcf518f45ec4843398f9896c9b4d1c867ff2cf2851cf40b06f756f111e8
-----BEGIN PGP SIGNATURE-----
-Version: GnuPG v2.0.19 (GNU/Linux)
+Version: GnuPG v2.0.17 (GNU/Linux)
-iQIcBAEBCAAGBQJPxI8DAAoJEDYO1FT4VRUUk44P/i8+c9tXSVEGRgmvAv4LysfH
-f3U5HGAV4GZZPGXcpvCOwFjwzsx1E0a9xnCnbpw6kFAwZeMexrId66Q+KVF5HseB
-hN0eu4vMoVSIPHjNONe3lQi4IAixVYpU28TIDAJKLjGwq/uZ5tMH5aoZLZBNCzqE
-TGlcGbANhS+6aZmddgHvQ6hT6HL1PCsWnVVOICWJwTQpp6W2tduSrMiFR2Pgwn21
-zb9GOgAZj4o2dIP55umD4b1Pv8wnMaRTeMth7GwtFEjIZ6ByIyJe8kJCeTg5ZumA
-zQiNnxMeCIay9HsOg40dEOoIQ8g4jwfL407TbtsJiYeC5Yxp4lEWCtDD8Rk6sQke
-rHqn3Rr6mL3d5vPXFbHbTUKpSGOw15igA5tDGdgowyUrxEd5Hkjkl00hp94s1KSy
-BkU4svWf9IT8VYdNgE7LQNhs7pCor9K63mAvStTHVLN4YcmIOiGqSqhYfVq8xLTV
-1tlV1KH6zj2zZ8BZ244L0NmxYU33rJ+0oVtjxSctOSNjH6fW1GgC/F+EqnbzMRjp
-RGJpTkqVPezcmVB0hnXYSIl037e7z5+R9XXjJ72TiA3pZwU0AEQWPYNSLMDu9fmA
-0gnmkm7IY4NhKz3icENMV2ko7nOqACbjDyhI1Zbf0DAkZB/ad6SVLnvIso83dgNt
-7FcFGVh9eSZKWqRCPVW4
-=Thdn
+iEYEAREKAAYFAk/GC1AACgkQuUQtlDBCeQL//ACfU7xkGK+033lYPuZrwEwpb9PM
+yn8AnRC+pfWXTvgmVIXFe9R7w8C/q4ze
+=oGhN
-----END PGP SIGNATURE-----
diff --git a/dev-lang/v8/v8-3.11.6.2.ebuild b/dev-lang/v8/v8-3.11.6.2.ebuild
new file mode 100644
index 000000000000..275f895f09e3
--- /dev/null
+++ b/dev-lang/v8/v8-3.11.6.2.ebuild
@@ -0,0 +1,137 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/v8/v8-3.11.6.2.ebuild,v 1.1 2012/05/30 11:57:58 phajdan.jr Exp $
+
+EAPI="4"
+
+PYTHON_DEPEND="2:2.6"
+
+inherit eutils multilib pax-utils python toolchain-funcs versionator
+
+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 ~x86 ~x86-fbsd ~x64-macos ~x86-macos"
+IUSE=""
+
+pkg_setup() {
+ python_set_active_version 2
+ python_pkg_setup
+}
+
+src_prepare() {
+ # strip unsupported -arch (in Prefix) for OSX, e.g. bug #417401
+ epatch "${FILESDIR}"/${PN}-3.10.8.10-darwin-arch.patch
+ # make sure we don't target an anchient version of OSX
+ # issue http://code.google.com/p/v8/issues/detail?id=2151
+ #sed -i -e "/MACOSX_DEPLOYMENT_TARGET/d" build/standalone.gypi || die
+ epatch "${FILESDIR}"/${PN}-3.10.8.10-freebsd9.patch
+}
+
+src_compile() {
+ tc-export AR CC CXX RANLIB
+
+ # 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="$(get_version_component_range 1-3)"
+
+ 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
+
+ if [[ ${CHOST} == *-darwin* ]] ; then
+ # buildsystem is too horrific to get this built correctly
+ mkdir -p out/${mytarget}/lib.target
+ mv out/${mytarget}/libv8.so.${soname_version} \
+ out/${mytarget}/lib.target/libv8$(get_libname ${soname_version}) || die
+ install_name_tool \
+ -id "${EPREFIX}"/usr/$(get_libdir)/libv8$(get_libname) \
+ out/${mytarget}/lib.target/libv8$(get_libname ${soname_version}) \
+ || die
+ install_name_tool \
+ -change \
+ "${S}"/out/${mytarget}/libv8.so.${soname_version} \
+ "${EPREFIX}"/usr/$(get_libdir)/libv8$(get_libname) \
+ out/${mytarget}/d8 || die
+ fi
+
+ dobin out/${mytarget}/d8 || die
+
+ 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).*; 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
+}