diff options
author | Ionen Wolkens <ionen@gentoo.org> | 2023-05-28 20:12:48 -0400 |
---|---|---|
committer | Ionen Wolkens <ionen@gentoo.org> | 2023-05-28 20:28:36 -0400 |
commit | 4ccfcba072ca30bd45813116b73f84239d725cd0 (patch) | |
tree | be5eaf536b62e05c35ad6e7ab320bf9cbabe7194 /app-emulation | |
parent | net-misc/netifrc: add 0.7.5 (diff) | |
download | gentoo-4ccfcba072ca30bd45813116b73f84239d725cd0.tar.gz gentoo-4ccfcba072ca30bd45813116b73f84239d725cd0.tar.bz2 gentoo-4ccfcba072ca30bd45813116b73f84239d725cd0.zip |
app-emulation/wine-staging: ver_cut wine's PV to accommodate x.x.1
Guess this could become needed more frequently, so may
as well keep it in place permanently.
Note that this is fine in 9999 too where need to set S to "something"
which can be wine-9999 and ver_cut 1-2 gives that.
Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
Diffstat (limited to 'app-emulation')
-rw-r--r-- | app-emulation/wine-staging/wine-staging-9999.ebuild | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/app-emulation/wine-staging/wine-staging-9999.ebuild b/app-emulation/wine-staging/wine-staging-9999.ebuild index 8a669db66bf4..91fff75c3a4c 100644 --- a/app-emulation/wine-staging/wine-staging-9999.ebuild +++ b/app-emulation/wine-staging/wine-staging-9999.ebuild @@ -10,6 +10,7 @@ inherit python-any-r1 toolchain-funcs wrapper WINE_GECKO=2.47.4 WINE_MONO=8.0.0 +WINE_P=wine-$(ver_cut 1-2) if [[ ${PV} == *9999 ]]; then inherit git-r3 @@ -18,11 +19,11 @@ if [[ ${PV} == *9999 ]]; then else (( $(ver_cut 2) )) && WINE_SDIR=$(ver_cut 1).x || WINE_SDIR=$(ver_cut 1).0 SRC_URI=" - https://dl.winehq.org/wine/source/${WINE_SDIR}/wine-${PV}.tar.xz + https://dl.winehq.org/wine/source/${WINE_SDIR}/${WINE_P}.tar.xz https://github.com/wine-staging/wine-staging/archive/v${PV}.tar.gz -> ${P}.tar.gz" KEYWORDS="-* ~amd64 ~x86" fi -S="${WORKDIR}/wine-${PV}" +S="${WORKDIR}/${WINE_P}" DESCRIPTION="Free implementation of Windows(tm) on Unix, with Wine-Staging patchset" HOMEPAGE=" |