|
Lines 337-354
Link Here
|
| 337 |
ewarn "by Wine developers. Please don't report bugs to Wine bugzilla" |
337 |
ewarn "by Wine developers. Please don't report bugs to Wine bugzilla" |
| 338 |
ewarn "unless you can reproduce them with USE=-staging" |
338 |
ewarn "unless you can reproduce them with USE=-staging" |
| 339 |
|
339 |
|
| 340 |
# Apply temporary patch to wine-staging to allow for epatch as a backend to wine-staging's new patch script |
|
|
| 341 |
pushd "${STAGING_DIR}" |
| 342 |
epatch "${FILESDIR}"/wine-staging-gentoo-epatch-support.patch |
| 343 |
popd |
| 344 |
|
| 345 |
local STAGING_EXCLUDE="" |
340 |
local STAGING_EXCLUDE="" |
| 346 |
use pipelight || STAGING_EXCLUDE="${STAGING_EXCLUDE} -W Pipelight" |
341 |
use pipelight || STAGING_EXCLUDE="${STAGING_EXCLUDE} -W Pipelight" |
| 347 |
|
342 |
|
| 348 |
# Launch wine-staging patcher in a subshell, using epatch as a backend, and gitapply.sh as a backend for binary patches |
343 |
# Launch wine-staging patcher in a subshell, using epatch as a backend, and gitapply.sh as a backend for binary patches |
| 349 |
ebegin "Running Wine-Staging patch installer" |
344 |
ebegin "Running Wine-Staging patch installer" |
| 350 |
( |
345 |
( |
| 351 |
set -- DESTDIR="${S}" --backend=epatch --all ${STAGING_EXCLUDE} |
346 |
set -- DESTDIR="${S}" --backend=epatch --no-autoconf --all ${STAGING_EXCLUDE} |
| 352 |
cd "${STAGING_DIR}/patches" |
347 |
cd "${STAGING_DIR}/patches" |
| 353 |
source "${STAGING_DIR}/patches/patchinstall.sh" |
348 |
source "${STAGING_DIR}/patches/patchinstall.sh" |
| 354 |
) |
349 |
) |