On Wed, Sep 27, 2017 at 09:26:12AM +0100, trebol wrote:
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
Thanks, I've added this.
I can't test it though, so someone with an rpi should do that :)
Thomas