summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaweł Hajdan <phajdan.jr@gentoo.org>2010-11-03 17:54:27 +0000
committerPaweł Hajdan <phajdan.jr@gentoo.org>2010-11-03 17:54:27 +0000
commit884a3448ee233577aef0cfb921e6bc247944a470 (patch)
treebba569ff67af4d3c0d7f52b10203c7ae9e4ecda3 /dev-lang/v8
parentMask aqbanking, gwenhywfar and libchipcard until issues with gnucash and kmym... (diff)
downloadhistorical-884a3448ee233577aef0cfb921e6bc247944a470.tar.gz
historical-884a3448ee233577aef0cfb921e6bc247944a470.tar.bz2
historical-884a3448ee233577aef0cfb921e6bc247944a470.zip
Version bump, bug #339848 by Johan Bergstroem <bugs@bergstroem.nu>.
Package-Manager: portage-2.1.8.3/cvs/Linux i686
Diffstat (limited to 'dev-lang/v8')
-rw-r--r--dev-lang/v8/ChangeLog7
-rw-r--r--dev-lang/v8/Manifest3
-rw-r--r--dev-lang/v8/v8-2.5.2.ebuild77
3 files changed, 85 insertions, 2 deletions
diff --git a/dev-lang/v8/ChangeLog b/dev-lang/v8/ChangeLog
index 161cec42fccb..6b605ba56d34 100644
--- a/dev-lang/v8/ChangeLog
+++ b/dev-lang/v8/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-lang/v8
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-lang/v8/ChangeLog,v 1.9 2010/11/02 08:49:28 phajdan.jr Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/v8/ChangeLog,v 1.10 2010/11/03 17:54:27 phajdan.jr Exp $
+
+*v8-2.5.2 (03 Nov 2010)
+
+ 03 Nov 2010; Pawel Hajdan jr <phajdan.jr@gentoo.org> +v8-2.5.2.ebuild:
+ Version bump, bug #339848 by Johan Bergstroem <bugs@bergstroem.nu>.
02 Nov 2010; Pawel Hajdan jr <phajdan.jr@gentoo.org> v8-2.4.9.10.ebuild:
Drop unneeded patch.
diff --git a/dev-lang/v8/Manifest b/dev-lang/v8/Manifest
index 3dfb3889fa01..f35996cfb95d 100644
--- a/dev-lang/v8/Manifest
+++ b/dev-lang/v8/Manifest
@@ -3,5 +3,6 @@ AUX v8-no-werror-r0.patch 573 RMD160 17791cdee16894b37e937f23146aff52bc3d4775 SH
AUX v8-upstream-bug-773-r0.patch 512 RMD160 407e6f3d557c8fbda2deb12698006a39c86bab60 SHA1 37b9f275b4dcd732a5f66b24a5b3dcab6f644142 SHA256 1be72e0ae271969ad67ce9226c89c9def78f3a9be9000be5a752f871b47178cc
EBUILD v8-2.4.9.10.ebuild 1840 RMD160 23323373e430e42c7de0f11fe66af3c3a706df5b SHA1 105921b338fb2fc60320386639664be283337f84 SHA256 5f43fc0066455024e70dd80e48250754500bb5e15f892c7c3b0b5ed3aca96ebb
EBUILD v8-2.4.9.6.ebuild 2129 RMD160 b9ca74862507c2959a63541b2c106a20bc5f1ac1 SHA1 20bf212abdd29648776230735760a1d011ad2bf0 SHA256 444ccb03928d488649f091f03c3d64b80536b26d4bde130e3d942f86b2510a7e
-MISC ChangeLog 1741 RMD160 88ae7ca187284c2f89ca13d39b369a45dec9a23c SHA1 24a6cf2a47639595a3995674f6bc907fdffd968f SHA256 dfdf6c5230e64f81998ce9272422f3cf07212058524c19dac4fd0dff6278c276
+EBUILD v8-2.5.2.ebuild 1837 RMD160 737e06adda5d37482984b89ee472dc5e96b16c4c SHA1 087a2ea5c1140737b8a458318ff88badc2950972 SHA256 86ffd6ce2051585dd5147374585996c3c20bab0446c21a98634094b9aeeaff46
+MISC ChangeLog 1911 RMD160 f9a55b72c1a3491d6d1aac1d05b19c4005674b1a SHA1 39683197deb8cebda530510d7cbf75ebe5d4a8dc SHA256 e381ac9784f3bf0d8213413536a32b18f6e06e0f4da313b69f600972ec41eecf
MISC metadata.xml 162 RMD160 3485b95578a49782c3188a0f963f90c688287fe1 SHA1 46226eeaf4948209a093253f92010abea501daef SHA256 8a3ecdcf518f45ec4843398f9896c9b4d1c867ff2cf2851cf40b06f756f111e8
diff --git a/dev-lang/v8/v8-2.5.2.ebuild b/dev-lang/v8/v8-2.5.2.ebuild
new file mode 100644
index 000000000000..dbd3867b58e4
--- /dev/null
+++ b/dev-lang/v8/v8-2.5.2.ebuild
@@ -0,0 +1,77 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/v8/v8-2.5.2.ebuild,v 1.1 2010/11/03 17:54:27 phajdan.jr Exp $
+
+EAPI="2"
+
+inherit eutils flag-o-matic multilib scons-utils subversion toolchain-funcs
+
+ESVN_REPO_URI="http://v8.googlecode.com/svn/tags/${PV}"
+
+DESCRIPTION="Google's open source JavaScript engine"
+HOMEPAGE="http://code.google.com/p/v8"
+LICENSE="BSD"
+
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="readline"
+
+RDEPEND="readline? ( >=sys-libs/readline-6.1 )"
+DEPEND="${RDEPEND}"
+
+EXTRA_ESCONS="library=shared soname=on"
+
+pkg_setup() {
+ tc-export AR CC CXX RANLIB
+}
+
+src_prepare() {
+ # Stop -Werror from breaking the build.
+ epatch "${FILESDIR}"/${PN}-no-werror-r0.patch
+
+ # Respect the user's CFLAGS, including the optimization level.
+ epatch "${FILESDIR}"/${PN}-no-O3-r0.patch
+
+ # Remove a test that is known to fail:
+ # http://groups.google.com/group/v8-users/browse_thread/thread/b8a3f42b5aa18d06
+ rm test/mjsunit/debug-script.js || die
+}
+
+src_configure() {
+ # GCC issues multiple warnings about strict-aliasing issues in v8 code.
+ append-flags -fno-strict-aliasing
+}
+
+src_compile() {
+ local myconf=""
+
+ # Use target arch detection logic from bug #296917.
+ local myarch="$ABI"
+ [[ $myarch = "" ]] && myarch="$ARCH"
+
+ if [[ $myarch = amd64 ]] ; then
+ myconf+=" arch=x64"
+ elif [[ $myarch = x86 ]] ; then
+ myconf+=" arch=ia32"
+ else
+ die "Failed to determine target arch, got '$myarch'."
+ fi
+
+ escons $(use_scons readline console readline dumb) ${myconf} . || die
+}
+
+src_install() {
+ insinto /usr
+ doins -r include || die
+
+ dobin d8 || die
+
+ dolib libv8-${PV}.so || die
+ dosym libv8-${PV}.so /usr/$(get_libdir)/libv8.so || die
+
+ dodoc AUTHORS ChangeLog || die
+}
+
+src_test() {
+ tools/test.py --no-build -p dots --shell d8 || die
+}