Index | Thread | Search

From:
Kirill A. Korinsky <kirill@korins.ky>
Subject:
Re: graphics/ffmpeg: Add svt-av1 support
To:
Pontus Stenetorp <pontus@stenetorp.se>, ports@openbsd.org
Date:
Mon, 19 Jan 2026 12:53:36 +0100

Download raw body.

Thread
On Mon, 19 Jan 2026 12:12:58 +0100,
Stuart Henderson <stu@spacehopper.org> wrote:
> 
> 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?
>

Probably because multimedia/svt-av1 has:

ONLY_FOR_ARCHS=	${LP64_ARCHS} i386

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

-- 
wbr, Kirill