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