Patchwork [meta-oe,09/36] libwebp: fix wrong DEPENDS

login
register
mail settings
Submitter Martin Jansa
Date Aug. 9, 2014, 4:08 p.m.
Message ID <1407600537-10857-9-git-send-email-Martin.Jansa@gmail.com>
Download mbox | patch
Permalink /patch/77695/
State Accepted, archived
Headers show

Comments

Martin Jansa - Aug. 9, 2014, 4:08 p.m.
* there is no such thing as packagespecific build-time DEPENDS
* RDEPENDS_${PN}-gif2web isn't needed, because it's detected
  automatically by shlibs providers code
* fixes following floating dependencies:
  WARN: libwebp: libwebp-gif2webp rdepends on giflib but it isn't a build dependency?

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
---
 meta-oe/recipes-multimedia/webp/libwebp_0.4.0.bb | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

Patch

diff --git a/meta-oe/recipes-multimedia/webp/libwebp_0.4.0.bb b/meta-oe/recipes-multimedia/webp/libwebp_0.4.0.bb
index a5a9169..7663b3b 100644
--- a/meta-oe/recipes-multimedia/webp/libwebp_0.4.0.bb
+++ b/meta-oe/recipes-multimedia/webp/libwebp_0.4.0.bb
@@ -12,6 +12,8 @@  SECTION = "libs"
 LICENSE = "BSD"
 LIC_FILES_CHKSUM = "file://PATENTS;md5=7ec8a34de2073ea13ea2991006246d20"
 
+DEPENDS = "giflib"
+
 SRC_URI = "https://webp.googlecode.com/files/${BP}.tar.gz"
 SRC_URI[md5sum] = "c8dd1d26eb9566833aba269b86d97e68"
 SRC_URI[sha256sum] = "31913577e96386556855b41d210736449445fe96cfbe9289014e9b8afa944d69"
@@ -43,4 +45,3 @@  PACKAGES =+ "${PN}-gif2webp"
 
 DESCRIPTION_${PN}-gif2webp = "Simple tool to convert animated GIFs to WebP"
 FILES_${PN}-gif2webp = "${bindir}/gif2webp"
-DEPENDS_${PN}-gif2webp += "giflib"