[oe] [meta-oe][PATCH 2/2] mplayer2: cleanup empty directories

Belal, Awais Awais_Belal at mentor.com
Fri Dec 5 21:45:35 UTC 2014


Hi Martin,

I am using an x86_64 machine, the latest world build qa.log from http://logs.nslu2-linux.org/buildlogs/oe/world//log.world.20141203_140839.log// does not seem to be building mplayer2.

I have libav PREFFERED_VERSION set and PNBLACKLIST[mplayer2] set empty as you've indicated.

BR,
Awais

________________________________________
From: openembedded-devel-bounces at lists.openembedded.org [openembedded-devel-bounces at lists.openembedded.org] on behalf of Martin Jansa [martin.jansa at gmail.com]
Sent: Friday, December 05, 2014 5:48 PM
To: openembedded-devel at lists.openembedded.org
Subject: Re: [oe] [meta-oe][PATCH 2/2] mplayer2: cleanup empty directories

On Fri, Dec 05, 2014 at 04:41:00PM +0500, Awais Belal wrote:
> The mplayer "make install" phase leaves an empty
> /usr/lib directory seemingly regardless of the setting
> of libdir.  Remove it to avoid a packaging warning.

Any idea why I'm not using both these issues in world builds?

Are you using the recipe exactly as is with PNBLACKLIST removed in your
distro and PREFERRED_VERSION for newer libav?

> Signed-off-by: Drew Moseley <drew_moseley at mentor.com>
> Signed-off-by: Awais Belal <awais_belal at mentor.com>
> ---
>  meta-oe/recipes-multimedia/mplayer/mplayer2_git.bb |    1 +
>  1 file changed, 1 insertion(+)
>
> diff --git a/meta-oe/recipes-multimedia/mplayer/mplayer2_git.bb b/meta-oe/recipes-multimedia/mplayer/mplayer2_git.bb
> index 4656057..7e6ff0d 100644
> --- a/meta-oe/recipes-multimedia/mplayer/mplayer2_git.bb
> +++ b/meta-oe/recipes-multimedia/mplayer/mplayer2_git.bb
> @@ -142,4 +142,5 @@ do_install() {
>      install ${S}/etc/input.conf ${D}/usr/etc/mplayer/
>      install ${S}/etc/example.conf ${D}/usr/etc/mplayer/
>      install ${S}/etc/codecs.conf ${D}/usr/etc/mplayer/
> +    [ -e ${D}/usr/lib ] && rmdir ${D}/usr/lib
>  }
> --
> 1.7.9.5
>
> --
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel at lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-devel

--
Martin 'JaMa' Jansa     jabber: Martin.Jansa at gmail.com



More information about the Openembedded-devel mailing list