From edce18f691b3f12f7fe2b01733893bd184e14f6b Mon Sep 17 00:00:00 2001 From: Andrei Gherzan Date: Wed, 5 Mar 2014 17:22:03 +0200 Subject: [PATCH] omxplayer: Don't hardcode datadir Change-Id: Ibe66106fdf1da38d43278f5e2853c722709b91db Signed-off-by: Andrei Gherzan --- 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..b878fb3 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" + ${datadir}/fonts" FILES_${PN}-dev += "${libdir}/omxplayer/*.so"