Gentoo Archives: gentoo-commits

From: "PaweA Hajdan (phajdan.jr)" <phajdan.jr@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-lang/v8: ChangeLog v8-3.17.15.3.ebuild v8-3.17.6.ebuild
Date: Wed, 27 Mar 2013 22:31:17
Message-Id: 20130327223113.2AC742171D@flycatcher.gentoo.org
1 phajdan.jr 13/03/27 22:31:13
2
3 Modified: ChangeLog
4 Added: v8-3.17.15.3.ebuild
5 Removed: v8-3.17.6.ebuild
6 Log:
7 Dev channel bump. Set SONAME to PV (bug #462618 by Piotr Mitas). Remove old.
8
9 (Portage version: 2.1.11.55/cvs/Linux i686, signed Manifest commit with key 30427902)
10
11 Revision Changes Path
12 1.295 dev-lang/v8/ChangeLog
13
14 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-lang/v8/ChangeLog?rev=1.295&view=markup
15 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-lang/v8/ChangeLog?rev=1.295&content-type=text/plain
16 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-lang/v8/ChangeLog?r1=1.294&r2=1.295
17
18 Index: ChangeLog
19 ===================================================================
20 RCS file: /var/cvsroot/gentoo-x86/dev-lang/v8/ChangeLog,v
21 retrieving revision 1.294
22 retrieving revision 1.295
23 diff -u -r1.294 -r1.295
24 --- ChangeLog 22 Mar 2013 16:58:27 -0000 1.294
25 +++ ChangeLog 27 Mar 2013 22:31:13 -0000 1.295
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.294 2013/03/22 16:58:27 floppym Exp $
30 +# $Header: /var/cvsroot/gentoo-x86/dev-lang/v8/ChangeLog,v 1.295 2013/03/27 22:31:13 phajdan.jr Exp $
31 +
32 +*v8-3.17.15.3 (27 Mar 2013)
33 +
34 + 27 Mar 2013; Pawel Hajdan jr <phajdan.jr@g.o> -v8-3.17.6.ebuild,
35 + +v8-3.17.15.3.ebuild:
36 + Dev channel bump. Set SONAME to PV (bug #462618 by Piotr Mitas). Remove old.
37
38 22 Mar 2013; Mike Gilbert <floppym@g.o> v8-3.16.14.9-r1.ebuild:
39 Just set soname to ${PV} instead. Bug 462618.
40
41
42
43 1.1 dev-lang/v8/v8-3.17.15.3.ebuild
44
45 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-lang/v8/v8-3.17.15.3.ebuild?rev=1.1&view=markup
46 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-lang/v8/v8-3.17.15.3.ebuild?rev=1.1&content-type=text/plain
47
48 Index: v8-3.17.15.3.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.17.15.3.ebuild,v 1.1 2013/03/27 22:31:13 phajdan.jr Exp $
53
54 EAPI="5"
55 PYTHON_COMPAT=( python2_{6,7} )
56
57 inherit eutils multilib multiprocessing pax-utils python-any-r1 toolchain-funcs versionator
58
59 DESCRIPTION="Google's open source JavaScript engine"
60 HOMEPAGE="http://code.google.com/p/v8"
61 SRC_URI="https://commondatastorage.googleapis.com/chromium-browser-official/${P}.tar.bz2"
62 LICENSE="BSD"
63
64 soname_version="${PV}"
65 SLOT="0/${soname_version}"
66 KEYWORDS="~amd64 ~arm ~x86 ~x86-fbsd ~x64-macos ~x86-macos"
67 IUSE="readline"
68
69 RDEPEND="readline? ( sys-libs/readline:0 )"
70 DEPEND="${PYTHON_DEPS}
71 ${RDEPEND}"
72
73 src_configure() {
74 tc-export AR CC CXX RANLIB
75 export LINK=${CXX}
76
77 local hardfp=off
78
79 # Use target arch detection logic from bug #354601.
80 case ${CHOST} in
81 i?86-*) myarch=ia32 ;;
82 x86_64-*)
83 if [[ $ABI = x86 ]] ; then
84 myarch=ia32
85 else
86 myarch=x64
87 fi ;;
88 arm*-hardfloat-*)
89 hardfp=on
90 myarch=arm ;;
91 arm*-*) myarch=arm ;;
92 *) die "Unrecognized CHOST: ${CHOST}"
93 esac
94 mytarget=${myarch}.release
95
96 if use readline; then
97 console=readline
98 else
99 console=dumb
100 fi
101
102 # Generate the real Makefile.
103 emake V=1 \
104 library=shared \
105 werror=no \
106 soname_version=${soname_version} \
107 snapshot=on \
108 hardfp=${hardfp} \
109 console=${console} \
110 out/Makefile.${myarch}
111 }
112
113 src_compile() {
114 local makeargs=(
115 -C out
116 -f Makefile.${myarch}
117 V=1
118 BUILDTYPE=Release
119 builddir="${S}/out/${mytarget}"
120 )
121
122 # Build mksnapshot so we can pax-mark it.
123 emake "${makeargs[@]}" mksnapshot
124 pax-mark m out/${mytarget}/mksnapshot
125
126 # Build everything else.
127 emake "${makeargs[@]}"
128 pax-mark m out/${mytarget}/{cctest,d8,shell}
129 }
130
131 src_test() {
132 tools/test-wrapper-gypbuild.py \
133 -j$(makeopts_jobs) \
134 --arch-and-mode=${mytarget} \
135 --no-presubmit \
136 --progress=dots || die
137 }
138
139 src_install() {
140 insinto /usr
141 doins -r include
142
143 if [[ ${CHOST} == *-darwin* ]] ; then
144 # buildsystem is too horrific to get this built correctly
145 mkdir -p out/${mytarget}/lib.target || die
146 mv out/${mytarget}/libv8.so.${soname_version} \
147 out/${mytarget}/lib.target/libv8$(get_libname ${soname_version}) || die
148 install_name_tool \
149 -id "${EPREFIX}"/usr/$(get_libdir)/libv8$(get_libname) \
150 out/${mytarget}/lib.target/libv8$(get_libname ${soname_version}) \
151 || die
152 install_name_tool \
153 -change \
154 /usr/local/lib/libv8.so.${soname_version} \
155 "${EPREFIX}"/usr/$(get_libdir)/libv8$(get_libname) \
156 out/${mytarget}/d8 || die
157 fi
158
159 dobin out/${mytarget}/d8
160
161 dolib out/${mytarget}/lib.target/libv8$(get_libname ${soname_version})
162 dosym libv8$(get_libname ${soname_version}) /usr/$(get_libdir)/libv8$(get_libname)
163
164 dodoc AUTHORS ChangeLog || die
165 }