From: Belal, Awais Date: Mon, 8 Dec 2014 10:42:51 +0000 (+0500) Subject: mplayer2: cleanup empty directories X-Git-Tag: rev_ivi_2015_02_04~737 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=dd12a89ed4cc8a7273d3a178cc3380457c93e093;p=scm%2Fbb%2Ftizen-distro.git mplayer2: cleanup empty directories 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. (From meta-openembedded rev: f9f2548e1833de07716c450312810e45d1377f11) Signed-off-by: Drew Moseley Signed-off-by: Awais Belal Signed-off-by: Martin Jansa Signed-off-by: Armin Kuster Signed-off-by: Patrick Ohly --- diff --git a/meta-openembedded/meta-oe/recipes-multimedia/mplayer/mplayer2_git.bb b/meta-openembedded/meta-oe/recipes-multimedia/mplayer/mplayer2_git.bb index 446562c..7c04ff1 100644 --- a/meta-openembedded/meta-oe/recipes-multimedia/mplayer/mplayer2_git.bb +++ b/meta-openembedded/meta-oe/recipes-multimedia/mplayer/mplayer2_git.bb @@ -141,4 +141,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 }