git: 7fca35ed06c3 - main - multimedia/Bento4: update to 1.6.0-641

From: Rodrigo Osorio <rodrigo_at_FreeBSD.org>
Date: Fri, 14 Jun 2024 11:32:09 UTC
The branch main has been updated by rodrigo:

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

commit 7fca35ed06c38651318760812af21412c24734d1
Author:     Rodrigo Osorio <rodrigo@FreeBSD.org>
AuthorDate: 2024-06-14 11:22:14 +0000
Commit:     Rodrigo Osorio <rodrigo@FreeBSD.org>
CommitDate: 2024-06-14 11:31:38 +0000

    multimedia/Bento4: update to 1.6.0-641
    
    Changelog: https://github.com/axiomatic-systems/Bento4/compare/v1.6.0-640...v1.6.0-641
    
    Major changes:
        * Added CBCS encryption for DVHE and DVH1
        * Add AC4 signaling for IMS stereo and CBI(channel based immersive) in HLS
        * Added dvhe and dvh1 support to cbcs
        * Add support characteristic for HLS
        * Update doc
        * Multiple bugfixes
            * #772 mp4xx vulnerabilities can cause serious errors
            * #750 Memory leaks with ASAN in mp42ts
            * #856 mp4dash not working with encrypted input and --clearkey
            * #859 HLS AUDIO AAC 7.1 CHANNELS 7 mistake
    
    PR:             279611
    Reported by:    Älven <alster@vinterdalen.se>
---
 multimedia/Bento4/Makefile | 23 +++++++++++------------
 multimedia/Bento4/distinfo |  6 +++---
 2 files changed, 14 insertions(+), 15 deletions(-)

diff --git a/multimedia/Bento4/Makefile b/multimedia/Bento4/Makefile
index dc3f83cd4e1c..9d2ae2f1a307 100644
--- a/multimedia/Bento4/Makefile
+++ b/multimedia/Bento4/Makefile
@@ -1,8 +1,7 @@
 PORTNAME=	Bento4
 PORTVERSION=	1.6.0
-DISTVERSIONPREFIX=v
-DISTVERSIONSUFFIX=-640
-PORTREVISION=	2
+DISTVERSIONPREFIX=	v
+DISTVERSIONSUFFIX=	-641
 CATEGORIES=	multimedia devel
 
 MAINTAINER=	rodrigo@FreeBSD.org
@@ -11,7 +10,7 @@ WWW=		https://www.bento4.com
 
 LICENSE=	GPLv2
 
-BROKEN_riscv64=		fails to compile: Ap4AesBlockCipher.cpp:93:4: AP4_PLATFORM_BYTE_ORDER is not set
+BROKEN_riscv64=	fails to compile: Ap4AesBlockCipher.cpp:93:4: AP4_PLATFORM_BYTE_ORDER is not set
 
 RUN_DEPENDS=	bash:shells/bash
 
@@ -20,27 +19,27 @@ CPE_VENDOR=	axiosys
 USE_GITHUB=	yes
 GH_ACCOUNT=	axiomatic-systems
 SHEBANG_FILES=	Source/Python/*/*
-SHEBANG_GLOB=	*.sh *.py
+SHEBANG_GLOB=	*.py *.sh
 
 CMAKE_BUILD_TYPE=	Release
-INSTALL_TARGET=		do-install
+INSTALL_TARGET=	do-install
 
 post-patch:
 	@${REINPLACE_CMD} -e 's|python3|${PYTHON_CMD}|g' ${WRKSRC}/Source/Python/wrappers/*
 	@${REINPLACE_CMD} -e 's|$$BASEDIR/..|${DATADIR}|g' ${WRKSRC}/Source/Python/wrappers/*
 
 do-install:
-.	for prog in aac2mp4 mp42aac mp42hls mp42ts mp4compact mp4dcfpackager \
-	    mp4decrypt mp4diff mp4dump mp4edit mp4encrypt mp4extract mp4fragment \
-	    mp4iframeindex mp4info mp4mux mp4split mp4tag
+. for prog in aac2mp4 mp42aac mp42hls mp42ts mp4compact mp4dcfpackager \
+	mp4decrypt mp4diff mp4dump mp4edit mp4encrypt mp4extract mp4fragment \
+	mp4iframeindex mp4info mp4mux mp4split mp4tag
 		${INSTALL_PROGRAM} ${INSTALL_WRKSRC}/${prog} ${STAGEDIR}${PREFIX}/bin
-.	endfor
+. endfor
 	${INSTALL_DATA} ${INSTALL_WRKSRC}/libap4.a ${STAGEDIR}${PREFIX}/lib
 	@${MKDIR} ${STAGEDIR}${DATADIR}/utils
 	cd ${WRKSRC}/Source/Python/utils && ${COPYTREE_SHARE} . ${STAGEDIR}${DATADIR}/utils
-.	for prog in mp4dash mp4dashclone mp4hls
+. for prog in mp4dash mp4dashclone mp4hls
 	${INSTALL_SCRIPT} ${WRKSRC}/Source/Python/wrappers/${prog} ${STAGEDIR}${PREFIX}/bin
-.	endfor
+. endfor
 	@${MKDIR} ${STAGEDIR}${PREFIX}/include/Bento4
 	@${FIND} -s ${WRKSRC} -type f -name "*.h" -type f \
 		-exec ${INSTALL_DATA} {} ${STAGEDIR}${PREFIX}/include/Bento4 ';'
diff --git a/multimedia/Bento4/distinfo b/multimedia/Bento4/distinfo
index 95121f56b849..96e6d72e3d12 100644
--- a/multimedia/Bento4/distinfo
+++ b/multimedia/Bento4/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1690230714
-SHA256 (axiomatic-systems-Bento4-v1.6.0-640_GH0.tar.gz) = 27a47dc9e2fafb957d3fbc60e15e3d50838ea30767bb09a3e54ca127bf02b7a1
-SIZE (axiomatic-systems-Bento4-v1.6.0-640_GH0.tar.gz) = 5484136
+TIMESTAMP = 1718361320
+SHA256 (axiomatic-systems-Bento4-v1.6.0-641_GH0.tar.gz) = e6575877708526e399cff752b4ee23cb1e2ac32fb251e2ca0a1e8d691fd172a7
+SIZE (axiomatic-systems-Bento4-v1.6.0-641_GH0.tar.gz) = 5483983