1 |
floppym 12/10/31 20:12:14 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: v8-3.13.7.5.ebuild |
5 |
Removed: v8-3.13.7.2.ebuild v8-3.13.7.1.ebuild |
6 |
Log: |
7 |
Beta channel bump. |
8 |
|
9 |
(Portage version: 2.2.0_alpha142/cvs/Linux x86_64, signed Manifest commit with key 0BBEEA1FEA4843A4) |
10 |
|
11 |
Revision Changes Path |
12 |
1.251 dev-lang/v8/ChangeLog |
13 |
|
14 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-lang/v8/ChangeLog?rev=1.251&view=markup |
15 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-lang/v8/ChangeLog?rev=1.251&content-type=text/plain |
16 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-lang/v8/ChangeLog?r1=1.250&r2=1.251 |
17 |
|
18 |
Index: ChangeLog |
19 |
=================================================================== |
20 |
RCS file: /var/cvsroot/gentoo-x86/dev-lang/v8/ChangeLog,v |
21 |
retrieving revision 1.250 |
22 |
retrieving revision 1.251 |
23 |
diff -u -r1.250 -r1.251 |
24 |
--- ChangeLog 25 Oct 2012 03:35:38 -0000 1.250 |
25 |
+++ ChangeLog 31 Oct 2012 20:12:14 -0000 1.251 |
26 |
@@ -1,6 +1,12 @@ |
27 |
# ChangeLog for dev-lang/v8 |
28 |
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 |
29 |
-# $Header: /var/cvsroot/gentoo-x86/dev-lang/v8/ChangeLog,v 1.250 2012/10/25 03:35:38 phajdan.jr Exp $ |
30 |
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/v8/ChangeLog,v 1.251 2012/10/31 20:12:14 floppym Exp $ |
31 |
+ |
32 |
+*v8-3.13.7.5 (31 Oct 2012) |
33 |
+ |
34 |
+ 31 Oct 2012; Mike Gilbert <floppym@g.o> +v8-3.13.7.5.ebuild, |
35 |
+ -v8-3.13.7.1.ebuild, -v8-3.13.7.2.ebuild: |
36 |
+ Beta channel bump. |
37 |
|
38 |
*v8-3.14.5 (25 Oct 2012) |
39 |
|
40 |
|
41 |
|
42 |
|
43 |
1.1 dev-lang/v8/v8-3.13.7.5.ebuild |
44 |
|
45 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-lang/v8/v8-3.13.7.5.ebuild?rev=1.1&view=markup |
46 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-lang/v8/v8-3.13.7.5.ebuild?rev=1.1&content-type=text/plain |
47 |
|
48 |
Index: v8-3.13.7.5.ebuild |
49 |
=================================================================== |
50 |
# Copyright 1999-2012 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.13.7.5.ebuild,v 1.1 2012/10/31 20:12:14 floppym Exp $ |
53 |
|
54 |
EAPI="4" |
55 |
|
56 |
PYTHON_DEPEND="2:2.6" |
57 |
|
58 |
inherit eutils multilib pax-utils python toolchain-funcs versionator |
59 |
|
60 |
DESCRIPTION="Google's open source JavaScript engine" |
61 |
HOMEPAGE="http://code.google.com/p/v8" |
62 |
SRC_URI="http://commondatastorage.googleapis.com/chromium-browser-official/${P}.tar.bz2" |
63 |
LICENSE="BSD" |
64 |
|
65 |
SLOT="0" |
66 |
KEYWORDS="~amd64 ~arm ~x86 ~x86-fbsd ~x64-macos ~x86-macos" |
67 |
IUSE="" |
68 |
|
69 |
pkg_setup() { |
70 |
python_set_active_version 2 |
71 |
python_pkg_setup |
72 |
} |
73 |
|
74 |
src_prepare() { |
75 |
epatch "${FILESDIR}"/${PN}-3.10.8.10-freebsd9.patch |
76 |
} |
77 |
|
78 |
src_compile() { |
79 |
tc-export AR CC CXX RANLIB |
80 |
export LINK=${CXX} |
81 |
|
82 |
local hardfp=off |
83 |
|
84 |
# Use target arch detection logic from bug #354601. |
85 |
case ${CHOST} in |
86 |
i?86-*) myarch=ia32 ;; |
87 |
x86_64-*) |
88 |
if [[ $ABI = x86 ]] ; then |
89 |
myarch=ia32 |
90 |
else |
91 |
myarch=x64 |
92 |
fi ;; |
93 |
arm*-hardfloat-*) |
94 |
hardfp=on |
95 |
myarch=arm ;; |
96 |
arm*-*) myarch=arm ;; |
97 |
*) die "Unrecognized CHOST: ${CHOST}" |
98 |
esac |
99 |
mytarget=${myarch}.release |
100 |
|
101 |
soname_version="$(get_version_component_range 1-3)" |
102 |
|
103 |
local snapshot=on |
104 |
host-is-pax && snapshot=off |
105 |
|
106 |
# TODO: Add console=readline option once implemented upstream |
107 |
# http://code.google.com/p/v8/issues/detail?id=1781 |
108 |
|
109 |
emake V=1 \ |
110 |
library=shared \ |
111 |
werror=no \ |
112 |
soname_version=${soname_version} \ |
113 |
snapshot=${snapshot} \ |
114 |
hardfp=${hardfp} \ |
115 |
${mytarget} || die |
116 |
|
117 |
pax-mark m out/${mytarget}/{cctest,d8,shell} || die |
118 |
} |
119 |
|
120 |
src_test() { |
121 |
local arg testjobs |
122 |
for arg in ${MAKEOPTS}; do |
123 |
case ${arg} in |
124 |
-j*) testjobs=${arg#-j} ;; |
125 |
--jobs=*) testjobs=${arg#--jobs=} ;; |
126 |
esac |
127 |
done |
128 |
|
129 |
tools/test-wrapper-gypbuild.py \ |
130 |
-j${testjobs:-1} \ |
131 |
--arch-and-mode=${mytarget} \ |
132 |
--no-presubmit \ |
133 |
--progress=dots || die |
134 |
} |
135 |
|
136 |
src_install() { |
137 |
insinto /usr |
138 |
doins -r include || die |
139 |
|
140 |
if [[ ${CHOST} == *-darwin* ]] ; then |
141 |
# buildsystem is too horrific to get this built correctly |
142 |
mkdir -p out/${mytarget}/lib.target |
143 |
mv out/${mytarget}/libv8.so.${soname_version} \ |
144 |
out/${mytarget}/lib.target/libv8$(get_libname ${soname_version}) || die |
145 |
install_name_tool \ |
146 |
-id "${EPREFIX}"/usr/$(get_libdir)/libv8$(get_libname) \ |
147 |
out/${mytarget}/lib.target/libv8$(get_libname ${soname_version}) \ |
148 |
|| die |
149 |
install_name_tool \ |
150 |
-change \ |
151 |
"${S}"/out/${mytarget}/libv8.so.${soname_version} \ |
152 |
"${EPREFIX}"/usr/$(get_libdir)/libv8$(get_libname) \ |
153 |
out/${mytarget}/d8 || die |
154 |
fi |
155 |
|
156 |
dobin out/${mytarget}/d8 || die |
157 |
|
158 |
dolib out/${mytarget}/lib.target/libv8$(get_libname ${soname_version}) || die |
159 |
dosym libv8$(get_libname ${soname_version}) /usr/$(get_libdir)/libv8$(get_libname) || die |
160 |
|
161 |
dodoc AUTHORS ChangeLog || die |
162 |
} |
163 |
|
164 |
pkg_preinst() { |
165 |
preserved_libs=() |
166 |
local baselib candidate |
167 |
|
168 |
eshopts_push -s nullglob |
169 |
|
170 |
for candidate in "${EROOT}usr/$(get_libdir)"/libv8$(get_libname).*; do |
171 |
baselib=${candidate##*/} |
172 |
if [[ ! -e "${ED}usr/$(get_libdir)/${baselib}" ]]; then |
173 |
preserved_libs+=( "${EPREFIX}/usr/$(get_libdir)/${baselib}" ) |
174 |
fi |
175 |
done |
176 |
|
177 |
eshopts_pop |
178 |
|
179 |
if [[ ${#preserved_libs[@]} -gt 0 ]]; then |
180 |
preserve_old_lib "${preserved_libs[@]}" |
181 |
fi |
182 |
} |
183 |
|
184 |
pkg_postinst() { |
185 |
if [[ ${#preserved_libs[@]} -gt 0 ]]; then |
186 |
preserve_old_lib_notify "${preserved_libs[@]}" |
187 |
fi |
188 |
} |