diff options
author | Paweł Hajdan <phajdan.jr@gentoo.org> | 2013-06-27 15:05:23 +0000 |
---|---|---|
committer | Paweł Hajdan <phajdan.jr@gentoo.org> | 2013-06-27 15:05:23 +0000 |
commit | a956e1df218d51b8ba8656b88c69082c9cf3aff6 (patch) | |
tree | ed6dddd26b48d818118156e11bc792c5f55cb756 /www-client/chromium/chromium-9999-r1.ebuild | |
parent | remove fftw and the ladspa plugins with abi_x86_32 (diff) | |
download | gentoo-2-a956e1df218d51b8ba8656b88c69082c9cf3aff6.tar.gz gentoo-2-a956e1df218d51b8ba8656b88c69082c9cf3aff6.tar.bz2 gentoo-2-a956e1df218d51b8ba8656b88c69082c9cf3aff6.zip |
Generate LASTCHANGE.blink (bug #474576 by Julien Sanchez). Also switch to https repos.
(Portage version: 2.1.12.2/cvs/Linux i686, signed Manifest commit with key 30427902)
Diffstat (limited to 'www-client/chromium/chromium-9999-r1.ebuild')
-rw-r--r-- | www-client/chromium/chromium-9999-r1.ebuild | 24 |
1 files changed, 17 insertions, 7 deletions
diff --git a/www-client/chromium/chromium-9999-r1.ebuild b/www-client/chromium/chromium-9999-r1.ebuild index 8c5a353ff5be..8dd5fe31276b 100644 --- a/www-client/chromium/chromium-9999-r1.ebuild +++ b/www-client/chromium/chromium-9999-r1.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2013 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/www-client/chromium/chromium-9999-r1.ebuild,v 1.200 2013/06/27 14:59:33 phajdan.jr Exp $ +# $Header: /var/cvsroot/gentoo-x86/www-client/chromium/chromium-9999-r1.ebuild,v 1.201 2013/06/27 15:05:23 phajdan.jr Exp $ EAPI="5" PYTHON_COMPAT=( python{2_6,2_7} ) @@ -132,7 +132,15 @@ gclient_runhooks() { src_unpack() { # First grab depot_tools. - ESVN_REVISION= subversion_fetch "http://src.chromium.org/svn/trunk/tools/depot_tools" + DEPOT_TOOLS_REPO="https://src.chromium.org/svn/trunk/tools/depot_tools" + addwrite "${ESVN_STORE_DIR}" + if subversion_wc_info "${DEPOT_TOOLS_REPO}"; then + if [ "${ESVN_WC_URL}" != "${DEPOT_TOOLS_REPO}" ]; then + einfo "Removing old (http) depot_tools ${ESVN_WC_PATH}" + rm -rf "${ESVN_WC_PATH}" || die + fi + fi + ESVN_REVISION= subversion_fetch "${DEPOT_TOOLS_REPO}" mv "${S}" "${WORKDIR}"/depot_tools || die cd "${ESVN_STORE_DIR}/${PN}" || die @@ -148,14 +156,16 @@ src_unpack() { subversion_wc_info + cd src || die + ${PYTHON} build/util/lastchange.py -o build/util/LASTCHANGE || die + ${PYTHON} build/util/lastchange.py -s third_party/WebKit \ + -o build/util/LASTCHANGE.blink || die + mkdir -p "${S}" || die einfo "Copying source to ${S}" - rsync -rlpgo --exclude=".svn/" src/ "${S}" || die - - # Display correct svn revision in about box, and log new version. - echo "LASTCHANGE=${ESVN_WC_REVISION}" > "${S}"/build/util/LASTCHANGE || die + rsync -rlpgo --exclude=".svn/" . "${S}" || die - . src/chrome/VERSION + . chrome/VERSION elog "Installing/updating to version ${MAJOR}.${MINOR}.${BUILD}.${PATCH} (Developer Build ${ESVN_WC_REVISION})" } |