diff options
author | Mike Gilbert <floppym@gentoo.org> | 2012-12-20 02:02:35 +0000 |
---|---|---|
committer | Mike Gilbert <floppym@gentoo.org> | 2012-12-20 02:02:35 +0000 |
commit | aaf5f5a4c82f3355e5518f59ab67bb98db7458ce (patch) | |
tree | e210398ddb6f6adb3a76f4a4aa697ed96ca93b94 /www-client | |
parent | Version bump. (diff) | |
download | gentoo-2-aaf5f5a4c82f3355e5518f59ab67bb98db7458ce.tar.gz gentoo-2-aaf5f5a4c82f3355e5518f59ab67bb98db7458ce.tar.bz2 gentoo-2-aaf5f5a4c82f3355e5518f59ab67bb98db7458ce.zip |
Beta channel bump.
(Portage version: 2.2.0_alpha149/cvs/Linux x86_64, signed Manifest commit with key 0BBEEA1FEA4843A4)
Diffstat (limited to 'www-client')
-rw-r--r-- | www-client/chromium/ChangeLog | 8 | ||||
-rw-r--r-- | www-client/chromium/chromium-24.0.1312.45.ebuild (renamed from www-client/chromium/chromium-24.0.1312.35.ebuild) | 90 |
2 files changed, 57 insertions, 41 deletions
diff --git a/www-client/chromium/ChangeLog b/www-client/chromium/ChangeLog index 66c4e5ed8121..89599f6ad86b 100644 --- a/www-client/chromium/ChangeLog +++ b/www-client/chromium/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for www-client/chromium # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/www-client/chromium/ChangeLog,v 1.778 2012/12/17 16:48:36 phajdan.jr Exp $ +# $Header: /var/cvsroot/gentoo-x86/www-client/chromium/ChangeLog,v 1.779 2012/12/20 02:02:35 floppym Exp $ + +*chromium-24.0.1312.45 (20 Dec 2012) + + 20 Dec 2012; Mike Gilbert <floppym@gentoo.org> +chromium-24.0.1312.45.ebuild, + -chromium-24.0.1312.35.ebuild: + Beta channel bump. *chromium-24.0.1312.40-r1 (17 Dec 2012) diff --git a/www-client/chromium/chromium-24.0.1312.35.ebuild b/www-client/chromium/chromium-24.0.1312.45.ebuild index e683d861960a..3bef04383e4b 100644 --- a/www-client/chromium/chromium-24.0.1312.35.ebuild +++ b/www-client/chromium/chromium-24.0.1312.45.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/www-client/chromium/chromium-24.0.1312.35.ebuild,v 1.1 2012/12/08 03:51:46 floppym Exp $ +# $Header: /var/cvsroot/gentoo-x86/www-client/chromium/chromium-24.0.1312.45.ebuild,v 1.1 2012/12/20 02:02:35 floppym Exp $ EAPI="5" PYTHON_DEPEND="2:2.6" @@ -59,8 +59,11 @@ RDEPEND="app-arch/bzip2 sys-libs/libselinux )" DEPEND="${RDEPEND} + !arm? ( + >=dev-lang/nacl-toolchain-newlib-0_p9093 + dev-lang/yasm + ) dev-lang/perl - dev-lang/yasm dev-python/ply dev-python/simplejson >=dev-util/gperf-3.0.3 @@ -105,16 +108,16 @@ pkg_setup() { } src_prepare() { - # if ! use arm; then - # ebegin "Preparing NaCl newlib toolchain" - # pushd "${T}" >/dev/null || die - # mkdir sdk || die - # cp -a /usr/$(get_libdir)/nacl-toolchain-newlib sdk/nacl-sdk || die - # mkdir -p "${S}"/native_client/toolchain/.tars || die - # tar czf "${S}"/native_client/toolchain/.tars/naclsdk_linux_x86.tgz sdk || die - # popd >/dev/null || die - # eend $? - # fi + if ! use arm; then + ebegin "Preparing NaCl newlib toolchain" + pushd "${T}" >/dev/null || die + mkdir sdk || die + cp -a /usr/$(get_libdir)/nacl-toolchain-newlib sdk/nacl-sdk || die + mkdir -p "${S}"/native_client/toolchain/.tars || die + tar czf "${S}"/native_client/toolchain/.tars/naclsdk_linux_x86.tgz sdk || die + popd >/dev/null || die + eend $? + fi # zlib-1.2.5.1-r1 renames the OF macro in zconf.h, bug 383371. # sed -i '1i#define OF(x) x' \ @@ -123,25 +126,28 @@ src_prepare() { epatch "${FILESDIR}/${PN}-arm-r0.patch" # Fix build without NaCl glibc toolchain. - # epatch "${FILESDIR}/${PN}-ppapi-r0.patch" + epatch "${FILESDIR}/${PN}-ppapi-r0.patch" + + # Fix build without NaCl pnacl toolchain. + epatch "${FILESDIR}/${PN}-no-pnacl-r0.patch" # Missing gyp files in tarball. # https://code.google.com/p/chromium/issues/detail?id=144823 - # if [[ -e chrome/test/data/nacl/nacl_test_data.gyp ]]; then - # die "tarball fixed, please remove workaround" - # fi - - # mkdir -p chrome/test/data/nacl - # cat > chrome/test/data/nacl/nacl_test_data.gyp <<-EOF - # { - # 'targets': [ - # { - # 'target_name': 'nacl_tests', - # 'type': 'none', - # }, - # ], - # } - # EOF + if [[ -e chrome/test/data/nacl/nacl_test_data.gyp ]]; then + die "tarball fixed, please remove workaround" + fi + + mkdir -p chrome/test/data/nacl + cat > chrome/test/data/nacl/nacl_test_data.gyp <<-EOF + { + 'targets': [ + { + 'target_name': 'nacl_tests', + 'type': 'none', + }, + ], + } + EOF epatch_user @@ -229,15 +235,11 @@ src_configure() { # drivers, bug #413637. myconf+=" $(gyp_use tcmalloc linux_use_tcmalloc)" - # TODO: build with NaCl (pnacl is sort of required). - myconf+=" -Ddisable_nacl=1" - # Disable glibc Native Client toolchain, we don't need it (bug #417019). - # myconf+=" -Ddisable_glibc=1" + myconf+=" -Ddisable_glibc=1" # TODO: also build with pnacl - # myconf+=" -Ddisable_pnacl=1 - # -Dbuild_pnacl_newlib=0" + myconf+=" -Ddisable_pnacl=1" # Make it possible to remove third_party/adobe. echo > "${T}/flapper_version.h" || die @@ -301,6 +303,14 @@ src_configure() { myconf+=" -Dproprietary_codecs=1 -Dffmpeg_branding=Chrome" fi + # Set up Google API keys, see http://www.chromium.org/developers/how-tos/api-keys . + # Note: these are for Gentoo use ONLY. For your own distribution, + # please get your own set of keys. Feel free to contact chromium@gentoo.org + # for more info. + myconf+=" -Dgoogle_api_key=AIzaSyDEAOvatFo0eTgsV_ZlEzx0ObmepsMzfAc + -Dgoogle_default_client_id=329227923882.apps.googleusercontent.com + -Dgoogle_default_client_secret=vgKG0NNv7GoDpbtoFNLxCUXu" + local myarch="$(tc-arch)" if [[ $myarch = amd64 ]] ; then myconf+=" -Dtarget_arch=x64" @@ -425,12 +435,12 @@ src_install() { doexe out/Release/chromedriver || die - # if ! use arm; then - # doexe out/Release/nacl_helper{,_bootstrap} || die - # insinto "${CHROMIUM_HOME}" - # doins out/Release/nacl_irt_*.nexe || die - # doins out/Release/libppGoogleNaClPluginChrome.so || die - # fi + if ! use arm; then + doexe out/Release/nacl_helper{,_bootstrap} || die + insinto "${CHROMIUM_HOME}" + doins out/Release/nacl_irt_*.nexe || die + doins out/Release/libppGoogleNaClPluginChrome.so || die + fi newexe "${FILESDIR}"/chromium-launcher-r2.sh chromium-launcher.sh || die if [[ "${CHROMIUM_SUFFIX}" != "" ]]; then |