mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-28 05:06:43 +00:00
Merge pull request #4620 from MilhouseVH/rbp_hevc
[rbp] Add extra FFmpeg HEVC dependencies
This commit is contained in:
commit
c8cd0c49da
@ -55,6 +55,10 @@ else
|
|||||||
FFMPEG_DEBUG="--disable-debug --enable-stripping"
|
FFMPEG_DEBUG="--disable-debug --enable-stripping"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
if [ "$KODIPLAYER_DRIVER" = "bcm2835-driver" ]; then
|
||||||
|
PKG_DEPENDS_TARGET="$PKG_DEPENDS_TARGET bcm2835-driver"
|
||||||
|
fi
|
||||||
|
|
||||||
case "$TARGET_ARCH" in
|
case "$TARGET_ARCH" in
|
||||||
arm)
|
arm)
|
||||||
FFMPEG_CPU=""
|
FFMPEG_CPU=""
|
||||||
@ -89,6 +93,11 @@ pre_configure_target() {
|
|||||||
|
|
||||||
# ffmpeg fails running with GOLD support
|
# ffmpeg fails running with GOLD support
|
||||||
strip_gold
|
strip_gold
|
||||||
|
|
||||||
|
if [ "$KODIPLAYER_DRIVER" = "bcm2835-driver" ]; then
|
||||||
|
export CFLAGS="-I$SYSROOT_PREFIX/usr/include/interface/vcos/pthreads -I$SYSROOT_PREFIX/usr/include/interface/vmcs_host/linux -DRPI=1 $CFLAGS"
|
||||||
|
export FFMPEG_LIBS="-lbcm_host -lvcos -lvchiq_arm -lmmal -lmmal_core -lmmal_util -lvcsm"
|
||||||
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
configure_target() {
|
configure_target() {
|
||||||
@ -112,7 +121,7 @@ configure_target() {
|
|||||||
--host-libs="-lm" \
|
--host-libs="-lm" \
|
||||||
--extra-cflags="$CFLAGS" \
|
--extra-cflags="$CFLAGS" \
|
||||||
--extra-ldflags="$LDFLAGS -fPIC" \
|
--extra-ldflags="$LDFLAGS -fPIC" \
|
||||||
--extra-libs="" \
|
--extra-libs="$FFMPEG_LIBS" \
|
||||||
--extra-version="" \
|
--extra-version="" \
|
||||||
--build-suffix="" \
|
--build-suffix="" \
|
||||||
--disable-static \
|
--disable-static \
|
||||||
|
Loading…
x
Reference in New Issue
Block a user