mirror of
https://git.yoctoproject.org/meta-raspberrypi
synced 2026-07-16 03:46:56 +00:00
omxplaye: Fix build with userland graphic driver
- Upgrade to latest omxplayer with ffmpeg 4.x - drop backported patches which are not needed - Make vc4 support patch conditionally apply only when vc4graphics is used Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
@@ -11,7 +11,7 @@ DEPENDS = "libpcre libav virtual/egl boost freetype dbus openssl libssh libomxil
|
||||
|
||||
PR = "r4"
|
||||
|
||||
SRCREV_default = "7f3faf6cadac913013248de759462bcff92f0102"
|
||||
SRCREV_default = "b4bbef8fac5e8c2ddafa895f98456ba715b39c6b"
|
||||
|
||||
# omxplayer builds its own copy of ffmpeg from source instead of using the
|
||||
# system's ffmpeg library. This isn't ideal but it's ok for now. We do however
|
||||
@@ -19,11 +19,11 @@ SRCREV_default = "7f3faf6cadac913013248de759462bcff92f0102"
|
||||
# fetching the latest commit on a release branch (which is what the checkout job
|
||||
# in Makefile.ffmpeg in the omxplayer source tree does).
|
||||
#
|
||||
# This SRCREV corresponds to the v3.1.10 release of ffmpeg.
|
||||
SRCREV_ffmpeg = "afa34cb36edca0ff809b7e58474bbce12271ecba"
|
||||
# This SRCREV corresponds to the v4.0.3 release of ffmpeg.
|
||||
SRCREV_ffmpeg = "fcbd117df3077bad495e99e20f01cf93737bce76"
|
||||
|
||||
SRC_URI = "git://github.com/popcornmix/omxplayer.git;protocol=git;branch=master \
|
||||
git://source.ffmpeg.org/ffmpeg;branch=release/3.1;protocol=git;depth=1;name=ffmpeg;destsuffix=git/ffmpeg \
|
||||
git://github.com/FFmpeg/FFmpeg;branch=release/4.0;protocol=git;depth=1;name=ffmpeg;destsuffix=git/ffmpeg \
|
||||
file://0002-Libraries-and-headers-from-ffmpeg-are-installed-in-u.patch \
|
||||
file://0003-Remove-strip-step-in-Makefile.patch \
|
||||
file://0004-Add-FFMPEG_EXTRA_CFLAGS-and-FFMPEG_EXTRA_LDFLAGS.patch \
|
||||
@@ -32,12 +32,11 @@ SRC_URI = "git://github.com/popcornmix/omxplayer.git;protocol=git;branch=master
|
||||
file://0005-Don-t-require-internet-connection-during-build.patch \
|
||||
file://0006-Prevent-ffmpeg-configure-compile-race-condition.patch \
|
||||
file://0001-Specify-cc-cxx-and-ld-variables-from-environment.patch \
|
||||
file://0001-openssl-Support-version-1.1.0.patch;patchdir=ffmpeg \
|
||||
file://0001-swresample-arm-avoid-conditional-branch-to-PLT-in-TH.patch;patchdir=ffmpeg \
|
||||
file://0001-rtmpdh-Stop-using-OpenSSL-provided-DH-functions-to-s.patch;patchdir=ffmpeg \
|
||||
file://cross-crompile-ffmpeg.patch \
|
||||
file://0001-Fix-build-with-vc4-driver.patch \
|
||||
"
|
||||
|
||||
SRC_URI_append = "${@bb.utils.contains("MACHINE_FEATURES", "vc4graphics", " file://0001-Fix-build-with-vc4-driver.patch ", "", d)}"
|
||||
|
||||
S = "${WORKDIR}/git"
|
||||
|
||||
COMPATIBLE_MACHINE = "^rpi$"
|
||||
|
||||
Reference in New Issue
Block a user