summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrei Gherzan <andrei@gherzan.ro>2014-05-08 21:04:09 +0300
committerAndrei Gherzan <andrei@gherzan.ro>2014-05-09 14:56:59 +0300
commitf3a8693f08f99893453fd1fe282515b2f222c080 (patch)
treeea21224cc92a95f78f7b80f3a2976434f6d72261
parent4bdd72341c6d3ace1c64e78ac439768402089d9b (diff)
downloadmeta-raspberrypi-f3a8693f08f99893453fd1fe282515b2f222c080.tar.gz
omxplayer: Update to remote's HEAD
Rebase a patch for this version and fix "unsafe for cross-compilation" warnings. Change-Id: Idcc9f188bc716982ede9dfb5f87870d9f5a2f9a3 Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
-rw-r--r--recipes-multimedia/omxplayer/omxplayer/0002-Libraries-and-headers-from-ffmpeg-are-installed-in-u.patch38
-rw-r--r--recipes-multimedia/omxplayer/omxplayer_git.bb2
2 files changed, 24 insertions, 16 deletions
diff --git a/recipes-multimedia/omxplayer/omxplayer/0002-Libraries-and-headers-from-ffmpeg-are-installed-in-u.patch b/recipes-multimedia/omxplayer/omxplayer/0002-Libraries-and-headers-from-ffmpeg-are-installed-in-u.patch
index 7f7927f..9bc137f 100644
--- a/recipes-multimedia/omxplayer/omxplayer/0002-Libraries-and-headers-from-ffmpeg-are-installed-in-u.patch
+++ b/recipes-multimedia/omxplayer/omxplayer/0002-Libraries-and-headers-from-ffmpeg-are-installed-in-u.patch
@@ -8,37 +8,45 @@ Don't search for libraries and headers in /usr/local.
8Upstream-Status: Inappropriate [embedded specific] 8Upstream-Status: Inappropriate [embedded specific]
9Signed-off-by: Andrei Gherzan <andrei@gherzan.ro> 9Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
10 10
11Index: git/Makefile 11---
12=================================================================== 12 Makefile | 6 +++---
13--- git.orig/Makefile 13 Makefile.ffmpeg | 2 +-
14+++ git/Makefile 14 2 files changed, 4 insertions(+), 4 deletions(-)
15@@ -1,9 +1,9 @@ 15
16diff --git a/Makefile b/Makefile
17index 87cb775..abe9923 100644
18--- a/Makefile
19+++ b/Makefile
20@@ -2,9 +2,9 @@ include Makefile.include
16 21
17 CFLAGS+=-std=c++0x -D__STDC_CONSTANT_MACROS -D__STDC_LIMIT_MACROS -DTARGET_POSIX -DTARGET_LINUX -fPIC -DPIC -D_REENTRANT -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -DHAVE_CMAKE_CONFIG -D__VIDEOCORE4__ -U_FORTIFY_SOURCE -Wall -DHAVE_OMXLIB -DUSE_EXTERNAL_FFMPEG -DHAVE_LIBAVCODEC_AVCODEC_H -DHAVE_LIBAVUTIL_OPT_H -DHAVE_LIBAVUTIL_MEM_H -DHAVE_LIBAVUTIL_AVUTIL_H -DHAVE_LIBAVFORMAT_AVFORMAT_H -DHAVE_LIBAVFILTER_AVFILTER_H -DHAVE_LIBSWRESAMPLE_SWRESAMPLE_H -DOMX -DOMX_SKIP64BIT -ftree-vectorize -DUSE_EXTERNAL_OMX -DTARGET_RASPBERRY_PI -DUSE_EXTERNAL_LIBBCM_HOST 22 CFLAGS+=-std=c++0x -D__STDC_CONSTANT_MACROS -D__STDC_LIMIT_MACROS -DTARGET_POSIX -DTARGET_LINUX -fPIC -DPIC -D_REENTRANT -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -DHAVE_CMAKE_CONFIG -D__VIDEOCORE4__ -U_FORTIFY_SOURCE -Wall -DHAVE_OMXLIB -DUSE_EXTERNAL_FFMPEG -DHAVE_LIBAVCODEC_AVCODEC_H -DHAVE_LIBAVUTIL_OPT_H -DHAVE_LIBAVUTIL_MEM_H -DHAVE_LIBAVUTIL_AVUTIL_H -DHAVE_LIBAVFORMAT_AVFORMAT_H -DHAVE_LIBAVFILTER_AVFILTER_H -DHAVE_LIBSWRESAMPLE_SWRESAMPLE_H -DOMX -DOMX_SKIP64BIT -ftree-vectorize -DUSE_EXTERNAL_OMX -DTARGET_RASPBERRY_PI -DUSE_EXTERNAL_LIBBCM_HOST
18 23
19-LDFLAGS+=-L./ -Lffmpeg_compiled/usr/local/lib/ -lc -lWFC -lGLESv2 -lEGL -lbcm_host -lopenmaxil -lfreetype -lz 24-LDFLAGS+=-L./ -Lffmpeg_compiled/usr/local/lib/ -lc -lWFC -lGLESv2 -lEGL -lbcm_host -lopenmaxil -lfreetype -lz
20+LDFLAGS+=-L./ -Lffmpeg_compiled/usr/lib/ -lc -lWFC -lGLESv2 -lEGL -lbcm_host -lopenmaxil -lfreetype -lz 25+LDFLAGS+=-L./ -Lffmpeg_compiled/usr/lib/ -lc -lWFC -lGLESv2 -lEGL -lbcm_host -lopenmaxil -lfreetype -lz
21 26
22-INCLUDES+=-I./ -Ilinux -Iffmpeg_compiled/usr/local/include/ 27-INCLUDES+=-I./ -Ilinux -Iffmpeg_compiled/usr/local/include/ -I /usr/include/dbus-1.0 -I /usr/lib/arm-linux-gnueabihf/dbus-1.0/include
23+INCLUDES+=-I./ -Ilinux -Iffmpeg_compiled/usr/include/ 28+INCLUDES+=-I./ -Ilinux -Iffmpeg_compiled/usr/include/ -I=/usr/include/dbus-1.0 -I=/usr/lib/arm-linux-gnueabihf/dbus-1.0/include
24 29
25 DIST ?= omxplayer-dist 30 DIST ?= omxplayer-dist
26 31
27@@ -70,5 +70,5 @@ dist: omxplayer.bin 32@@ -71,5 +71,5 @@ dist: omxplayer.bin
28 cp omxplayer omxplayer.bin $(DIST)/usr/bin 33 cp omxplayer omxplayer.bin $(DIST)/usr/bin
29 cp COPYING $(DIST)/usr/share/doc/ 34 cp COPYING $(DIST)/usr/share/doc/omxplayer
30 cp README.md $(DIST)/usr/share/doc/README 35 cp README.md $(DIST)/usr/share/doc/omxplayer/README
31- cp -a ffmpeg_compiled/usr/local/lib/*.so* $(DIST)/usr/lib/omxplayer/ 36- cp -a ffmpeg_compiled/usr/local/lib/*.so* $(DIST)/usr/lib/omxplayer/
32+ cp -a ffmpeg_compiled/usr/lib/*.so* $(DIST)/usr/lib/omxplayer/ 37+ cp -a ffmpeg_compiled/usr/lib/*.so* $(DIST)/usr/lib/omxplayer/
33 cd $(DIST); tar -czf ../$(DIST).tgz * 38 cd $(DIST); tar -czf ../$(DIST).tgz *
34Index: git/Makefile.ffmpeg 39diff --git a/Makefile.ffmpeg b/Makefile.ffmpeg
35=================================================================== 40index c21b2fa..5518680 100644
36--- git.orig/Makefile.ffmpeg 41--- a/Makefile.ffmpeg
37+++ git/Makefile.ffmpeg 42+++ b/Makefile.ffmpeg
38@@ -248,5 +248,5 @@ checkout: 43@@ -249,5 +249,5 @@ checkout:
39 44
40 install: 45 install:
41 cd ffmpeg; make -j9 DESTDIR="$(WORK)/ffmpeg_compiled" install 46 cd ffmpeg; make -j9 DESTDIR="$(WORK)/ffmpeg_compiled" install
42- $(HOST)-strip ffmpeg_compiled/usr/local/lib/*.so 47- $(HOST)-strip ffmpeg_compiled/usr/local/lib/*.so
43+ $(HOST)-strip ffmpeg_compiled/usr/lib/*.so 48+ $(HOST)-strip ffmpeg_compiled/usr/lib/*.so
44 49
50--
511.8.5.3
52
diff --git a/recipes-multimedia/omxplayer/omxplayer_git.bb b/recipes-multimedia/omxplayer/omxplayer_git.bb
index cee68e1..5763d8f 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"
10DEPENDS = "libpcre libav virtual/egl boost freetype dbus" 10DEPENDS = "libpcre libav virtual/egl boost freetype dbus"
11PR = "r3" 11PR = "r3"
12 12
13SRCREV = "7af21f596378e5efeceebedff9c4a298e2d06d98" 13SRCREV = "f3221825a92f27c5f49a52200ff933e454977ed2"
14SRC_URI = "git://github.com/popcornmix/omxplayer.git;protocol=git;branch=master \ 14SRC_URI = "git://github.com/popcornmix/omxplayer.git;protocol=git;branch=master \
15 file://0001-Remove-Makefile.include-which-includes-hardcoded.patch \ 15 file://0001-Remove-Makefile.include-which-includes-hardcoded.patch \
16 file://0002-Libraries-and-headers-from-ffmpeg-are-installed-in-u.patch \ 16 file://0002-Libraries-and-headers-from-ffmpeg-are-installed-in-u.patch \