diff options
| author | Khem Raj <raj.khem@gmail.com> | 2018-09-13 00:10:04 -0700 |
|---|---|---|
| committer | Andrei Gherzan <andrei@gherzan.com> | 2018-09-20 22:27:18 +0300 |
| commit | c1aabba056b491cd53333c2b20ba381032edf24a (patch) | |
| tree | 10e299ae63c77c00efb55b3082e8a6e057141b07 /recipes-multimedia/omxplayer/omxplayer_git.bb | |
| parent | ab8a44d655386bdac50224832585266a52ccaaf8 (diff) | |
| download | meta-raspberrypi-c1aabba056b491cd53333c2b20ba381032edf24a.tar.gz | |
omxplayer: Update and add fixes for OpenSSL 1.1.x and thumb2
* Update to latest from upstream
* Backport OpenSSL 1.1.x related patches for ffmpeg
* Pass --cpu based on machine, instead of hardcoding it to arm1176jzf-s
* Make --cc, --cxx and --ld be used from environment, helps building
with clang
* It requires userland graphics driver to build to encode that in
COMPATIBLE_HOST
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'recipes-multimedia/omxplayer/omxplayer_git.bb')
| -rw-r--r-- | recipes-multimedia/omxplayer/omxplayer_git.bb | 17 |
1 files changed, 14 insertions, 3 deletions
diff --git a/recipes-multimedia/omxplayer/omxplayer_git.bb b/recipes-multimedia/omxplayer/omxplayer_git.bb index 1df41a5..3c9800a 100644 --- a/recipes-multimedia/omxplayer/omxplayer_git.bb +++ b/recipes-multimedia/omxplayer/omxplayer_git.bb | |||
| @@ -10,7 +10,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f" | |||
| 10 | DEPENDS = "libpcre libav virtual/egl boost freetype dbus openssl libssh libomxil coreutils-native curl-native" | 10 | DEPENDS = "libpcre libav virtual/egl boost freetype dbus openssl libssh libomxil coreutils-native curl-native" |
| 11 | PR = "r4" | 11 | PR = "r4" |
| 12 | 12 | ||
| 13 | SRCREV_default = "b8ff59dccd9307f10dad71bec2525a95bd6c603b" | 13 | SRCREV_default = "7f3faf6cadac913013248de759462bcff92f0102" |
| 14 | 14 | ||
| 15 | # omxplayer builds its own copy of ffmpeg from source instead of using the | 15 | # omxplayer builds its own copy of ffmpeg from source instead of using the |
| 16 | # system's ffmpeg library. This isn't ideal but it's ok for now. We do however | 16 | # system's ffmpeg library. This isn't ideal but it's ok for now. We do however |
| @@ -31,12 +31,23 @@ SRC_URI = "git://github.com/popcornmix/omxplayer.git;protocol=git;branch=master | |||
| 31 | file://use-native-pkg-config.patch \ | 31 | file://use-native-pkg-config.patch \ |
| 32 | file://0005-Don-t-require-internet-connection-during-build.patch \ | 32 | file://0005-Don-t-require-internet-connection-during-build.patch \ |
| 33 | file://0006-Prevent-ffmpeg-configure-compile-race-condition.patch \ | 33 | file://0006-Prevent-ffmpeg-configure-compile-race-condition.patch \ |
| 34 | file://0001-Specify-cc-cxx-and-ld-variables-from-environment.patch \ | ||
| 35 | file://0001-openssl-Support-version-1.1.0.patch;patchdir=ffmpeg \ | ||
| 36 | file://0001-swresample-arm-avoid-conditional-branch-to-PLT-in-TH.patch;patchdir=ffmpeg \ | ||
| 37 | file://0001-rtmpdh-Stop-using-OpenSSL-provided-DH-functions-to-s.patch;patchdir=ffmpeg \ | ||
| 34 | " | 38 | " |
| 35 | S = "${WORKDIR}/git" | 39 | S = "${WORKDIR}/git" |
| 36 | 40 | ||
| 37 | COMPATIBLE_MACHINE ?= "null" | 41 | COMPATIBLE_MACHINE ?= "null" |
| 38 | COMPATIBLE_MACHINE_rpi_aarch64 = "null" | 42 | COMPATIBLE_HOST_rpi = "${@bb.utils.contains('MACHINE_FEATURES', 'vc4graphics', 'null', '(.*)', d)}" |
| 39 | COMPATIBLE_MACHINE_rpi = "(.*)" | 43 | |
| 44 | def cpu(d): | ||
| 45 | for arg in (d.getVar('TUNE_CCARGS') or '').split(): | ||
| 46 | if arg.startswith('-mcpu='): | ||
| 47 | return arg[6:] | ||
| 48 | return 'generic' | ||
| 49 | |||
| 50 | export CPU = "${@cpu(d)}" | ||
| 40 | 51 | ||
| 41 | inherit autotools-brokensep pkgconfig | 52 | inherit autotools-brokensep pkgconfig |
| 42 | 53 | ||
