audio/faad: Update to 2.11.2

Remove unneeded post-patch hack that was introduced in [1] to fix now
defunct multimedia/libquicktime. FAAD2_VERSION can be set to a proper
value by including <faad.h> if really neccesary, but the recommended
way to get the version string is to use the NeAACDecGetVersion() method,
which has been part of the API for over 8 years.

[1] https://cgit.freebsd.org/ports/commit/?id=7227864d65ee933830d17cf1c548b90289a950aa

https://github.com/knik0/faad2/releases/tag/2.11.2
This commit is contained in:
Jason E. Hale 2025-03-05 01:01:41 -05:00
parent 8aefc89a04
commit 511d9381b1
3 changed files with 7 additions and 9 deletions

View file

@ -1,5 +1,5 @@
PORTNAME= faad2
DISTVERSION= 2.11.1
DISTVERSION= 2.11.2
PORTEPOCH= 1
CATEGORIES= audio
@ -18,8 +18,6 @@ USE_LDCONFIG= yes
USE_GITHUB= yes
GH_ACCOUNT= knik0
post-patch:
@${REINPLACE_CMD} -E -e 's|(FAAD2_VERSION +)"unknown"|\1"${DISTVERSION:R}"|' \
${WRKSRC}/include/neaacdec.h
PLIST_SUB= SOVERSION=${DISTVERSION}
.include <bsd.port.mk>

View file

@ -1,3 +1,3 @@
TIMESTAMP = 1700258398
SHA256 (knik0-faad2-2.11.1_GH0.tar.gz) = 72dbc0494de9ee38d240f670eccf2b10ef715fd0508c305532ca3def3225bb06
SIZE (knik0-faad2-2.11.1_GH0.tar.gz) = 657255
TIMESTAMP = 1741152585
SHA256 (knik0-faad2-2.11.2_GH0.tar.gz) = 3fcbd305e4abd34768c62050e18ca0986f7d9c5eca343fb98275418013065c0e
SIZE (knik0-faad2-2.11.2_GH0.tar.gz) = 657260

View file

@ -3,9 +3,9 @@ include/faad.h
include/neaacdec.h
lib/libfaad.so
lib/libfaad.so.2
lib/libfaad.so.2.11.1
lib/libfaad.so.%%SOVERSION%%
lib/libfaad_drm.so
lib/libfaad_drm.so.2
lib/libfaad_drm.so.2.11.1
lib/libfaad_drm.so.%%SOVERSION%%
libdata/pkgconfig/faad2.pc
share/man/man1/faad.1.gz