omxplayer: Don't hardcode datadir

Change-Id: Ibe66106fdf1da38d43278f5e2853c722709b91db
Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
This commit is contained in:
Andrei Gherzan 2014-03-05 17:22:03 +02:00
parent a760ea5fa2
commit edce18f691

View File

@ -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"