1 |
floppym 13/07/31 00:03:37 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: v8-3.18.5.14.ebuild |
5 |
Removed: v8-3.17.6.14.ebuild |
6 |
Log: |
7 |
Stable channel bump. |
8 |
|
9 |
(Portage version: 2.2.0_alpha190/cvs/Linux x86_64, signed Manifest commit with key 0BBEEA1FEA4843A4) |
10 |
|
11 |
Revision Changes Path |
12 |
1.326 dev-lang/v8/ChangeLog |
13 |
|
14 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-lang/v8/ChangeLog?rev=1.326&view=markup |
15 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-lang/v8/ChangeLog?rev=1.326&content-type=text/plain |
16 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-lang/v8/ChangeLog?r1=1.325&r2=1.326 |
17 |
|
18 |
Index: ChangeLog |
19 |
=================================================================== |
20 |
RCS file: /var/cvsroot/gentoo-x86/dev-lang/v8/ChangeLog,v |
21 |
retrieving revision 1.325 |
22 |
retrieving revision 1.326 |
23 |
diff -u -r1.325 -r1.326 |
24 |
--- ChangeLog 25 Jul 2013 04:04:45 -0000 1.325 |
25 |
+++ ChangeLog 31 Jul 2013 00:03:37 -0000 1.326 |
26 |
@@ -1,6 +1,12 @@ |
27 |
# ChangeLog for dev-lang/v8 |
28 |
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 |
29 |
-# $Header: /var/cvsroot/gentoo-x86/dev-lang/v8/ChangeLog,v 1.325 2013/07/25 04:04:45 phajdan.jr Exp $ |
30 |
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/v8/ChangeLog,v 1.326 2013/07/31 00:03:37 floppym Exp $ |
31 |
+ |
32 |
+*v8-3.18.5.14 (31 Jul 2013) |
33 |
+ |
34 |
+ 31 Jul 2013; Mike Gilbert <floppym@g.o> +v8-3.18.5.14.ebuild, |
35 |
+ -v8-3.17.6.14.ebuild: |
36 |
+ Stable channel bump. |
37 |
|
38 |
*v8-3.20.6 (25 Jul 2013) |
39 |
|
40 |
|
41 |
|
42 |
|
43 |
1.1 dev-lang/v8/v8-3.18.5.14.ebuild |
44 |
|
45 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-lang/v8/v8-3.18.5.14.ebuild?rev=1.1&view=markup |
46 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-lang/v8/v8-3.18.5.14.ebuild?rev=1.1&content-type=text/plain |
47 |
|
48 |
Index: v8-3.18.5.14.ebuild |
49 |
=================================================================== |
50 |
# Copyright 1999-2013 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.18.5.14.ebuild,v 1.1 2013/07/31 00:03:37 floppym Exp $ |
53 |
|
54 |
EAPI="5" |
55 |
PYTHON_COMPAT=( python2_{6,7} ) |
56 |
|
57 |
inherit chromium eutils multilib multiprocessing pax-utils python-any-r1 \ |
58 |
toolchain-funcs versionator |
59 |
|
60 |
DESCRIPTION="Google's open source JavaScript engine" |
61 |
HOMEPAGE="http://code.google.com/p/v8" |
62 |
SRC_URI="https://commondatastorage.googleapis.com/chromium-browser-official/${P}.tar.bz2" |
63 |
LICENSE="BSD" |
64 |
|
65 |
soname_version="${PV}" |
66 |
SLOT="0/${soname_version}" |
67 |
KEYWORDS="~amd64 ~arm ~x86 ~x86-fbsd ~x64-macos ~x86-macos" |
68 |
IUSE="neon readline" |
69 |
|
70 |
RDEPEND="readline? ( sys-libs/readline:0 )" |
71 |
DEPEND="${PYTHON_DEPS} |
72 |
${RDEPEND}" |
73 |
|
74 |
src_configure() { |
75 |
tc-export AR CC CXX RANLIB |
76 |
export LINK=${CXX} |
77 |
|
78 |
local myconf="" |
79 |
|
80 |
# Always build v8 as a shared library with proper SONAME. |
81 |
myconf+=" -Dcomponent=shared_library -Dsoname_version=${soname_version}" |
82 |
|
83 |
# Use target arch detection logic from bug #354601. |
84 |
case ${CHOST} in |
85 |
i?86-*) |
86 |
myarch="ia32" |
87 |
myconf+=" -Dv8_target_arch=ia32" ;; |
88 |
x86_64-*) |
89 |
if [[ $ABI = x86 ]] ; then |
90 |
myarch="ia32" |
91 |
myconf+=" -Dv8_target_arch=ia32" |
92 |
else |
93 |
myarch="x64" |
94 |
myconf+=" -Dv8_target_arch=x64" |
95 |
fi ;; |
96 |
arm*-*) |
97 |
myarch="arm" |
98 |
myconf+=" -Dv8_target_arch=arm -Darm_fpu=" |
99 |
if [[ ${CHOST} == *-hardfloat-* ]] ; then |
100 |
myconf+=" -Dv8_use_arm_eabi_hardfloat=true" |
101 |
else |
102 |
myconf+=" -Dv8_use_arm_eabi_hardfloat=false" |
103 |
fi |
104 |
if [[ ${CHOST} == armv7*-* ]] ; then |
105 |
myconf+=" -Darmv7=1" |
106 |
else |
107 |
myconf+=" -Darmv7=0" |
108 |
fi |
109 |
myconf+=" $(gyp_use neon arm_neon)" ;; |
110 |
*) die "Unrecognized CHOST: ${CHOST}" |
111 |
esac |
112 |
|
113 |
myconf+=" $(gyp_use readline console readline dumb)" |
114 |
|
115 |
# Make sure that -Werror doesn't get added to CFLAGS by the build system. |
116 |
# Depending on GCC version the warnings are different and we don't |
117 |
# want the build to fail because of that. |
118 |
myconf+=" -Dwerror=" |
119 |
|
120 |
# gyp does this only for linux, but we always want to use "out" dir, or |
121 |
# all else below fails due to not finding "out" dir |
122 |
myconf+=" --generator-output=out" |
123 |
# gyp defaults to whatever makes the most sense on the platform at hand, |
124 |
# but we want to build using Makefiles, so force that |
125 |
myconf+=" -f make" |
126 |
|
127 |
EGYP_CHROMIUM_COMMAND=build/gyp_v8 egyp_chromium ${myconf} || die |
128 |
} |
129 |
|
130 |
src_compile() { |
131 |
local makeargs=( |
132 |
-C out |
133 |
builddir="${S}/out/Release" |
134 |
V=1 |
135 |
BUILDTYPE=Release |
136 |
) |
137 |
|
138 |
# Build mksnapshot so we can pax-mark it. |
139 |
emake "${makeargs[@]}" mksnapshot.${myarch} |
140 |
pax-mark m out/Release/mksnapshot.${myarch} |
141 |
|
142 |
# Build everything else. |
143 |
emake "${makeargs[@]}" |
144 |
pax-mark m out/Release/{cctest,d8,preparser} |
145 |
} |
146 |
|
147 |
src_test() { |
148 |
LD_LIBRARY_PATH=out/Release/lib.target tools/run-tests.py \ |
149 |
-j$(makeopts_jobs) \ |
150 |
--no-presubmit \ |
151 |
--outdir=out \ |
152 |
--buildbot \ |
153 |
--arch=native \ |
154 |
--mode=Release \ |
155 |
--progress=dots || die |
156 |
} |
157 |
|
158 |
src_install() { |
159 |
insinto /usr |
160 |
doins -r include |
161 |
|
162 |
if [[ ${CHOST} == *-darwin* ]] ; then |
163 |
# buildsystem is too horrific to get this built correctly |
164 |
mkdir -p out/Release/lib.target || die |
165 |
mv out/Release/libv8.so.${soname_version} \ |
166 |
out/Release/lib.target/libv8$(get_libname ${soname_version}) || die |
167 |
install_name_tool \ |
168 |
-id "${EPREFIX}"/usr/$(get_libdir)/libv8$(get_libname) \ |
169 |
out/Release/lib.target/libv8$(get_libname ${soname_version}) \ |
170 |
|| die |
171 |
install_name_tool \ |
172 |
-change \ |
173 |
/usr/local/lib/libv8.so.${soname_version} \ |
174 |
"${EPREFIX}"/usr/$(get_libdir)/libv8$(get_libname) \ |
175 |
out/Release/d8 || die |
176 |
fi |
177 |
|
178 |
dobin out/Release/d8 |
179 |
pax-mark m "${ED}usr/bin/d8" |
180 |
|
181 |
dolib out/Release/lib.target/libv8$(get_libname ${soname_version}) |
182 |
dosym libv8$(get_libname ${soname_version}) /usr/$(get_libdir)/libv8$(get_libname) |
183 |
|
184 |
dodoc AUTHORS ChangeLog |
185 |
} |
186 |
|
187 |
# TODO: remove functions below after they are removed from chromium.eclass' |
188 |
# EXPORT_FUNCTIONS . |
189 |
|
190 |
pkg_preinst() { |
191 |
return |
192 |
} |
193 |
|
194 |
pkg_postinst() { |
195 |
return |
196 |
} |
197 |
|
198 |
pkg_postrm() { |
199 |
return |
200 |
} |