Gentoo Archives: gentoo-commits

From: "Mike Gilbert (floppym)" <floppym@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-lang/v8: v8-3.5.10.24.ebuild ChangeLog v8-3.5.10.22.ebuild
Date: Thu, 17 Nov 2011 03:02:10
Message-Id: 20111117030158.0D1B82004C@flycatcher.gentoo.org
1 floppym 11/11/17 03:01:58
2
3 Modified: ChangeLog
4 Added: v8-3.5.10.24.ebuild
5 Removed: v8-3.5.10.22.ebuild
6 Log:
7 Version bump for stable channel release.
8
9 (Portage version: 2.2.0_alpha74/cvs/Linux x86_64)
10
11 Revision Changes Path
12 1.105 dev-lang/v8/ChangeLog
13
14 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-lang/v8/ChangeLog?rev=1.105&view=markup
15 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-lang/v8/ChangeLog?rev=1.105&content-type=text/plain
16 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-lang/v8/ChangeLog?r1=1.104&r2=1.105
17
18 Index: ChangeLog
19 ===================================================================
20 RCS file: /var/cvsroot/gentoo-x86/dev-lang/v8/ChangeLog,v
21 retrieving revision 1.104
22 retrieving revision 1.105
23 diff -u -r1.104 -r1.105
24 --- ChangeLog 15 Nov 2011 11:24:57 -0000 1.104
25 +++ ChangeLog 17 Nov 2011 03:01:57 -0000 1.105
26 @@ -1,6 +1,12 @@
27 # ChangeLog for dev-lang/v8
28 # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
29 -# $Header: /var/cvsroot/gentoo-x86/dev-lang/v8/ChangeLog,v 1.104 2011/11/15 11:24:57 phajdan.jr Exp $
30 +# $Header: /var/cvsroot/gentoo-x86/dev-lang/v8/ChangeLog,v 1.105 2011/11/17 03:01:57 floppym Exp $
31 +
32 +*v8-3.5.10.24 (17 Nov 2011)
33 +
34 + 17 Nov 2011; Mike Gilbert <floppym@g.o> +v8-3.5.10.24.ebuild,
35 + -v8-3.5.10.22.ebuild:
36 + Version bump for stable channel release.
37
38 *v8-3.7.6 (15 Nov 2011)
39
40
41
42
43 1.1 dev-lang/v8/v8-3.5.10.24.ebuild
44
45 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-lang/v8/v8-3.5.10.24.ebuild?rev=1.1&view=markup
46 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-lang/v8/v8-3.5.10.24.ebuild?rev=1.1&content-type=text/plain
47
48 Index: v8-3.5.10.24.ebuild
49 ===================================================================
50 # Copyright 1999-2011 Gentoo Foundation
51 # Distributed under the terms of the GNU General Public License v2
52 # $Header: /var/cvsroot/gentoo-x86/dev-lang/v8/v8-3.5.10.24.ebuild,v 1.1 2011/11/17 03:01:57 floppym Exp $
53
54 EAPI="3"
55
56 inherit eutils flag-o-matic multilib pax-utils scons-utils toolchain-funcs
57
58 DESCRIPTION="Google's open source JavaScript engine"
59 HOMEPAGE="http://code.google.com/p/v8"
60 SRC_URI="http://commondatastorage.googleapis.com/chromium-browser-official/${P}.tar.bz2"
61 LICENSE="BSD"
62
63 SLOT="0"
64 KEYWORDS="~amd64 ~arm ~x86 ~x64-macos ~x86-macos"
65 IUSE="readline"
66
67 RDEPEND="readline? ( >=sys-libs/readline-6.1 )"
68 DEPEND="${RDEPEND}"
69
70 pkg_setup() {
71 tc-export AR CC CXX RANLIB
72
73 # Make the build respect LDFLAGS.
74 export LINKFLAGS="${LDFLAGS}"
75 }
76
77 src_prepare() {
78 # Stop -Werror from breaking the build.
79 epatch "${FILESDIR}"/${PN}-no-werror-r0.patch
80
81 # Respect the user's CFLAGS, including the optimization level.
82 epatch "${FILESDIR}"/${PN}-no-O3-r0.patch
83 }
84
85 src_configure() {
86 # GCC issues multiple warnings about strict-aliasing issues in v8 code.
87 append-flags -fno-strict-aliasing
88 }
89
90 src_compile() {
91 local myconf="library=shared soname=on importenv=LINKFLAGS,PATH"
92
93 # Use target arch detection logic from bug #354601.
94 case ${CHOST} in
95 i?86-*) myarch=x86 ;;
96 x86_64-*)
97 if [[ $ABI = "" ]] ; then
98 myarch=amd64
99 else
100 myarch="$ABI"
101 fi ;;
102 arm*-*) myarch=arm ;;
103 *) die "Unrecognized CHOST: ${CHOST}"
104 esac
105
106 if [[ $myarch = amd64 ]] ; then
107 myconf+=" arch=x64"
108 elif [[ $myarch = x86 ]] ; then
109 myconf+=" arch=ia32"
110 elif [[ $myarch = arm ]] ; then
111 myconf+=" arch=arm"
112 else
113 die "Failed to determine target arch, got '$myarch'."
114 fi
115
116 escons $(use_scons readline console readline dumb) ${myconf} || die
117 }
118
119 src_install() {
120 insinto /usr
121 doins -r include || die
122
123 if [[ ${CHOST} == *-darwin* ]] ; then
124 install_name_tool \
125 -id "${EPREFIX}"/usr/$(get_libdir)/libv8-${PV}$(get_libname) \
126 libv8-${PV}$(get_libname) || die
127 fi
128
129 dolib libv8-${PV}$(get_libname) || die
130 dosym libv8-${PV}$(get_libname) /usr/$(get_libdir)/libv8$(get_libname) || die
131
132 dodoc AUTHORS ChangeLog || die
133 }