---
 .../omxplayer/explicitly_link_with_vchostif_library.patch   | 13 +++++++++++++
 recipes-multimedia/omxplayer/omxplayer_git.bb               |  5 +++--
 2 files changed, 16 insertions(+), 2 deletions(-)
 create mode 100644 
recipes-multimedia/omxplayer/omxplayer/explicitly_link_with_vchostif_library.patch

diff --git 
a/recipes-multimedia/omxplayer/omxplayer/explicitly_link_with_vchostif_library.patch
 
b/recipes-multimedia/omxplayer/omxplayer/explicitly_link_with_vchostif_library.patch
new file mode 100644
index 0000000..642f63a
--- /dev/null
+++ 
b/recipes-multimedia/omxplayer/omxplayer/explicitly_link_with_vchostif_library.patch
@@ -0,0 +1,13 @@
+diff --git a/Makefile b/Makefile
+index 80b63b1..bcfadfb 100644
+--- a/Makefile
++++ b/Makefile
+@@ -51,7 +51,7 @@ version:
+       bash gen_version.sh > version.h 
+ 
+ omxplayer.bin: version $(OBJS)
+-      $(CXX) $(LDFLAGS) -o omxplayer.bin $(OBJS) -lvchiq_arm -lvcos -ldbus-1 
-lrt -lpthread -lavutil -lavcodec -lavformat -lswscale -lswresample -lpcre
++      $(CXX) $(LDFLAGS) -o omxplayer.bin $(OBJS) -lvchiq_arm -lvchostif 
-lvcos -ldbus-1 -lrt -lpthread -lavutil -lavcodec -lavformat -lswscale 
-lswresample -lpcre
+       $(STRIP) omxplayer.bin
+ 
+ help.h: README.md Makefile
diff --git a/recipes-multimedia/omxplayer/omxplayer_git.bb 
b/recipes-multimedia/omxplayer/omxplayer_git.bb
index c8251fe..c2b1342 100644
--- a/recipes-multimedia/omxplayer/omxplayer_git.bb
+++ b/recipes-multimedia/omxplayer/omxplayer_git.bb
@@ -7,8 +7,8 @@ SECTION = "console/utils"
 LICENSE = "GPLv2"
 LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f"
 
-DEPENDS = "libpcre libav virtual/egl boost freetype dbus openssl samba libssh"
-PR = "r4"
+DEPENDS = "libpcre ffmpeg virtual/egl boost freetype dbus openssl samba libssh"
+PR = "r5"
 
 SRCREV = "15a490b2397b358776c56b017a137c4716eb6b4e"
 SRC_URI = 
"git://github.com/popcornmix/omxplayer.git;protocol=git;branch=master \
@@ -19,6 +19,7 @@ SRC_URI = 
"git://github.com/popcornmix/omxplayer.git;protocol=git;branch=master
            file://fix-tar-command-with-DIST.patch \
            file://use-native-pkg-config.patch \
            file://don-t-preserve-file-attributes-when-cp.patch \
+           file://explicitly_link_with_vchostif_library.patch \
            "
 S = "${WORKDIR}/git"
 
-- 
2.5.0

-- 
_______________________________________________
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto

Reply via email to