git: d1616e43dfe9 - main - audio/faad: Update to 2.11.1

From: Daniel Engberg <diizzy_at_FreeBSD.org>
Date: Sat, 18 Nov 2023 09:27:18 UTC
The branch main has been updated by diizzy:

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

commit d1616e43dfe926c059447cba0fe213c1655fdd29
Author:     Daniel Engberg <diizzy@FreeBSD.org>
AuthorDate: 2023-11-18 09:03:03 +0000
Commit:     Daniel Engberg <diizzy@FreeBSD.org>
CommitDate: 2023-11-18 09:24:49 +0000

    audio/faad: Update to 2.11.1
    
    Changelog: https://github.com/knik0/faad2/releases/tag/2.11.1
---
 audio/faad/Makefile                       | 19 +++----------------
 audio/faad/distinfo                       |  6 +++---
 audio/faad/files/patch-frontend_mp4read.c | 13 -------------
 audio/faad/pkg-plist                      |  8 +++-----
 4 files changed, 9 insertions(+), 37 deletions(-)

diff --git a/audio/faad/Makefile b/audio/faad/Makefile
index f18dce8cfe0f..35becb877848 100644
--- a/audio/faad/Makefile
+++ b/audio/faad/Makefile
@@ -1,5 +1,5 @@
 PORTNAME=	faad2
-PORTVERSION=	2.10.1
+DISTVERSION=	2.11.1
 PORTEPOCH=	1
 CATEGORIES=	audio
 
@@ -10,29 +10,16 @@ WWW=		https://github.com/knik0/faad2
 LICENSE=	GPLv2+
 LICENSE_FILE=	${WRKSRC}/COPYING
 
-USES=		autoreconf cpe gmake libtool localbase:ldflags
+USES=		cmake cpe pathfix
 CPE_VENDOR=	audiocoding
 CPE_PRODUCT=	freeware_advanced_audio_decoder_2
-
-INSTALL_TARGET=	install-strip
-
-GNU_CONFIGURE=	yes
-LDFLAGS+=	-lpthread
 USE_LDCONFIG=	yes
 
 USE_GITHUB=	yes
 GH_ACCOUNT=	knik0
-GH_TAGNAME=	c626366
-
-post-extract:
-	@${LN} -sf faad.man ${WRKSRC}/frontend/faad.1
 
 post-patch:
-	@${REINPLACE_CMD} -e 's|faad.man|faad.1|g' \
-		${WRKSRC}/frontend/Makefile.am
-	@${REINPLACE_CMD} -e 's|^AM_CFLAGS|AM_CPPFLAGS|g ; \
-		 s|-iquote |-I|g' ${WRKSRC}/libfaad/Makefile.am
-	@${REINPLACE_CMD} -E -e 's|(FAAD2_VERSION +)"unknown"|\1"${PORTVERSION:R}"|' \
+	@${REINPLACE_CMD} -E -e 's|(FAAD2_VERSION +)"unknown"|\1"${DISTVERSION:R}"|' \
 		${WRKSRC}/include/neaacdec.h
 
 .include <bsd.port.mk>
diff --git a/audio/faad/distinfo b/audio/faad/distinfo
index 75865bab6599..a9157fac8893 100644
--- a/audio/faad/distinfo
+++ b/audio/faad/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1666730941
-SHA256 (knik0-faad2-2.10.1-c626366_GH0.tar.gz) = b83a70fe976f3ddf8d9cf5742c36102b91a1bae829d85b340311e7c4a6d176f6
-SIZE (knik0-faad2-2.10.1-c626366_GH0.tar.gz) = 803223
+TIMESTAMP = 1700258398
+SHA256 (knik0-faad2-2.11.1_GH0.tar.gz) = 72dbc0494de9ee38d240f670eccf2b10ef715fd0508c305532ca3def3225bb06
+SIZE (knik0-faad2-2.11.1_GH0.tar.gz) = 657255
diff --git a/audio/faad/files/patch-frontend_mp4read.c b/audio/faad/files/patch-frontend_mp4read.c
deleted file mode 100644
index 41cf82a33cae..000000000000
--- a/audio/faad/files/patch-frontend_mp4read.c
+++ /dev/null
@@ -1,13 +0,0 @@
-Make sure WORDS_BIGENDIAN is available on big endian archs like
-powerpc{,64}.
-
---- frontend/mp4read.c.orig	2018-06-26 06:56:37 UTC
-+++ frontend/mp4read.c
-@@ -24,6 +24,7 @@
- #include <time.h>
- #include <limits.h>
- 
-+#include "config.h"
- #include "unicode_support.h"
- #include "mp4read.h"
- 
diff --git a/audio/faad/pkg-plist b/audio/faad/pkg-plist
index 0f7d88ea84a9..75b89785ef08 100644
--- a/audio/faad/pkg-plist
+++ b/audio/faad/pkg-plist
@@ -1,13 +1,11 @@
 bin/faad
 include/faad.h
 include/neaacdec.h
-lib/libfaad.a
 lib/libfaad.so
 lib/libfaad.so.2
-lib/libfaad.so.2.0.0
-lib/libfaad_drm.a
+lib/libfaad.so.2.11.1
 lib/libfaad_drm.so
 lib/libfaad_drm.so.2
-lib/libfaad_drm.so.2.0.0
+lib/libfaad_drm.so.2.11.1
 libdata/pkgconfig/faad2.pc
-man/man1/faad.1.gz
+share/man/man1/faad.1.gz