diff options
| author | Andrei Gherzan <andrei@gherzan.ro> | 2013-08-20 19:42:41 +0300 |
|---|---|---|
| committer | Andrei Gherzan <andrei@gherzan.ro> | 2013-08-21 15:55:05 +0300 |
| commit | ca4e4659f667443e34415a42c39e1bf8cd2e3a71 (patch) | |
| tree | cd4ad09ee19d028a7358fb1226c0d31905ed1c8c /recipes-multimedia/omxplayer/omxplayer_git.bb | |
| parent | 78d3a9d68d801c1f276c4c565793562688d67bb0 (diff) | |
| download | meta-raspberrypi-ca4e4659f667443e34415a42c39e1bf8cd2e3a71.tar.gz | |
omxplayer: Update to 2013-08-20 master's snapshot
* Use DIST for install path as used in package's makefile.
* Set FLOAT based on callconvention-hard TUNE_FEATURE.
* Add an include path to avoid a header error.
Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
Diffstat (limited to 'recipes-multimedia/omxplayer/omxplayer_git.bb')
| -rw-r--r-- | recipes-multimedia/omxplayer/omxplayer_git.bb | 24 |
1 files changed, 11 insertions, 13 deletions
diff --git a/recipes-multimedia/omxplayer/omxplayer_git.bb b/recipes-multimedia/omxplayer/omxplayer_git.bb index b637ba6..a456026 100644 --- a/recipes-multimedia/omxplayer/omxplayer_git.bb +++ b/recipes-multimedia/omxplayer/omxplayer_git.bb | |||
| @@ -7,29 +7,26 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f" | |||
| 7 | 7 | ||
| 8 | DEPENDS = "libpcre libav virtual/egl boost freetype" | 8 | DEPENDS = "libpcre libav virtual/egl boost freetype" |
| 9 | 9 | ||
| 10 | PR = "r0" | 10 | PR = "r1" |
| 11 | 11 | ||
| 12 | SRCREV = "231c08b42005e3de565013bc1cee18bd5a349c1f" | 12 | SRCREV = "dae98a8bba9dc7410b0621134f6ebdb406adb1bd" |
| 13 | SRC_URI = "git://github.com/huceke/omxplayer.git;protocol=git;branch=master \ | 13 | SRC_URI = "git://github.com/huceke/omxplayer.git;protocol=git;branch=master \ |
| 14 | file://remove-makefile-include.patch \ | 14 | file://0001-Remove-Makefile.include-which-includes-hardcoded.patch \ |
| 15 | file://libraries-are-installed-in-usr-lib.patch \ | 15 | file://0002-Libraries-and-headers-from-ffmpeg-are-installed-in-u.patch \ |
| 16 | file://remove-hardcoded-directory-omxplayer-dist.patch \ | 16 | file://0003-Remove-strip-step-in-Makefile.patch" |
| 17 | file://don-t-strip-while-installing.patch \ | ||
| 18 | " | ||
| 19 | S = "${WORKDIR}/git" | 17 | S = "${WORKDIR}/git" |
| 20 | 18 | ||
| 21 | COMPATIBLE_MACHINE = "raspberrypi" | 19 | COMPATIBLE_MACHINE = "raspberrypi" |
| 22 | 20 | ||
| 23 | inherit autotools | 21 | inherit autotools |
| 24 | 22 | ||
| 25 | # Variable added in Makefile to INCLUDE | 23 | # Needed in ffmpeg configure |
| 26 | export ADD_INCDIR = "-I${STAGING_INCDIR}/interface/vcos/pthreads -I${STAGING_INCDIR}/freetype2" | 24 | export TEMPDIR = "${S}/tmp" |
| 27 | 25 | ||
| 28 | # Needed in configure from Makefile.ffmpeg | 26 | # Needed in Makefile.ffmpeg |
| 29 | export HOST = "${HOST_SYS}" | 27 | export HOST = "${HOST_SYS}" |
| 30 | export WORK = "${S}" | 28 | export WORK = "${S}" |
| 31 | export TEMPDIR = "${S}/tmp" | 29 | export FLOAT = "${@bb.utils.contains("TUNE_FEATURES", "callconvention-hard", "hard", "softfp", d)}" |
| 32 | export FLOAT = "softfp" | ||
| 33 | 30 | ||
| 34 | export LDFLAGS = "-L${S}/ffmpeg_compiled/usr/lib \ | 31 | export LDFLAGS = "-L${S}/ffmpeg_compiled/usr/lib \ |
| 35 | -L${STAGING_DIR_HOST}/lib \ | 32 | -L${STAGING_DIR_HOST}/lib \ |
| @@ -39,10 +36,11 @@ export LDFLAGS = "-L${S}/ffmpeg_compiled/usr/lib \ | |||
| 39 | export INCLUDES = "-isystem${STAGING_DIR_HOST}/usr/include \ | 36 | export INCLUDES = "-isystem${STAGING_DIR_HOST}/usr/include \ |
| 40 | -isystem${STAGING_DIR_HOST}/usr/include/interface/vcos/pthreads \ | 37 | -isystem${STAGING_DIR_HOST}/usr/include/interface/vcos/pthreads \ |
| 41 | -isystem${STAGING_DIR_HOST}/usr/include/freetype2 \ | 38 | -isystem${STAGING_DIR_HOST}/usr/include/freetype2 \ |
| 39 | -isystem${STAGING_DIR_HOST}/usr/include/interface/vmcs_host/linux \ | ||
| 42 | " | 40 | " |
| 43 | 41 | ||
| 44 | # Install in ${D} | 42 | # Install in ${D} |
| 45 | export DEST = "${D}" | 43 | export DIST = "${D}" |
| 46 | 44 | ||
| 47 | do_compile() { | 45 | do_compile() { |
| 48 | # Needed for compiler test in ffmpeg's configure | 46 | # Needed for compiler test in ffmpeg's configure |
