commit:     217f59f6808df6c3fe788defeb802c80af5dec00
Author:     Ionen Wolkens <ionen <AT> gentoo <DOT> org>
AuthorDate: Thu Aug 10 10:09:19 2023 +0000
Commit:     Ionen Wolkens <ionen <AT> gentoo <DOT> org>
CommitDate: Thu Aug 10 10:35:04 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=217f59f6

app-emulation/wine-staging: fix finding wine-mono on prefix

Technically needs a revbump, but given never got a bug report despite
being broken since forever I'll consider this low priority.

Signed-off-by: Ionen Wolkens <ionen <AT> gentoo.org>

 app-emulation/wine-staging/wine-staging-8.0.ebuild     | 6 +++++-
 app-emulation/wine-staging/wine-staging-8.11-r1.ebuild | 5 ++++-
 app-emulation/wine-staging/wine-staging-8.12.ebuild    | 5 ++++-
 app-emulation/wine-staging/wine-staging-8.13.ebuild    | 5 ++++-
 app-emulation/wine-staging/wine-staging-9999.ebuild    | 5 ++++-
 5 files changed, 21 insertions(+), 5 deletions(-)

diff --git a/app-emulation/wine-staging/wine-staging-8.0.ebuild 
b/app-emulation/wine-staging/wine-staging-8.0.ebuild
index 3c90e7786184..d5832e55b076 100644
--- a/app-emulation/wine-staging/wine-staging-8.0.ebuild
+++ b/app-emulation/wine-staging/wine-staging-8.0.ebuild
@@ -4,7 +4,8 @@
 EAPI=8
 
 MULTILIB_COMPAT=( abi_x86_{32,64} )
-inherit autotools flag-o-matic multilib multilib-build toolchain-funcs wrapper
+inherit autotools flag-o-matic multilib multilib-build
+inherit prefix toolchain-funcs wrapper
 
 WINE_GECKO=2.47.3
 WINE_MONO=7.4.0
@@ -203,6 +204,9 @@ src_prepare() {
        # ensure .desktop calls this variant + slot
        sed -i "/^Exec=/s/wine /${P} /" loader/wine.desktop || die
 
+       # datadir is not where wine-mono is installed, so prefixy alternate 
paths
+       hprefixify -w /get_mono_path/ dlls/mscoree/metahost.c
+
        # always update for patches (including user's wrt #432348)
        eautoreconf
        tools/make_requests || die # perl

diff --git a/app-emulation/wine-staging/wine-staging-8.11-r1.ebuild 
b/app-emulation/wine-staging/wine-staging-8.11-r1.ebuild
index 1c501de4a39c..4c8102d89813 100644
--- a/app-emulation/wine-staging/wine-staging-8.11-r1.ebuild
+++ b/app-emulation/wine-staging/wine-staging-8.11-r1.ebuild
@@ -6,7 +6,7 @@ EAPI=8
 MULTILIB_COMPAT=( abi_x86_{32,64} )
 PYTHON_COMPAT=( python3_{10..12} )
 inherit autotools edo flag-o-matic multilib multilib-build
-inherit python-any-r1 toolchain-funcs wrapper
+inherit prefix python-any-r1 toolchain-funcs wrapper
 
 WINE_GECKO=2.47.4
 WINE_MONO=8.0.0
@@ -217,6 +217,9 @@ src_prepare() {
        # ensure .desktop calls this variant + slot
        sed -i "/^Exec=/s/wine /${P} /" loader/wine.desktop || die
 
+       # datadir is not where wine-mono is installed, so prefixy alternate 
paths
+       hprefixify -w /get_mono_path/ dlls/mscoree/metahost.c
+
        # always update for patches (including user's wrt #432348)
        eautoreconf
        tools/make_requests || die # perl

diff --git a/app-emulation/wine-staging/wine-staging-8.12.ebuild 
b/app-emulation/wine-staging/wine-staging-8.12.ebuild
index 1c501de4a39c..4c8102d89813 100644
--- a/app-emulation/wine-staging/wine-staging-8.12.ebuild
+++ b/app-emulation/wine-staging/wine-staging-8.12.ebuild
@@ -6,7 +6,7 @@ EAPI=8
 MULTILIB_COMPAT=( abi_x86_{32,64} )
 PYTHON_COMPAT=( python3_{10..12} )
 inherit autotools edo flag-o-matic multilib multilib-build
-inherit python-any-r1 toolchain-funcs wrapper
+inherit prefix python-any-r1 toolchain-funcs wrapper
 
 WINE_GECKO=2.47.4
 WINE_MONO=8.0.0
@@ -217,6 +217,9 @@ src_prepare() {
        # ensure .desktop calls this variant + slot
        sed -i "/^Exec=/s/wine /${P} /" loader/wine.desktop || die
 
+       # datadir is not where wine-mono is installed, so prefixy alternate 
paths
+       hprefixify -w /get_mono_path/ dlls/mscoree/metahost.c
+
        # always update for patches (including user's wrt #432348)
        eautoreconf
        tools/make_requests || die # perl

diff --git a/app-emulation/wine-staging/wine-staging-8.13.ebuild 
b/app-emulation/wine-staging/wine-staging-8.13.ebuild
index 7af88917ad54..6edbd663cb04 100644
--- a/app-emulation/wine-staging/wine-staging-8.13.ebuild
+++ b/app-emulation/wine-staging/wine-staging-8.13.ebuild
@@ -6,7 +6,7 @@ EAPI=8
 MULTILIB_COMPAT=( abi_x86_{32,64} )
 PYTHON_COMPAT=( python3_{10..12} )
 inherit autotools edo flag-o-matic multilib multilib-build
-inherit python-any-r1 toolchain-funcs wrapper
+inherit prefix python-any-r1 toolchain-funcs wrapper
 
 WINE_GECKO=2.47.4
 WINE_MONO=8.0.0
@@ -224,6 +224,9 @@ src_prepare() {
        # ensure .desktop calls this variant + slot
        sed -i "/^Exec=/s/wine /${P} /" loader/wine.desktop || die
 
+       # datadir is not where wine-mono is installed, so prefixy alternate 
paths
+       hprefixify -w /get_mono_path/ dlls/mscoree/metahost.c
+
        # always update for patches (including user's wrt #432348)
        eautoreconf
        tools/make_requests || die # perl

diff --git a/app-emulation/wine-staging/wine-staging-9999.ebuild 
b/app-emulation/wine-staging/wine-staging-9999.ebuild
index 7af88917ad54..6edbd663cb04 100644
--- a/app-emulation/wine-staging/wine-staging-9999.ebuild
+++ b/app-emulation/wine-staging/wine-staging-9999.ebuild
@@ -6,7 +6,7 @@ EAPI=8
 MULTILIB_COMPAT=( abi_x86_{32,64} )
 PYTHON_COMPAT=( python3_{10..12} )
 inherit autotools edo flag-o-matic multilib multilib-build
-inherit python-any-r1 toolchain-funcs wrapper
+inherit prefix python-any-r1 toolchain-funcs wrapper
 
 WINE_GECKO=2.47.4
 WINE_MONO=8.0.0
@@ -224,6 +224,9 @@ src_prepare() {
        # ensure .desktop calls this variant + slot
        sed -i "/^Exec=/s/wine /${P} /" loader/wine.desktop || die
 
+       # datadir is not where wine-mono is installed, so prefixy alternate 
paths
+       hprefixify -w /get_mono_path/ dlls/mscoree/metahost.c
+
        # always update for patches (including user's wrt #432348)
        eautoreconf
        tools/make_requests || die # perl

Reply via email to