pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Hardware decoding in ffmpeg3 on RPI.



Hello, something like this in options.mk adds support for hardware decoding.

# Raspberry Pi support
.if !empty(PKG_OPTIONS:Mrpi)
.include "../../misc/raspberrypi-userland/buildlink3.mk"
#CFLAGS+=		"-L${PREFIX}/lib"
SUBST_CLASSES+=		vc
SUBST_STAGE.vc=		pre-configure
SUBST_MESSAGE.vc=	Fixing path to VideoCore libraries.
SUBST_FILES.vc=		configure
SUBST_SED.vc+=		-e 's;-isystem/opt/vc;-I${PREFIX};g'
SUBST_SED.vc+=		-e 's;/opt/vc;${PREFIX};g'
CONFIGURE_ARGS+=	--enable-omx-rpi --enable-mmal --disable-xvmc
.endif

Regards,
trebol.



Home | Main Index | Thread Index | Old Index