Monday, January 19, 2026

Re: graphics/ffmpeg: Add svt-av1 support

On 2026/01/19 17:33, Pontus Stenetorp wrote:
> # keep it synced with x11/mplayer
> V= 8.0.1
> +REVISION= 1

please use tabs not spaces and REVISION should start at 0

> +.include <bsd.port.arch.mk>
> +
> +.if ${PROPERTIES:Mlp64} || ${MACHINE_ARCH} == i386

why the arch restriction?

> +WANTLIB+= SvtAv1Enc
> +LIB_DEPENDS+= multimedia/svt-av1
> +LIBavcodec_EXTRALIBS+= -lSvtAv1Enc
> +CONFIGURE_ARGS+= --enable-libsvtav1
> +.endif
> +
> .if ${MACHINE_ARCH} == i386
> LDLIBFLAGS+= -Wl,-znotext
> .endif
>

No comments:

Post a Comment