diff options
| author | Paul Barker <pbarker@toganlabs.com> | 2017-09-07 20:10:40 +0000 |
|---|---|---|
| committer | Andrei Gherzan <andrei@gherzan.com> | 2017-09-24 20:39:35 +0100 |
| commit | b00d914e78c8f4abfaff29deda5a72689230fa5f (patch) | |
| tree | 77da569e78da6c8c8da8183603114aaac4e8062b /recipes-multimedia/omxplayer/omxplayer_git.bb | |
| parent | acd58692356df2bbdc3aa1d6b15f44c104ad3b45 (diff) | |
| download | meta-raspberrypi-b00d914e78c8f4abfaff29deda5a72689230fa5f.tar.gz | |
omxplayer: Fix build issues
* Update the recipe and patch the Makefile to not require internet access during
do_compile. Unfortunately, the upstream Makefile wants to access a web service
hosted on Heroku and to "git clone" ffmpeg with no fixed commit hash.
* Patch Makefile.ffmpeg to avoid a potential race condition between the
configure & compile stages.
Signed-off-by: Paul Barker <pbarker@toganlabs.com>
Diffstat (limited to 'recipes-multimedia/omxplayer/omxplayer_git.bb')
| -rw-r--r-- | recipes-multimedia/omxplayer/omxplayer_git.bb | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/recipes-multimedia/omxplayer/omxplayer_git.bb b/recipes-multimedia/omxplayer/omxplayer_git.bb index 713dacf..8079a40 100644 --- a/recipes-multimedia/omxplayer/omxplayer_git.bb +++ b/recipes-multimedia/omxplayer/omxplayer_git.bb | |||
| @@ -10,14 +10,18 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f" | |||
| 10 | DEPENDS = "libpcre libav virtual/egl boost freetype dbus openssl samba libssh libomxil coreutils-native curl-native" | 10 | DEPENDS = "libpcre libav virtual/egl boost freetype dbus openssl samba libssh libomxil coreutils-native curl-native" |
| 11 | PR = "r4" | 11 | PR = "r4" |
| 12 | 12 | ||
| 13 | SRCREV = "b8ff59dccd9307f10dad71bec2525a95bd6c603b" | 13 | SRCREV_default = "b8ff59dccd9307f10dad71bec2525a95bd6c603b" |
| 14 | SRCREV_ffmpeg = "afa34cb36edca0ff809b7e58474bbce12271ecba" | ||
| 14 | SRC_URI = "git://github.com/popcornmix/omxplayer.git;protocol=git;branch=master \ | 15 | SRC_URI = "git://github.com/popcornmix/omxplayer.git;protocol=git;branch=master \ |
| 16 | git://source.ffmpeg.org/ffmpeg;branch=release/3.1;protocol=git;depth=1;name=ffmpeg;destsuffix=git/ffmpeg \ | ||
| 15 | file://0001-Remove-Makefile.include-which-includes-hardcoded.patch \ | 17 | file://0001-Remove-Makefile.include-which-includes-hardcoded.patch \ |
| 16 | file://0002-Libraries-and-headers-from-ffmpeg-are-installed-in-u.patch \ | 18 | file://0002-Libraries-and-headers-from-ffmpeg-are-installed-in-u.patch \ |
| 17 | file://0003-Remove-strip-step-in-Makefile.patch \ | 19 | file://0003-Remove-strip-step-in-Makefile.patch \ |
| 18 | file://0004-Add-FFMPEG_EXTRA_CFLAGS-and-FFMPEG_EXTRA_LDFLAGS.patch \ | 20 | file://0004-Add-FFMPEG_EXTRA_CFLAGS-and-FFMPEG_EXTRA_LDFLAGS.patch \ |
| 19 | file://fix-tar-command-with-DIST.patch \ | 21 | file://fix-tar-command-with-DIST.patch \ |
| 20 | file://use-native-pkg-config.patch \ | 22 | file://use-native-pkg-config.patch \ |
| 23 | file://0005-Don-t-require-internet-connection-during-build.patch \ | ||
| 24 | file://0006-Prevent-ffmpeg-configure-compile-race-condition.patch \ | ||
| 21 | " | 25 | " |
| 22 | S = "${WORKDIR}/git" | 26 | S = "${WORKDIR}/git" |
| 23 | 27 | ||
| @@ -53,7 +57,8 @@ do_compile() { | |||
| 53 | # Needed for compiler test in ffmpeg's configure | 57 | # Needed for compiler test in ffmpeg's configure |
| 54 | mkdir -p tmp | 58 | mkdir -p tmp |
| 55 | 59 | ||
| 56 | oe_runmake ffmpeg | 60 | oe_runmake -f Makefile.ffmpeg |
| 61 | oe_runmake -f Makefile.ffmpeg install | ||
| 57 | oe_runmake | 62 | oe_runmake |
| 58 | } | 63 | } |
| 59 | 64 | ||
