diff options
author | Rob Walker <bob.mt.wya@gmail.com> | 2018-10-21 15:57:33 +0100 |
---|---|---|
committer | Nick Sarnie <sarnex@gentoo.org> | 2018-10-22 19:30:56 -0400 |
commit | 5ec7dc81dc637aad663561262948419a4f9c19df (patch) | |
tree | 6767ae5e63d3faa1e34cdc4eb10b986e00275a8f /app-emulation/wine-d3d9/wine-d3d9-3.13-r1.ebuild | |
parent | app-emulation/wine-d3d9: migrate to new eapi7-ver eclass (diff) | |
download | wine-5ec7dc81dc637aad663561262948419a4f9c19df.tar.gz wine-5ec7dc81dc637aad663561262948419a4f9c19df.tar.bz2 wine-5ec7dc81dc637aad663561262948419a4f9c19df.zip |
app-emulation/wine-d3d9: migrate to git-r3.eclass EGIT_OVERRIDE* APIs
See: https://xxoo.ws/gentoo/portage/commit/17d7a4564177b1985e4b7e8f23a8efbc4d5c32ae
Signed-off-by: Rob Walker <bob.mt.wya@gmail.com>
Diffstat (limited to 'app-emulation/wine-d3d9/wine-d3d9-3.13-r1.ebuild')
-rw-r--r-- | app-emulation/wine-d3d9/wine-d3d9-3.13-r1.ebuild | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/app-emulation/wine-d3d9/wine-d3d9-3.13-r1.ebuild b/app-emulation/wine-d3d9/wine-d3d9-3.13-r1.ebuild index 75a6bfe..5bed605 100644 --- a/app-emulation/wine-d3d9/wine-d3d9-3.13-r1.ebuild +++ b/app-emulation/wine-d3d9/wine-d3d9-3.13-r1.ebuild @@ -258,14 +258,17 @@ wine_env_vcs_vars() { if use d3d9; then eerror "Because of the multi-repo nature of ${MY_PN}, ${pn_live_var}" eerror "cannot be used to set the commit. Instead, you may use the" - eerror "environmental variables WINE_COMMIT, and D3D9_COMMIT." + eerror "environment variables:" + eerror " EGIT_OVERRIDE_COMMIT_WINE" + eerror " EGIT_OVERRIDE_COMMIT_SARNEX_WINE_D3D9_PATCHES" eerror return 1 fi fi if [[ ! -z ${EGIT_COMMIT} ]]; then - eerror "Commits must now be specified using the environmental variables" - eerror "WINE_COMMIT, and D3D9_COMMIT" + eerror "Commits must now be specified using the environment variables:" + eerror " EGIT_OVERRIDE_COMMIT_WINE" + eerror " EGIT_OVERRIDE_COMMIT_SARNEX_WINE_D3D9_PATCHES" eerror return 1 fi @@ -304,10 +307,9 @@ pkg_setup() { src_unpack() { if [[ ${PV} == "9999" ]] ; then - EGIT_CHECKOUT_DIR="${S}" EGIT_COMMIT="${WINE_COMMIT}" git-r3_src_unpack + EGIT_CHECKOUT_DIR="${S}" git-r3_src_unpack if use d3d9; then - git-r3_fetch "${D3D9_EGIT_REPO_URI}" "${D3D9_COMMIT}" - git-r3_checkout "${D3D9_EGIT_REPO_URI}" "${D3D9_DIR}" + EGIT_CHECKOUT_DIR="${D3D9_DIR}" EGIT_REPO_URI="${D3D9_EGIT_REPO_URI}" git-r3_src_unpack fi fi |