git: e676927ad796 - main - emulators/wine-devel: Update to 7.0-rc5

From: Gerald Pfeifer <gerald_at_FreeBSD.org>
Date: Thu, 13 Jan 2022 07:33:02 UTC
The branch main has been updated by gerald:

URL: https://cgit.FreeBSD.org/ports/commit/?id=e676927ad796e5935553ef417e16b14cc800c4a9

commit e676927ad796e5935553ef417e16b14cc800c4a9
Author:     Damjan Jovanovic <damjan.jov@gmail.com>
AuthorDate: 2022-01-13 07:29:20 +0000
Commit:     Gerald Pfeifer <gerald@FreeBSD.org>
CommitDate: 2022-01-13 07:32:15 +0000

    emulators/wine-devel: Update to 7.0-rc5
    
    The fifth milestone of the soon to be released Wine 7.0 with
    30 bug fixes.
    
    Also do not extract the wine-staging files twice, symlink them
    instead. [1]
    
    PR:             260612 [1]
    Submitted by:   Ivan Rozhuk <rozhuk.im@gmail.com> [1]
    Approved by:    maintainer (= author)
---
 emulators/wine-devel/Makefile |  6 ++++--
 emulators/wine-devel/distinfo | 10 +++++-----
 2 files changed, 9 insertions(+), 7 deletions(-)

diff --git a/emulators/wine-devel/Makefile b/emulators/wine-devel/Makefile
index 1dbcd9de2e5e..5851e880da02 100644
--- a/emulators/wine-devel/Makefile
+++ b/emulators/wine-devel/Makefile
@@ -1,7 +1,7 @@
 # Created by: Gerald Pfeifer <gerald@FreeBSD.org>
 
 PORTNAME=	wine
-DISTVERSION=	7.0-rc4
+DISTVERSION=	7.0-rc5
 PORTEPOCH=	1
 CATEGORIES=	emulators
 MASTER_SITES=	SF/${PORTNAME}/Source \
@@ -146,7 +146,9 @@ PLIST_SUB+=		WINE32="" WINE64="@comment " WINEARCH="i386"
 .endif
 
 post-extract-STAGING-on: fix-shebang
-	cd ${WRKSRC} && ${TAR} xf ${DISTDIR}/${STAGING_DIST} --strip-components 1
+	@${LN} -s ${WRKDIR}/${PORTNAME}-staging-${DISTVERSION}/patches ${WRKSRC}/patches
+
+post-patch-STAGING-on:
 	cd ${WRKSRC} && ${PATCH} -p0 < ${PATCHDIR}/extra-gitapply
 	cd ${WRKSRC} && bash ./patches/patchinstall.sh --backend=patch DESTDIR=${WRKSRC} --all
 
diff --git a/emulators/wine-devel/distinfo b/emulators/wine-devel/distinfo
index a6f47b392a85..16f3350da758 100644
--- a/emulators/wine-devel/distinfo
+++ b/emulators/wine-devel/distinfo
@@ -1,5 +1,5 @@
-TIMESTAMP = 1641306487
-SHA256 (wine-7.0-rc4.tar.xz) = 1b027324850e932e8f5b0a317c475be6cc1467d27961b0722c9bc463530b1dbb
-SIZE (wine-7.0-rc4.tar.xz) = 27110520
-SHA256 (v7.0-rc4.tar.gz) = 394632cbfb8ae7162654cf04743d4aa0704aaa060f5e38056a5b4c0e242d6e1b
-SIZE (v7.0-rc4.tar.gz) = 9609352
+TIMESTAMP = 1641920956
+SHA256 (wine-7.0-rc5.tar.xz) = 8d08c79de6006771f6e845e37bd732a1db9737b4da9222e4b037733688b77758
+SIZE (wine-7.0-rc5.tar.xz) = 27124860
+SHA256 (v7.0-rc5.tar.gz) = df00729d057da201ab4cd0cc348d3ce13b8c790aac1d1093796ca0f90f8e8727
+SIZE (v7.0-rc5.tar.gz) = 9613299