summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJonathan Liu <net147@gmail.com>2016-04-16 11:20:51 +1000
committerAndrei Gherzan <andrei@gherzan.ro>2016-04-21 19:12:38 +0200
commit3696c0ef66320fed8d631fea023756a52061eb66 (patch)
treeeb6793af853653151c43efb9e9490452ee75b7d4
parentbfc46bdd55d3d37efdb3734124c5c38975aa1323 (diff)
downloadmeta-raspberrypi-3696c0ef66320fed8d631fea023756a52061eb66.tar.gz
omxplayer: Bump revision
Fixes linking error due to missing vchostif library dependency. Rebased patches and removed patches already merged upstream. Signed-off-by: Jonathan Liu <net147@gmail.com>
-rw-r--r--recipes-multimedia/omxplayer/omxplayer/0002-Libraries-and-headers-from-ffmpeg-are-installed-in-u.patch12
-rw-r--r--recipes-multimedia/omxplayer/omxplayer/don-t-preserve-file-attributes-when-cp.patch18
-rw-r--r--recipes-multimedia/omxplayer/omxplayer/fix-tar-command-with-DIST.patch5
-rw-r--r--recipes-multimedia/omxplayer/omxplayer_git.bb3
4 files changed, 12 insertions, 26 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 366772e..75f7254 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
@@ -6,14 +6,16 @@ Subject: [PATCH] Libraries and headers from ffmpeg are installed in /usr.
6Don't search for libraries and headers in /usr/local. 6Don't search for libraries and headers in /usr/local.
7 7
8Upstream-Status: Inappropriate [embedded specific] 8Upstream-Status: Inappropriate [embedded specific]
9
9Signed-off-by: Andrei Gherzan <andrei@gherzan.ro> 10Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
11Signed-off-by: Jonathan Liu <net147@gmail.com>
10--- 12---
11 Makefile | 6 +++--- 13 Makefile | 6 +++---
12 Makefile.ffmpeg | 2 +- 14 Makefile.ffmpeg | 2 +-
13 2 files changed, 4 insertions(+), 4 deletions(-) 15 2 files changed, 4 insertions(+), 4 deletions(-)
14 16
15diff --git a/Makefile b/Makefile 17diff --git a/Makefile b/Makefile
16index 38e1400..1b15999 100644 18index be97c2b..2c120fc 100644
17--- a/Makefile 19--- a/Makefile
18+++ b/Makefile 20+++ b/Makefile
19@@ -1,9 +1,9 @@ 21@@ -1,9 +1,9 @@
@@ -32,14 +34,14 @@ index 38e1400..1b15999 100644
32 cp COPYING $(DIST)/usr/share/doc/omxplayer 34 cp COPYING $(DIST)/usr/share/doc/omxplayer
33 cp README.md $(DIST)/usr/share/doc/omxplayer/README 35 cp README.md $(DIST)/usr/share/doc/omxplayer/README
34 cp omxplayer.1 $(DIST)/usr/share/man/man1 36 cp omxplayer.1 $(DIST)/usr/share/man/man1
35- cp -a ffmpeg_compiled/usr/local/lib/*.so* $(DIST)/usr/lib/omxplayer/ 37- cp -P ffmpeg_compiled/usr/local/lib/*.so* $(DIST)/usr/lib/omxplayer/
36+ cp -a ffmpeg_compiled/usr/lib/*.so* $(DIST)/usr/lib/omxplayer/ 38+ cp -P ffmpeg_compiled/usr/lib/*.so* $(DIST)/usr/lib/omxplayer/
37 cd $(DIST); tar -czf ../$(DIST).tgz * 39 cd $(DIST); tar -czf ../$(DIST).tgz *
38diff --git a/Makefile.ffmpeg b/Makefile.ffmpeg 40diff --git a/Makefile.ffmpeg b/Makefile.ffmpeg
39index 4d2d720..9d66a85 100644 41index 5ccf96f..a7ddd5f 100644
40--- a/Makefile.ffmpeg 42--- a/Makefile.ffmpeg
41+++ b/Makefile.ffmpeg 43+++ b/Makefile.ffmpeg
42@@ -256,5 +256,5 @@ checkout: 44@@ -254,5 +254,5 @@ checkout:
43 .PHONY : install 45 .PHONY : install
44 install: 46 install:
45 cd ffmpeg; make -j9 DESTDIR="$(WORK)/ffmpeg_compiled" install 47 cd ffmpeg; make -j9 DESTDIR="$(WORK)/ffmpeg_compiled" install
diff --git a/recipes-multimedia/omxplayer/omxplayer/don-t-preserve-file-attributes-when-cp.patch b/recipes-multimedia/omxplayer/omxplayer/don-t-preserve-file-attributes-when-cp.patch
deleted file mode 100644
index 08df12e..0000000
--- a/recipes-multimedia/omxplayer/omxplayer/don-t-preserve-file-attributes-when-cp.patch
+++ /dev/null
@@ -1,18 +0,0 @@
1When running install (fakeroot) host-user-contaminated will fail because dist
2rule copies files while preserving file attributes like user ID.
3
4Upstream-Status: Submitted [https://github.com/popcornmix/omxplayer/pull/431]
5Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
6
7Index: git/Makefile
8===================================================================
9--- git.orig/Makefile
10+++ git/Makefile
11@@ -87,5 +87,5 @@ dist: omxplayer.bin omxplayer.1
12 cp COPYING $(DIST)/usr/share/doc/omxplayer
13 cp README.md $(DIST)/usr/share/doc/omxplayer/README
14 cp omxplayer.1 $(DIST)/usr/share/man/man1
15- cp -a ffmpeg_compiled/usr/lib/*.so* $(DIST)/usr/lib/omxplayer/
16+ cp -P ffmpeg_compiled/usr/lib/*.so* $(DIST)/usr/lib/omxplayer/
17 tar -czf omxplayer-dist.tar.gz $(DIST)
18\ No newline at end of file
diff --git a/recipes-multimedia/omxplayer/omxplayer/fix-tar-command-with-DIST.patch b/recipes-multimedia/omxplayer/omxplayer/fix-tar-command-with-DIST.patch
index 5b3bd21..ab40e40 100644
--- a/recipes-multimedia/omxplayer/omxplayer/fix-tar-command-with-DIST.patch
+++ b/recipes-multimedia/omxplayer/omxplayer/fix-tar-command-with-DIST.patch
@@ -3,7 +3,10 @@ https://github.com/popcornmix/omxplayer/commit/201c77973155861e60492e45d35467b19
3 3
4This fails if DIST is an absolute path. The old command was working just fine. 4This fails if DIST is an absolute path. The old command was working just fine.
5 5
6Upstream-Status: Pending
7
6Signed-off-by: Andrei Gherzan <andrei@gherzan.ro> 8Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
9Signed-off-by: Jonathan Liu <net147@gmail.com>
7 10
8Index: git/Makefile 11Index: git/Makefile
9=================================================================== 12===================================================================
@@ -12,7 +15,7 @@ Index: git/Makefile
12@@ -71,4 +71,4 @@ dist: omxplayer.bin 15@@ -71,4 +71,4 @@ dist: omxplayer.bin
13 cp COPYING $(DIST)/usr/share/doc/ 16 cp COPYING $(DIST)/usr/share/doc/
14 cp README.md $(DIST)/usr/share/doc/README 17 cp README.md $(DIST)/usr/share/doc/README
15 cp -a ffmpeg_compiled/usr/lib/*.so* $(DIST)/usr/lib/omxplayer/ 18 cp -P ffmpeg_compiled/usr/lib/*.so* $(DIST)/usr/lib/omxplayer/
16- cd $(DIST); tar -czf ../$(DIST).tgz * 19- cd $(DIST); tar -czf ../$(DIST).tgz *
17+ tar -czf omxplayer-dist.tar.gz $(DIST) 20+ tar -czf omxplayer-dist.tar.gz $(DIST)
18\ No newline at end of file 21\ No newline at end of file
diff --git a/recipes-multimedia/omxplayer/omxplayer_git.bb b/recipes-multimedia/omxplayer/omxplayer_git.bb
index c8251fe..7d3b464 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 openssl samba libssh" 10DEPENDS = "libpcre libav virtual/egl boost freetype dbus openssl samba libssh"
11PR = "r4" 11PR = "r4"
12 12
13SRCREV = "15a490b2397b358776c56b017a137c4716eb6b4e" 13SRCREV = "8466acf65f5f444dfa22631fb83c07ac759c02a5"
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 \
@@ -18,7 +18,6 @@ SRC_URI = "git://github.com/popcornmix/omxplayer.git;protocol=git;branch=master
18 file://0004-Add-FFMPEG_EXTRA_CFLAGS-and-FFMPEG_EXTRA_LDFLAGS.patch \ 18 file://0004-Add-FFMPEG_EXTRA_CFLAGS-and-FFMPEG_EXTRA_LDFLAGS.patch \
19 file://fix-tar-command-with-DIST.patch \ 19 file://fix-tar-command-with-DIST.patch \
20 file://use-native-pkg-config.patch \ 20 file://use-native-pkg-config.patch \
21 file://don-t-preserve-file-attributes-when-cp.patch \
22 " 21 "
23S = "${WORKDIR}/git" 22S = "${WORKDIR}/git"
24 23