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

Andrei Gherzan andrei at gherzan.ro
Wed Mar 5 07:50:24 PST 2014


On Wed, Mar 05, 2014 at 05:29:56PM +0200, Andrei Gherzan wrote:
> 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"

Merged in master fixing the above typo (${D} shoudn't be there obviously).

>
>  FILES_${PN}-dev += "${libdir}/omxplayer/*.so"
>
> --
> 1.8.5.3
>

--
Andrei Gherzan
m: +40.744.478.414 | f: +40.31.816.28.12



More information about the yocto mailing list