git: 23e0c77bf218 - main - multimedia/libzen: Change back to make

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Mon, 30 Jan 2023 13:06:01 UTC
The branch main has been updated by sunpoet:

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

commit 23e0c77bf218f44eb3593950367258bc60d040e6
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2023-01-30 12:27:45 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2023-01-30 12:59:06 +0000

    multimedia/libzen: Change back to make
    
    - Use all-in-one tarball
    - Update WWW and clean up pkg-descr
    - Bump PORTREVISION for package change
---
 multimedia/libzen/Makefile  | 27 ++++++++++++++-------------
 multimedia/libzen/distinfo  |  6 +++---
 multimedia/libzen/pkg-descr |  2 --
 multimedia/libzen/pkg-plist | 13 ++++++++-----
 4 files changed, 25 insertions(+), 23 deletions(-)

diff --git a/multimedia/libzen/Makefile b/multimedia/libzen/Makefile
index 397f58a915e1..793cc8fd7c16 100644
--- a/multimedia/libzen/Makefile
+++ b/multimedia/libzen/Makefile
@@ -1,28 +1,29 @@
 PORTNAME=	libzen
-DISTVERSION=	0.4.40
+PORTVERSION=	0.4.40
+PORTREVISION=	1
 PORTEPOCH=	1
 CATEGORIES=	multimedia
-MASTER_SITES=	https://mediaarea.net/download/source/${PORTNAME}/${DISTVERSION}/ \
+MASTER_SITES=	https://mediaarea.net/download/binary/mediainfo/${MEDIAINFO_PORTVERSION}/ \
 		LOCAL/sunpoet
-DISTNAME=	${PORTNAME}_${DISTVERSION}
+DISTNAME=	MediaInfo_CLI_${MEDIAINFO_PORTVERSION}_GNU_FromSource
 
 MAINTAINER=	sunpoet@FreeBSD.org
 COMMENT=	ZenLib used by MediaInfo and its library
-WWW=		https://mediaarea.net/en/MediaInfo
+WWW=		https://mediaarea.net/en/MediaInfo \
+		https://github.com/MediaArea/ZenLib
 
 LICENSE=	ZLIB
-LICENSE_FILE=	${WRKSRC}/../../License.txt
+LICENSE_FILE=	${WRKSRC}/../../../License.txt
 
-USES=		cmake compiler:c++11-lang dos2unix pathfix pkgconfig tar:bz2
-USE_LDCONFIG=	yes
-DOS2UNIX_GLOB=	*.c *.cmake.in *.cpp *.h *.pc.in *.txt
-DOS2UNIX_WRKSRC=	${WRKDIR}
+USES=		compiler:c++11-lang dos2unix libtool pathfix tar:xz
 
-WRKSRC=		${WRKDIR}/ZenLib/Project/CMake
+CONFIGURE_ARGS=	--enable-shared --enable-static
+GNU_CONFIGURE=	yes
+INSTALL_TARGET=	install-strip
+USE_LDCONFIG=	yes
 
-PLIST_SUB=	DISTVERSION=${DISTVERSION}
+WRKSRC=		${WRKDIR}/MediaInfo_CLI_GNU_FromSource/ZenLib/Project/GNU/Library
 
-post-patch:
-	@${REINPLACE_CMD} -e '/^Libs_Static/d' ${PATCH_WRKSRC}/libzen.pc.in
+MEDIAINFO_PORTVERSION=	22.12
 
 .include <bsd.port.mk>
diff --git a/multimedia/libzen/distinfo b/multimedia/libzen/distinfo
index b7acb712cb1d..48a716a05881 100644
--- a/multimedia/libzen/distinfo
+++ b/multimedia/libzen/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1672600333
-SHA256 (libzen_0.4.40.tar.bz2) = 5543e2c45214b9d9f0ba4f43dee61d0296e1ff9f1427ed6c879ddd1b62b9f69e
-SIZE (libzen_0.4.40.tar.bz2) = 137110
+TIMESTAMP = 1674589522
+SHA256 (MediaInfo_CLI_22.12_GNU_FromSource.tar.xz) = e67ce7419ec6af9fb54ffbe3164a42ae1cd874a7e559bfff017868cef1106947
+SIZE (MediaInfo_CLI_22.12_GNU_FromSource.tar.xz) = 3352944
diff --git a/multimedia/libzen/pkg-descr b/multimedia/libzen/pkg-descr
index 101feef832a2..efdc90b6a90b 100644
--- a/multimedia/libzen/pkg-descr
+++ b/multimedia/libzen/pkg-descr
@@ -2,5 +2,3 @@ MediaInfo is a convenient unified display of the most relevant technical and
 tag data for video and audio files.
 
 Read http://mediaarea.net/en/MediaInfo/Support/Formats for supported formats.
-
-See also: https://github.com/MediaArea/ZenLib
diff --git a/multimedia/libzen/pkg-plist b/multimedia/libzen/pkg-plist
index 5a6ccf2e270c..7be66e8fe0ef 100644
--- a/multimedia/libzen/pkg-plist
+++ b/multimedia/libzen/pkg-plist
@@ -13,6 +13,12 @@ include/ZenLib/Format/Http/Http_Cookies.h
 include/ZenLib/Format/Http/Http_Handler.h
 include/ZenLib/Format/Http/Http_Request.h
 include/ZenLib/Format/Http/Http_Utils.h
+include/ZenLib/HTTP_Client.h
+include/ZenLib/HTTP_Client/HTTPClient.h
+include/ZenLib/HTTP_Client/HTTPClientAuth.h
+include/ZenLib/HTTP_Client/HTTPClientCommon.h
+include/ZenLib/HTTP_Client/HTTPClientString.h
+include/ZenLib/HTTP_Client/HTTPClientWrapper.h
 include/ZenLib/InfoMap.h
 include/ZenLib/MemoryDebug.h
 include/ZenLib/OS_Utils.h
@@ -27,11 +33,8 @@ include/ZenLib/ZtringListList.h
 include/ZenLib/ZtringListListF.h
 include/ZenLib/int128s.h
 include/ZenLib/int128u.h
-lib/cmake/zenlib/ZenLibConfig.cmake
-lib/cmake/zenlib/ZenLibConfigVersion.cmake
-lib/cmake/zenlib/ZenLibTargets-%%CMAKE_BUILD_TYPE%%.cmake
-lib/cmake/zenlib/ZenLibTargets.cmake
+lib/libzen.a
 lib/libzen.so
 lib/libzen.so.0
-lib/libzen.so.%%DISTVERSION%%
+lib/libzen.so.0.0.0
 libdata/pkgconfig/libzen.pc