[yocto] [meta-raspberrypi][PATCH V2] omxplayer : Install fonts directory in datadir

Khem Raj raj.khem at gmail.com
Wed Mar 5 10:32:28 PST 2014


On Wed, Mar 5, 2014 at 1:04 AM, Sébastien Mennetrier
<s.mennetrier at innotis.org> wrote:
> Signed-off-by: Sébastien Mennetrier <s.mennetrier at innotis.org>
> ---
>  recipes-multimedia/omxplayer/omxplayer_git.bb | 5 ++++-
>  1 file changed, 4 insertions(+), 1 deletion(-)
>
> diff --git a/recipes-multimedia/omxplayer/omxplayer_git.bb b/recipes-multimedia/omxplayer/omxplayer_git.bb
> index a456026..7492f62 100644
> --- a/recipes-multimedia/omxplayer/omxplayer_git.bb
> +++ b/recipes-multimedia/omxplayer/omxplayer_git.bb
> @@ -52,9 +52,12 @@ do_compile() {
>
>  do_install() {
>         oe_runmake dist
> +       mkdir -p ${D}${datadir}/fonts/truetype/freefont/
> +       install ${S}/fonts/* ${D}${datadir}/fonts/truetype/freefont/

just use

install -D ${S}/fonts/* ${D}${datadir}/fonts/truetype/freefont/

>  }
>
>  FILES_${PN} = "${bindir}/omxplayer* \
> -               ${libdir}/omxplayer/lib*${SOLIBS}"
> +               ${libdir}/omxplayer/lib*${SOLIBS} \
> +               ${datadir}/fonts"
>
>  FILES_${PN}-dev += "${libdir}/omxplayer/*.so"
> --
> 1.8.1.2
>
> _______________________________________________
> yocto mailing list
> yocto at yoctoproject.org
> https://lists.yoctoproject.org/listinfo/yocto



More information about the yocto mailing list