Index | Thread | Search

From:
Stuart Henderson <stu@spacehopper.org>
Subject:
Re: graphics/ffmpeg: Add svt-av1 support
To:
Pontus Stenetorp <pontus@stenetorp.se>
Cc:
ports@openbsd.org
Date:
Mon, 19 Jan 2026 11:12:58 +0000

Download raw body.

Thread
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
>