[1/2] libav: add libpostproc to PROVIDES (for 0.8.x version only)

Submitted by Paul Eggleton on Dec. 20, 2013, 2:55 p.m. | Patch ID: 63639


Message ID fd91c58db8679625f36a186bc40c16fd1d2a3a1d.1387551254.git.paul.eggleton@linux.intel.com
State Accepted
Commit e8f9420fe901675fc1a8d4e41302c2faa4a7dc4a
Headers show

Commit Message

Paul Eggleton Dec. 20, 2013, 2:55 p.m.
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].

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
 meta/recipes-multimedia/libav/libav_0.8.9.bb | 2 ++
 1 file changed, 2 insertions(+)

Patch hide | download patch | download mbox

diff --git a/meta/recipes-multimedia/libav/libav_0.8.9.bb b/meta/recipes-multimedia/libav/libav_0.8.9.bb
index ce8b1ef..7c807e8 100644
--- a/meta/recipes-multimedia/libav/libav_0.8.9.bb
+++ b/meta/recipes-multimedia/libav/libav_0.8.9.bb
@@ -11,6 +11,8 @@  LIC_FILES_CHKSUM = "file://COPYING.GPLv2;md5=b234ee4d69f5fce4486a80fdaf4a4263 \
                     file://COPYING.LGPLv2.1;md5=e344c8fa836c3a41c4cbd79d7bd3a379 \
+PROVIDES += "libpostproc"
     --enable-postproc \