summaryrefslogtreecommitdiffstats
path: root/recipes-multimedia/omxplayer/omxplayer_git.bb
diff options
context:
space:
mode:
authorAndrei Gherzan <andrei@gherzan.ro>2013-08-20 19:42:41 +0300
committerAndrei Gherzan <andrei@gherzan.ro>2013-08-21 15:55:05 +0300
commitca4e4659f667443e34415a42c39e1bf8cd2e3a71 (patch)
treecd4ad09ee19d028a7358fb1226c0d31905ed1c8c /recipes-multimedia/omxplayer/omxplayer_git.bb
parent78d3a9d68d801c1f276c4c565793562688d67bb0 (diff)
downloadmeta-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.bb24
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
8DEPENDS = "libpcre libav virtual/egl boost freetype" 8DEPENDS = "libpcre libav virtual/egl boost freetype"
9 9
10PR = "r0" 10PR = "r1"
11 11
12SRCREV = "231c08b42005e3de565013bc1cee18bd5a349c1f" 12SRCREV = "dae98a8bba9dc7410b0621134f6ebdb406adb1bd"
13SRC_URI = "git://github.com/huceke/omxplayer.git;protocol=git;branch=master \ 13SRC_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 "
19S = "${WORKDIR}/git" 17S = "${WORKDIR}/git"
20 18
21COMPATIBLE_MACHINE = "raspberrypi" 19COMPATIBLE_MACHINE = "raspberrypi"
22 20
23inherit autotools 21inherit autotools
24 22
25# Variable added in Makefile to INCLUDE 23# Needed in ffmpeg configure
26export ADD_INCDIR = "-I${STAGING_INCDIR}/interface/vcos/pthreads -I${STAGING_INCDIR}/freetype2" 24export TEMPDIR = "${S}/tmp"
27 25
28# Needed in configure from Makefile.ffmpeg 26# Needed in Makefile.ffmpeg
29export HOST = "${HOST_SYS}" 27export HOST = "${HOST_SYS}"
30export WORK = "${S}" 28export WORK = "${S}"
31export TEMPDIR = "${S}/tmp" 29export FLOAT = "${@bb.utils.contains("TUNE_FEATURES", "callconvention-hard", "hard", "softfp", d)}"
32export FLOAT = "softfp"
33 30
34export LDFLAGS = "-L${S}/ffmpeg_compiled/usr/lib \ 31export 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 \
39export INCLUDES = "-isystem${STAGING_DIR_HOST}/usr/include \ 36export 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}
45export DEST = "${D}" 43export DIST = "${D}"
46 44
47do_compile() { 45do_compile() {
48 # Needed for compiler test in ffmpeg's configure 46 # Needed for compiler test in ffmpeg's configure