[oe-commits] Belal, Awais : mplayer2: cleanup empty directories

git at git.openembedded.org git at git.openembedded.org
Wed Dec 10 12:34:23 UTC 2014


Module: meta-openembedded.git
Branch: master-next
Commit: b69391a07684ffa8442c4d7e12eaa096d9f1afb2
URL:    http://git.openembedded.org/?p=meta-openembedded.git&a=commit;h=b69391a07684ffa8442c4d7e12eaa096d9f1afb2

Author: Belal, Awais <Awais_Belal at mentor.com>
Date:   Mon Dec  8 15:42:51 2014 +0500

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.

Signed-off-by: Drew Moseley <drew_moseley at mentor.com>
Signed-off-by: Awais Belal <awais_belal at mentor.com>
Signed-off-by: Martin Jansa <Martin.Jansa at gmail.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 6b3d120..a68a2ba 100644
--- a/meta-oe/recipes-multimedia/mplayer/mplayer2_git.bb
+++ b/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
 }



More information about the Openembedded-commits mailing list