1 # Copyright 1999-2020 Gentoo Authors
2 # Distributed under the terms of the GNU General Public License v2
6 if [[ ${PV} == 99999999 ]]; then
8 EGIT_REPO_URI="https://github.com/wine-compholio/wine-staging"
11 SHA="4ffcf184bb71c6c3512b3a8c144dcf4a3a76d23c"
12 SRC_URI="https://github.com/wine-compholio/wine-staging/archive/${SHA}.tar.gz -> ${P}.tar.gz"
14 S="${WORKDIR}/wine-staging-${SHA}"
17 DESCRIPTION="Apply binary patches without git"
18 HOMEPAGE="https://github.com/wine-compholio/wine-staging"
22 IUSE="userland_BSD userland_GNU"
34 mv patches/gitapply.sh ${PN} || die
35 sed -E -i "s/(\.\/)?gitapply(\.sh)?/${PN}/g" ${PN} || die
46 einfo "${PN} can optionally use dev-util/git to apply patches if installed."