summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Gilbert <floppym@gentoo.org>2012-12-20 01:14:55 +0000
committerMike Gilbert <floppym@gentoo.org>2012-12-20 01:14:55 +0000
commit8ed2319b7e0c18338a5a5025d7bdd23b3fcd32ae (patch)
tree66011205b20c5bca0821f2a710995cc2ffe05e2b /dev-lang/v8
parentBeta channel bump. (diff)
downloadhistorical-8ed2319b7e0c18338a5a5025d7bdd23b3fcd32ae.tar.gz
historical-8ed2319b7e0c18338a5a5025d7bdd23b3fcd32ae.tar.bz2
historical-8ed2319b7e0c18338a5a5025d7bdd23b3fcd32ae.zip
Beta channel bump.
Package-Manager: portage-2.2.0_alpha149/cvs/Linux x86_64 Manifest-Sign-Key: 0x0BBEEA1FEA4843A4
Diffstat (limited to 'dev-lang/v8')
-rw-r--r--dev-lang/v8/ChangeLog8
-rw-r--r--dev-lang/v8/Manifest15
-rw-r--r--dev-lang/v8/v8-3.14.5.1.ebuild135
-rw-r--r--dev-lang/v8/v8-3.14.5.3.ebuild (renamed from dev-lang/v8/v8-3.14.5.1-r1.ebuild)2
-rw-r--r--dev-lang/v8/v8-3.14.5.ebuild135
5 files changed, 14 insertions, 281 deletions
diff --git a/dev-lang/v8/ChangeLog b/dev-lang/v8/ChangeLog
index b865f1f84def..48120d670fd4 100644
--- a/dev-lang/v8/ChangeLog
+++ b/dev-lang/v8/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for dev-lang/v8
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-lang/v8/ChangeLog,v 1.263 2012/12/15 23:26:20 phajdan.jr Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/v8/ChangeLog,v 1.264 2012/12/20 01:14:53 floppym Exp $
+
+*v8-3.14.5.3 (20 Dec 2012)
+
+ 20 Dec 2012; Mike Gilbert <floppym@gentoo.org> +v8-3.14.5.3.ebuild,
+ -v8-3.14.5.1-r1.ebuild, -v8-3.14.5.1.ebuild, -v8-3.14.5.ebuild:
+ Beta channel bump.
*v8-3.15.11.1 (15 Dec 2012)
diff --git a/dev-lang/v8/Manifest b/dev-lang/v8/Manifest
index 41c89f03a138..852ee004493d 100644
--- a/dev-lang/v8/Manifest
+++ b/dev-lang/v8/Manifest
@@ -5,25 +5,22 @@ AUX v8-3.10.8.10-darwin-arch.patch 1146 SHA256 4b352c597105d71a7f1c907062dec7189
AUX v8-3.10.8.10-freebsd9.patch 421 SHA256 2cd4acf369ae32d549fbddfe5605379e1563a4227bae5a41b4de66078b7d75ad SHA512 3532cd316024fa6d0d8c0cbc4d3374913007da34ee8d33038e22d10a0c2663c2879c7b82b0b0edeb96c36adf8dc1ca02ff7f8ec4caf387f0f4031ba539f28631 WHIRLPOOL 3a419c10d1f5a2a1e00149b7219e121c91ce9791eb0b67608f69b27f4d2347703abd27a1ed51fa945dd14f6425b5e05fa93b932b470b407e4008673e83e518bc
AUX v8-makefile-hardfp-r0.patch 462 SHA256 f4b0bbd7134856a0e4ff8895170818f3c7f8f1c566fd944583550b4af6b8d3a0 SHA512 b438a895cfaad18ea7a50fcce98269691bdc1bcb10b6f4829322a094235c593dac5e156eed803a9f9b0bed5f5f008e7bbc508ce6ecc8fb25c63731d4b024515f WHIRLPOOL 49fbfb6efe2e46ebf7d3de3729e59a610e984ab145aef68968ac8c14b147f4d714276930a809dce5307415fe3de5e6a4ec4a8f5c655a959358117a5ffeec7014
DIST v8-3.13.7.5.tar.bz2 10203429 SHA256 f28c939b89adfbb8a7e44b1c65a75c368256e68d17ee84516b2bb15e946e6d5f SHA512 71bf56b913a96850d97e27615c4a0ccec384bb5eb4774f0af6fd9029b6762f71b6119b92d6dad6ef4c001954623213ef3a46e168a7fd7f334981e4c6c00a0a57 WHIRLPOOL 4400312a142e509ce25fbebd02313377c120c8f0d8852ee6a5e788f7338a5e47f2c41b2b52921ae2ae51987ea87418a149f241a60bc11b32cac3d820f5cccfe3
-DIST v8-3.14.5.1.tar.bz2 10354929 SHA256 bf3b671e75e5de3ab814846a895d4577dba45e435cbb173141a4ed05c945878f SHA512 0a98ddf24841261997089ad2906050fdd76e937be6208dfb6b5fa5bab9e00a5434a347fcd4b5cc59c83a798a2741ddf01cf44b9af1c8c10de5c7b845720e30f6 WHIRLPOOL 797e9af1ccaf4179a6170d7b87e9a5ddca9c44424287e71c340008c2c6a4a50efdf75559f563a56337c6618aaed9567b364099b5c7f6c2636b75fe37b799bb72
DIST v8-3.14.5.2.tar.bz2 10352003 SHA256 3b296a8f5cd49c3c5999fc60020931b7ef7d65369ebac5a12df2b0069669018f SHA512 4e651d31a75b0e2b766fb0e91b0f4a4ef3c6ad4e8f8eb48a5ac13424475222e8fca02946fe54cde3fb77b63b1b53cd436cefea17bb10598cac4b1608e93d0df0 WHIRLPOOL 8dd94bc4afa5e5d0203b37e5b309ecee16e34d3f6362dc9be11944a80a71528a9805a21812fa71c81324ec761e5c7439e5ec2fb1ea9b30edd7c2919b4d28e6e7
-DIST v8-3.14.5.tar.bz2 10351058 SHA256 361ad3b63dc7c9d0943b72b1be592a8135e4ddb0e416b9bcf02b4d2df514fca7 SHA512 ee27a9f892c1d2151173d38e007dc226c0d59768c26bb2e8f9be8057898d76839c93f70fcda4e6771634d564dcb565e1378e6fcbbfcd8317723cb63c24d32956 WHIRLPOOL 9a9ea3bdf7b466329640ecad752b04ef3c7e288581a23683cda331323369ee2804e91419b2a20eba19594eb517850b33761e13dc7b02f96d1771bca306c7e391
+DIST v8-3.14.5.3.tar.bz2 10352249 SHA256 f91d851abd284589272f2b338c74e10f07ce667736e8e73cbd301172cb7f75a1 SHA512 ea090f390d9ec86b33393135d9e14f2a059e0341f65aaa86e4816ee9b2f0d9dbdb1ef1d86b6eab5742c93f62279bb4ce806a86eeacc4e0e0b04b0627c462b685 WHIRLPOOL fbb44dfed7c77fac28eb4d87e9f151ab0e70d6e57807de0f6af3c71ec7006cee15cc2935f3c75375f8a793a92fcd6a9f453ba2ea4b7e0d7353f5f0382ca9d937
DIST v8-3.15.11.1.tar.bz2 10394939 SHA256 8c621ff68e182fe200e3c8818a78f67a7d675c6303112b20f09c46e723a1cc0a SHA512 7e194d8b98cc864eb695b84cdee524258e727a6dd9f5fa8ffe96e4a280723907db7ea8799d40e87bbec6eb566563cc1e56e95c734f1d1f55bebfd8782f47bee5 WHIRLPOOL be564578d1065e9d613b5e7474a227572f456039a4daa7050cf1c3449dcd3d4b323d9f6f581c875d779f99deb477ed027f8f777ad86bf81fdf1751948ec2a4f8
DIST v8-3.15.7.2.tar.bz2 10385188 SHA256 51083a30a1a01282d5c977e91beb44bf014da604161127039a8465f91b4623e5 SHA512 1955082efc11b8c047abb28899968d53948e010ff8ffc7bcefe61aefc2234050b24bda34d1ac85953d007adb9b528725970e2207ab46e4e2be62ba54ca0e706d WHIRLPOOL a507b532262304ee8ccddb6a35863f4a400fca7be59ca88ebd0f3a40bb9c6b433ef8f8940d629c9e92574c3bbfb6a8662a7292c116281d2bf96fb03612e3e575
EBUILD v8-3.13.7.5.ebuild 3308 SHA256 7f5dd3184e6799de5a2cc509bb4ebe36c89dd67d271c13c0c73acd915ea34441 SHA512 12f6a62cb1441b99ae302205c54ec1b1a95a06970efb99975165496d2c44bd3198ad7ea3959018485e9679c384b64fee204c271ba2897e38f988bd95a3780323 WHIRLPOOL fb33e41bfc4d28efdf5def9247fdecc777bd974f92d75b1aee9da1b2997f90dc32fd78fc16b51d6f2022727a345acd3c34241b2da5478c1237f085f1da6fcda2
-EBUILD v8-3.14.5.1-r1.ebuild 2684 SHA256 9af2e390ae307dd224ff181f97c0eefad7dab637b803cfb11edd2baed8b74728 SHA512 0137c95c5ab83e2557948a7a99b420ccb6f04f3fb0f979059eab8e45d45733db00b753e56bcd2110212de95178db4d433d94ce39d8b263fd95d98eec62a62bb5 WHIRLPOOL cb6163cc92a9e5900ff672f0780ecefd84ed916bd618d358d13bb3d8739e0e32aba246bfb3959a76e247f926439a9726b3dbc74f811aed731617e9d734ba2a0b
-EBUILD v8-3.14.5.1.ebuild 3234 SHA256 254f2c897f5be714576ac9efaab13749a642758247cfef735413e533728c8da9 SHA512 432457cd04cd43cc7bcdb36ecfd86eb7f01ded05774e1d671446585c96438307e3518bcb65b690840d1ff1dd3cf731bfc20f1c663e6dbd531c152295fc6cb11d WHIRLPOOL 3d18451a482ed123017601a365029dabea0727a9a240feab8d9423e7b85a49b0ce8721a52148dff240009ff1ff6e70f8d0dff7f26cbf91d8d92c981221c92799
EBUILD v8-3.14.5.2.ebuild 2681 SHA256 cb590dc202c27223cf87482c2fd73affb40155f55bc236143fd3dfa881a67174 SHA512 9066b51dce5845ab1988a2a06ddf894c6218eb938dd6cdc99c9fa36e5676d172509fd21ad4ec1d9c1e4486afc5936e9aad70787b2085a97b1fe2d9747dd72d16 WHIRLPOOL c8c822c8fa8690758e93aaa1f079a6c38275cb0aa27a1c1c5e1d6f57ea826d1ffabd59a6330b1e7de2ee8d61a05584fcb844219542c6b14af2bd0b79275a9ea8
-EBUILD v8-3.14.5.ebuild 3243 SHA256 ed1a50d95caaee3ed135a22ea2e8307e37151fd02d03ccbf4048ad95b435ee01 SHA512 71be7e7aee27470ba185e09140deb9791e09ac86f659274c1b11a05d0599c71c4f68c9d39804df5ebdb17ed0a85145d94e840be521a95c2bdf7d0350c72ea0c8 WHIRLPOOL f4fe96b063892148daf6eb9bc04e7a25775e2b8b0e604ef9a248f65b62a252041a651d9d4ba64550a96f02150c4e594390c046608685e1b219c8febb76b5e511
+EBUILD v8-3.14.5.3.ebuild 2681 SHA256 154767a52867a37c8fa14e0dbb0565df3d6341d7e9feb40b7c0888ac8c130a61 SHA512 94bb5032e97364e13bf0819154f98254e3bd03377af4e92e3d914057331f4db464cec7db0a35bf804a8a0290819ac996067eadd99af8bfebc424b6a13e6b032d WHIRLPOOL 0e4a26289571650f6aab39192853b316583ccb786a7a6c18dbda15129019298006fb5b5ffe22c5bce70869da8979269ed9f09548e617fdcc552f048c0e3f7510
EBUILD v8-3.15.11.1.ebuild 2685 SHA256 eabfec92bfe28e7b16617a9c2ddff869b5812d09ca34f5bce9208bf0c82add76 SHA512 0245b84baf71bc6e29fd8983b61a6e988ab52a061bf4f78cf55679791be0d2ae0df8ac1d9a9002689a8f3a0d195989e7cee1c6327eeed46467b1964abbc8fdf1 WHIRLPOOL c42d6d5abd632853e26ba470c23e4420718c542825cda8444c41d7ec5e9699e1f7aebf2898637e1c9d46c238234cd57c758bd453432899f3b842485a56b259c6
EBUILD v8-3.15.7.2.ebuild 2681 SHA256 1759fb271e4b482ddda566f34d03151ba4cf3cf4f49715fb93c6305651b6c7f5 SHA512 48eac5411f631e426955506910a6d5dbb749ac0723fbedf5722cdae2f80bbcee98a705658b136a9b2f3573eb553d97273e77ecb419a033876b81dca260c164cb WHIRLPOOL d652f1f61bb2359e65c16aa4011bf91ce73ff965f32816d48685959dbfc60540b3ca9b8876fe941eeb54de125aaf6805f6c92e70a871164eb6b1acee69e059f5
EBUILD v8-9999.ebuild 2697 SHA256 67dafd2e27d58bf6cb6d1a75129610188f66c30152d70647ed5bdb5aa4906b42 SHA512 4ec50e88c06d9ec0f1e4ba047ef50f3812322639f72d0bf27e9e6e67274209ba67605a6985d899cb423b305562b4ca37eaee078f3594df2180849dc370e4da20 WHIRLPOOL b71355955de91f633f2520a49bcc01e9f9062e8c98d932413cf216c7b28be928c897227d5341eb36f19b804bde72968c183ff3fc50c4fb1be9e5c1871b615623
-MISC ChangeLog 41168 SHA256 cfb90760a9ead81d766f5f305de717709139eeea2d8a13da3968e09d634dd89f SHA512 ee468976064fb560b4be8c078df50b7d08729319cda2a34bd03badc0ae7a4e237bd38e7637572294489965269729d4aa152a2e0ec7ea0cde4a33bb8476bbba12 WHIRLPOOL 03cb92c7de88949ae0574eadc9cd681a0ee1f213bc376633b8478953bffad618adaf101b95338e2b73ead63d767980c08700545b8cfa0a3bb76f19dc5c82786b
+MISC ChangeLog 41351 SHA256 15882b1a76318db40c12ac5857babb57bf2d88179899ea2a2fb5dfe725b58151 SHA512 50e8de0c92b8af0c042b29c864aeafd4bbafb700527c8bcd903113da9a83acd40b85c3bf2126a778b51bd8fa2a270cb1d56c4fc953b3390470c9ec98f53fd7fd WHIRLPOOL 2d0ff5986bfe0a7e104a7cb9c6346ac7bc6960f08af8e78269a16ee61cba971060657cf5275f2e4781d1a25955d7abce69bf3d09a36ede3b1119e441e7a247d8
MISC metadata.xml 162 SHA256 8a3ecdcf518f45ec4843398f9896c9b4d1c867ff2cf2851cf40b06f756f111e8 SHA512 51796fe7e55b73dbfbe4a6b5fd089f5e8e4d327ff67d4a267692dda38380df5048ea77e8f058c466ae17726af5f099a3240b0500d53e421d95acc583164d3fe9 WHIRLPOOL 279b6ed997fab0d4278c01814bdd067068bceff8d1ce9933087828ce7598513b5a809013c996a3b134da6072c698a87ae151cfb56407fd62ff465b165197f5bf
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.19 (GNU/Linux)
-iEYEAREIAAYFAlDNByQACgkQuUQtlDBCeQJNMQCfY7/mcaHSFU4z4YNg5j2UIhoF
-dXsAn1dbBZuZZWJ3J4/kRM4AuB226yAM
-=DU+i
+iF4EAREIAAYFAlDSZo4ACgkQC77qH+pIQ6SCkQD/QZo3gaD+OFaN4gGhDa2H0gXx
+namQVQqOVi4Rh2YiAtkA/Rlgn5oXH133uTVyUYSv4JzSSa8xAbViSiFusHKLgRqP
+=ndSh
-----END PGP SIGNATURE-----
diff --git a/dev-lang/v8/v8-3.14.5.1.ebuild b/dev-lang/v8/v8-3.14.5.1.ebuild
deleted file mode 100644
index d205c1ab19cc..000000000000
--- a/dev-lang/v8/v8-3.14.5.1.ebuild
+++ /dev/null
@@ -1,135 +0,0 @@
-# Copyright 1999-2012 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-lang/v8/v8-3.14.5.1.ebuild,v 1.2 2012/11/16 19:25:59 grobian Exp $
-
-EAPI="4"
-
-PYTHON_DEPEND="2:2.6"
-
-inherit eutils multilib pax-utils python toolchain-funcs versionator
-
-DESCRIPTION="Google's open source JavaScript engine"
-HOMEPAGE="http://code.google.com/p/v8"
-SRC_URI="http://commondatastorage.googleapis.com/chromium-browser-official/${P}.tar.bz2"
-LICENSE="BSD"
-
-SLOT="0"
-KEYWORDS="~amd64 ~arm ~x86 ~x86-fbsd ~x64-macos ~x86-macos"
-IUSE=""
-
-pkg_setup() {
- python_set_active_version 2
- python_pkg_setup
-}
-
-src_compile() {
- tc-export AR CC CXX RANLIB
- export LINK=${CXX}
-
- local hardfp=off
-
- # Use target arch detection logic from bug #354601.
- case ${CHOST} in
- i?86-*) myarch=ia32 ;;
- x86_64-*)
- if [[ $ABI = x86 ]] ; then
- myarch=ia32
- else
- myarch=x64
- fi ;;
- arm*-hardfloat-*)
- hardfp=on
- myarch=arm ;;
- arm*-*) myarch=arm ;;
- *) die "Unrecognized CHOST: ${CHOST}"
- esac
- mytarget=${myarch}.release
-
- soname_version="$(get_version_component_range 1-3)"
-
- local snapshot=on
- host-is-pax && snapshot=off
-
- # TODO: Add console=readline option once implemented upstream
- # http://code.google.com/p/v8/issues/detail?id=1781
-
- emake V=1 \
- library=shared \
- werror=no \
- soname_version=${soname_version} \
- snapshot=${snapshot} \
- hardfp=${hardfp} \
- ${mytarget} || die
-
- pax-mark m out/${mytarget}/{cctest,d8,shell} || die
-}
-
-src_test() {
- local arg testjobs
- for arg in ${MAKEOPTS}; do
- case ${arg} in
- -j*) testjobs=${arg#-j} ;;
- --jobs=*) testjobs=${arg#--jobs=} ;;
- esac
- done
-
- tools/test-wrapper-gypbuild.py \
- -j${testjobs:-1} \
- --arch-and-mode=${mytarget} \
- --no-presubmit \
- --progress=dots || die
-}
-
-src_install() {
- insinto /usr
- doins -r include || die
-
- if [[ ${CHOST} == *-darwin* ]] ; then
- # buildsystem is too horrific to get this built correctly
- mkdir -p out/${mytarget}/lib.target
- mv out/${mytarget}/libv8.so.${soname_version} \
- out/${mytarget}/lib.target/libv8$(get_libname ${soname_version}) || die
- install_name_tool \
- -id "${EPREFIX}"/usr/$(get_libdir)/libv8$(get_libname) \
- out/${mytarget}/lib.target/libv8$(get_libname ${soname_version}) \
- || die
- install_name_tool \
- -change \
- /usr/local/lib/libv8.so.${soname_version} \
- "${EPREFIX}"/usr/$(get_libdir)/libv8$(get_libname) \
- out/${mytarget}/d8 || die
- fi
-
- dobin out/${mytarget}/d8 || die
-
- dolib out/${mytarget}/lib.target/libv8$(get_libname ${soname_version}) || die
- dosym libv8$(get_libname ${soname_version}) /usr/$(get_libdir)/libv8$(get_libname) || die
-
- dodoc AUTHORS ChangeLog || die
-}
-
-pkg_preinst() {
- preserved_libs=()
- local baselib candidate
-
- eshopts_push -s nullglob
-
- for candidate in "${EROOT}usr/$(get_libdir)"/libv8$(get_libname).*; do
- baselib=${candidate##*/}
- if [[ ! -e "${ED}usr/$(get_libdir)/${baselib}" ]]; then
- preserved_libs+=( "${EPREFIX}/usr/$(get_libdir)/${baselib}" )
- fi
- done
-
- eshopts_pop
-
- if [[ ${#preserved_libs[@]} -gt 0 ]]; then
- preserve_old_lib "${preserved_libs[@]}"
- fi
-}
-
-pkg_postinst() {
- if [[ ${#preserved_libs[@]} -gt 0 ]]; then
- preserve_old_lib_notify "${preserved_libs[@]}"
- fi
-}
diff --git a/dev-lang/v8/v8-3.14.5.1-r1.ebuild b/dev-lang/v8/v8-3.14.5.3.ebuild
index a4d6ce13eb3d..fde6234c0266 100644
--- a/dev-lang/v8/v8-3.14.5.1-r1.ebuild
+++ b/dev-lang/v8/v8-3.14.5.3.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-lang/v8/v8-3.14.5.1-r1.ebuild,v 1.3 2012/12/08 16:53:57 floppym Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/v8/v8-3.14.5.3.ebuild,v 1.1 2012/12/20 01:14:53 floppym Exp $
EAPI="5"
PYTHON_COMPAT=( python2_{6,7} )
diff --git a/dev-lang/v8/v8-3.14.5.ebuild b/dev-lang/v8/v8-3.14.5.ebuild
deleted file mode 100644
index 4dc2c21d512f..000000000000
--- a/dev-lang/v8/v8-3.14.5.ebuild
+++ /dev/null
@@ -1,135 +0,0 @@
-# Copyright 1999-2012 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-lang/v8/v8-3.14.5.ebuild,v 1.1 2012/10/25 03:35:38 phajdan.jr Exp $
-
-EAPI="4"
-
-PYTHON_DEPEND="2:2.6"
-
-inherit eutils multilib pax-utils python toolchain-funcs versionator
-
-DESCRIPTION="Google's open source JavaScript engine"
-HOMEPAGE="http://code.google.com/p/v8"
-SRC_URI="http://commondatastorage.googleapis.com/chromium-browser-official/${P}.tar.bz2"
-LICENSE="BSD"
-
-SLOT="0"
-KEYWORDS="~amd64 ~arm ~x86 ~x86-fbsd ~x64-macos ~x86-macos"
-IUSE=""
-
-pkg_setup() {
- python_set_active_version 2
- python_pkg_setup
-}
-
-src_compile() {
- tc-export AR CC CXX RANLIB
- export LINK=${CXX}
-
- local hardfp=off
-
- # Use target arch detection logic from bug #354601.
- case ${CHOST} in
- i?86-*) myarch=ia32 ;;
- x86_64-*)
- if [[ $ABI = x86 ]] ; then
- myarch=ia32
- else
- myarch=x64
- fi ;;
- arm*-hardfloat-*)
- hardfp=on
- myarch=arm ;;
- arm*-*) myarch=arm ;;
- *) die "Unrecognized CHOST: ${CHOST}"
- esac
- mytarget=${myarch}.release
-
- soname_version="$(get_version_component_range 1-3)"
-
- local snapshot=on
- host-is-pax && snapshot=off
-
- # TODO: Add console=readline option once implemented upstream
- # http://code.google.com/p/v8/issues/detail?id=1781
-
- emake V=1 \
- library=shared \
- werror=no \
- soname_version=${soname_version} \
- snapshot=${snapshot} \
- hardfp=${hardfp} \
- ${mytarget} || die
-
- pax-mark m out/${mytarget}/{cctest,d8,shell} || die
-}
-
-src_test() {
- local arg testjobs
- for arg in ${MAKEOPTS}; do
- case ${arg} in
- -j*) testjobs=${arg#-j} ;;
- --jobs=*) testjobs=${arg#--jobs=} ;;
- esac
- done
-
- tools/test-wrapper-gypbuild.py \
- -j${testjobs:-1} \
- --arch-and-mode=${mytarget} \
- --no-presubmit \
- --progress=dots || die
-}
-
-src_install() {
- insinto /usr
- doins -r include || die
-
- if [[ ${CHOST} == *-darwin* ]] ; then
- # buildsystem is too horrific to get this built correctly
- mkdir -p out/${mytarget}/lib.target
- mv out/${mytarget}/libv8.so.${soname_version} \
- out/${mytarget}/lib.target/libv8$(get_libname ${soname_version}) || die
- install_name_tool \
- -id "${EPREFIX}"/usr/$(get_libdir)/libv8$(get_libname) \
- out/${mytarget}/lib.target/libv8$(get_libname ${soname_version}) \
- || die
- install_name_tool \
- -change \
- "${S}"/out/${mytarget}/libv8.so.${soname_version} \
- "${EPREFIX}"/usr/$(get_libdir)/libv8$(get_libname) \
- out/${mytarget}/d8 || die
- fi
-
- dobin out/${mytarget}/d8 || die
-
- dolib out/${mytarget}/lib.target/libv8$(get_libname ${soname_version}) || die
- dosym libv8$(get_libname ${soname_version}) /usr/$(get_libdir)/libv8$(get_libname) || die
-
- dodoc AUTHORS ChangeLog || die
-}
-
-pkg_preinst() {
- preserved_libs=()
- local baselib candidate
-
- eshopts_push -s nullglob
-
- for candidate in "${EROOT}usr/$(get_libdir)"/libv8$(get_libname).*; do
- baselib=${candidate##*/}
- if [[ ! -e "${ED}usr/$(get_libdir)/${baselib}" ]]; then
- preserved_libs+=( "${EPREFIX}/usr/$(get_libdir)/${baselib}" )
- fi
- done
-
- eshopts_pop
-
- if [[ ${#preserved_libs[@]} -gt 0 ]]; then
- preserve_old_lib "${preserved_libs[@]}"
- fi
-}
-
-pkg_postinst() {
- if [[ ${#preserved_libs[@]} -gt 0 ]]; then
- preserve_old_lib_notify "${preserved_libs[@]}"
- fi
-}