git: 77ef81b604ed - main - multimedia/mediainfo: Update to 22.12

From: Daniel Engberg <diizzy_at_FreeBSD.org>
Date: Tue, 17 Jan 2023 07:59:18 UTC
The branch main has been updated by diizzy:

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

commit 77ef81b604ed0821466cd8688a8d1d45acb7c991
Author:     Daniel Engberg <diizzy@FreeBSD.org>
AuthorDate: 2023-01-17 07:45:40 +0000
Commit:     Daniel Engberg <diizzy@FreeBSD.org>
CommitDate: 2023-01-17 07:59:06 +0000

    multimedia/mediainfo: Update to 22.12
    
    * Switch to separate source archives
    * Minor rearrangement of port
    
    Changelog: https://github.com/MediaArea/MediaInfo/releases/tag/v22.12
    
    PR:             268709
    Approved by:    portmgr (maintainer timeout, 2+ weeks)
---
 multimedia/mediainfo/Makefile | 16 +++++++++-------
 multimedia/mediainfo/distinfo |  6 +++---
 2 files changed, 12 insertions(+), 10 deletions(-)

diff --git a/multimedia/mediainfo/Makefile b/multimedia/mediainfo/Makefile
index 925cc1e46ed9..5766752579b5 100644
--- a/multimedia/mediainfo/Makefile
+++ b/multimedia/mediainfo/Makefile
@@ -1,9 +1,9 @@
 PORTNAME=	mediainfo
-PORTVERSION=	22.09
+DISTVERSION=	22.12
 CATEGORIES=	multimedia
-MASTER_SITES=	https://mediaarea.net/download/binary/mediainfo/${PORTVERSION}/ \
+MASTER_SITES=	https://mediaarea.net/download/source/${PORTNAME}/${DISTVERSION}/ \
 		LOCAL/sunpoet
-DISTNAME=	MediaInfo_CLI_${PORTVERSION}_GNU_FromSource
+DISTNAME=	${PORTNAME}_${DISTVERSION}
 
 MAINTAINER=	sunpoet@FreeBSD.org
 COMMENT=	Provides technical and tag information for video and audio files
@@ -15,15 +15,17 @@ LICENSE_FILE=	${WRKSRC}/../../../License.html
 LIB_DEPENDS=	libmediainfo.so:multimedia/libmediainfo \
 		libzen.so:multimedia/libzen
 
-USES=		compiler:c++11-lang cpe libtool pathfix pkgconfig tar:xz
+USES=		autoreconf compiler:c++11-lang cpe dos2unix libtool pathfix \
+		pkgconfig tar:xz
 
 GNU_CONFIGURE=	yes
 USE_CXXSTD=	c++11
 USE_LDCONFIG=	yes
+CPE_VENDOR=	mediaarea
+DOS2UNIX_GLOB=	*.c *.cpp *.h
+DOS2UNIX_WRKSRC=	${WRKDIR}
 
 PLIST_FILES=	bin/mediainfo
-WRKSRC=		${WRKDIR}/MediaInfo_CLI_GNU_FromSource/MediaInfo/Project/GNU/CLI
-
-CPE_VENDOR=	mediaarea
+WRKSRC=		${WRKDIR}/MediaInfo/Project/GNU/CLI
 
 .include <bsd.port.mk>
diff --git a/multimedia/mediainfo/distinfo b/multimedia/mediainfo/distinfo
index fab7cc4c5110..0d9caebdc92b 100644
--- a/multimedia/mediainfo/distinfo
+++ b/multimedia/mediainfo/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1665073090
-SHA256 (MediaInfo_CLI_22.09_GNU_FromSource.tar.xz) = 02070e50a9cde50180a31c0529435a0ac4fdc0cc823982395833472c6ef464e9
-SIZE (MediaInfo_CLI_22.09_GNU_FromSource.tar.xz) = 3337624
+TIMESTAMP = 1672606752
+SHA256 (mediainfo_22.12.tar.xz) = 932b82739f738e7db603cf5bb170720731a9e7c61d145c2a54aabb3cd0b753bc
+SIZE (mediainfo_22.12.tar.xz) = 2026408