omxplayer: Add patch to fix host-user-contaminated QA

Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
Signed-off-by: Jonathan Liu <net147@gmail.com>
This commit is contained in:
Andrei Gherzan 2016-02-28 11:31:46 +01:00
parent 048008a935
commit 9295c7fd71
2 changed files with 19 additions and 0 deletions

View File

@ -0,0 +1,18 @@
When running install (fakeroot) host-user-contaminated will fail because dist
rule copies files while preserving file attributes like user ID.
Upstream-Status: Submitted [https://github.com/popcornmix/omxplayer/pull/431]
Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
Index: git/Makefile
===================================================================
--- git.orig/Makefile
+++ git/Makefile
@@ -87,5 +87,5 @@ dist: omxplayer.bin omxplayer.1
cp COPYING $(DIST)/usr/share/doc/omxplayer
cp README.md $(DIST)/usr/share/doc/omxplayer/README
cp omxplayer.1 $(DIST)/usr/share/man/man1
- cp -a ffmpeg_compiled/usr/lib/*.so* $(DIST)/usr/lib/omxplayer/
+ cp -P ffmpeg_compiled/usr/lib/*.so* $(DIST)/usr/lib/omxplayer/
tar -czf omxplayer-dist.tar.gz $(DIST)
\ No newline at end of file

View File

@ -18,6 +18,7 @@ SRC_URI = "git://github.com/popcornmix/omxplayer.git;protocol=git;branch=master
file://0004-Add-FFMPEG_EXTRA_CFLAGS-and-FFMPEG_EXTRA_LDFLAGS.patch \
file://fix-tar-command-with-DIST.patch \
file://use-native-pkg-config.patch \
file://don-t-preserve-file-attributes-when-cp.patch \
"
S = "${WORKDIR}/git"