[yocto] [meta-raspberrypi][PATCH1 1/1] omxplayer: Don't hardcode datadir

Andrei Gherzan andrei at gherzan.ro
Wed Mar 5 07:29:56 PST 2014


Change-Id: Ibe66106fdf1da38d43278f5e2853c722709b91db
Signed-off-by: Andrei Gherzan <andrei at gherzan.ro>
---
 recipes-multimedia/omxplayer/omxplayer_git.bb | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/recipes-multimedia/omxplayer/omxplayer_git.bb b/recipes-multimedia/omxplayer/omxplayer_git.bb
index 526dc86..c83d6c3 100644
--- a/recipes-multimedia/omxplayer/omxplayer_git.bb
+++ b/recipes-multimedia/omxplayer/omxplayer_git.bb
@@ -57,13 +57,13 @@ do_compile() {
 
 do_install() {
     oe_runmake STRIP='echo skipping strip' dist
-    mkdir -p ${D}/usr/share/fonts/truetype/freefont/
-    install ${S}/fonts/* ${D}/usr/share/fonts/truetype/freefont/
+    mkdir -p ${D}${datadir}/fonts/truetype/freefont/
+    install ${S}/fonts/* ${D}${datadir}/fonts/truetype/freefont/
 }
 
 FILES_${PN} = "${bindir}/omxplayer* \
                ${libdir}/omxplayer/lib*${SOLIBS} \
-               /usr/share/fonts"
+               ${D}${datadir}/fonts"
 
 FILES_${PN}-dev += "${libdir}/omxplayer/*.so"
 
-- 
1.8.5.3




More information about the yocto mailing list