diff options
| -rw-r--r-- | recipes-multimedia/omxplayer/omxplayer/don-t-preserve-file-attributes-when-cp.patch | 18 | ||||
| -rw-r--r-- | recipes-multimedia/omxplayer/omxplayer_git.bb | 1 |
2 files changed, 19 insertions, 0 deletions
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 new file mode 100644 index 0000000..08df12e --- /dev/null +++ b/recipes-multimedia/omxplayer/omxplayer/don-t-preserve-file-attributes-when-cp.patch | |||
| @@ -0,0 +1,18 @@ | |||
| 1 | When running install (fakeroot) host-user-contaminated will fail because dist | ||
| 2 | rule copies files while preserving file attributes like user ID. | ||
| 3 | |||
| 4 | Upstream-Status: Submitted [https://github.com/popcornmix/omxplayer/pull/431] | ||
| 5 | Signed-off-by: Andrei Gherzan <andrei@gherzan.ro> | ||
| 6 | |||
| 7 | Index: 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_git.bb b/recipes-multimedia/omxplayer/omxplayer_git.bb index a0690a0..c8251fe 100644 --- a/recipes-multimedia/omxplayer/omxplayer_git.bb +++ b/recipes-multimedia/omxplayer/omxplayer_git.bb | |||
| @@ -18,6 +18,7 @@ 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 \ | ||
| 21 | " | 22 | " |
| 22 | S = "${WORKDIR}/git" | 23 | S = "${WORKDIR}/git" |
| 23 | 24 | ||
