[oe-commits] Paul Eggleton : libav: add libpostproc to PROVIDES (for 0.8.x version only )

git at git.openembedded.org git at git.openembedded.org
Sun Feb 9 11:01:53 UTC 2014


Module: openembedded-core.git
Branch: dora
Commit: 9ec143438d0bffd2ff95c6d74194a53e5fed7f3a
URL:    http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=9ec143438d0bffd2ff95c6d74194a53e5fed7f3a

Author: Paul Eggleton <paul.eggleton at linux.intel.com>
Date:   Fri Dec 20 14:55:09 2013 +0000

libav: add libpostproc to PROVIDES (for 0.8.x version only)

There is a separate libpostproc recipe in meta-oe for use with 9.x and
later versions of libav for those few that need libpostproc; however if
you just add meta-oe and try to build libpostproc without selecting the
libav 9.x version recipe, you'll be building the libpostproc recipe
together with libav 0.8.x, which provides its own libpostproc; this
leads to confusing errors at packaging time. In order to flag up that
these conflict more appropriately, add libpostproc to PROVIDES
explicitly so that you at least get a multiple providers error at the
start of the build.

Fixes [YOCTO #5335].

(From OE-Core master rev: e8f9420fe901675fc1a8d4e41302c2faa4a7dc4a)

Signed-off-by: Paul Eggleton <paul.eggleton at linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
Signed-off-by: Robert Yang <liezhi.yang at windriver.com>

---

 meta/recipes-multimedia/libav/libav_0.8.8.bb | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/meta/recipes-multimedia/libav/libav_0.8.8.bb b/meta/recipes-multimedia/libav/libav_0.8.8.bb
index 9cb4cf2..337fdaf 100644
--- a/meta/recipes-multimedia/libav/libav_0.8.8.bb
+++ b/meta/recipes-multimedia/libav/libav_0.8.8.bb
@@ -11,6 +11,8 @@ LIC_FILES_CHKSUM = "file://COPYING.GPLv2;md5=b234ee4d69f5fce4486a80fdaf4a4263 \
                     file://COPYING.LGPLv2.1;md5=e344c8fa836c3a41c4cbd79d7bd3a379 \
                     file://COPYING.LGPLv3;md5=e6a600fd5e1d9cbde2d983680233ad02"
 
+PROVIDES += "libpostproc"
+
 EXTRA_OECONF += " \
     --enable-postproc \
 "



More information about the Openembedded-commits mailing list