Openembedded Devel Discussions
 help / color / mirror / Atom feed
From: Andre McCurdy <armccurdy@gmail.com>
To: openembedded-devel@lists.openembedded.org
Subject: [meta-oe][PATCH] libmng: fix duplicate dependency on lcms + misc cleanup
Date: Thu,  2 Mar 2017 17:07:01 -0800	[thread overview]
Message-ID: <1488503221-17569-1-git-send-email-armccurdy@gmail.com> (raw)

The dependency on lcms is handled via the PACKAGECONFIG option, so
doesn't need to be hardcoded in DEPENDS. Also update HOMEPAGE, add
support for libmng-native and fix typo in PACKAGECONFIG[lcms].

Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
---
 meta-oe/recipes-graphics/libmng/libmng_2.0.3.bb | 9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)

diff --git a/meta-oe/recipes-graphics/libmng/libmng_2.0.3.bb b/meta-oe/recipes-graphics/libmng/libmng_2.0.3.bb
index 3771840..ba928d2 100644
--- a/meta-oe/recipes-graphics/libmng/libmng_2.0.3.bb
+++ b/meta-oe/recipes-graphics/libmng/libmng_2.0.3.bb
@@ -2,13 +2,13 @@
 # Released under the MIT license (see COPYING.MIT for the terms)
 
 DESCRIPTION = "Development files for the Multiple-image Network Graphics library"
-HOMEPAGE = "http://www.libmng.com/"
+HOMEPAGE = "http://www.libpng.org/pub/mng/"
 LICENSE = "Zlib"
 LIC_FILES_CHKSUM = "file://LICENSE;md5=32becdb8930f90eab219a8021130ec09"
 SECTION = "devel"
-DEPENDS = "zlib lcms"
+DEPENDS = "zlib"
 
-SRC_URI = "${SOURCEFORGE_MIRROR}/${BPN}/${P}.tar.gz"
+SRC_URI = "${SOURCEFORGE_MIRROR}/${BPN}/${BP}.tar.gz"
 
 SRC_URI[md5sum] = "7e9a12ba2a99dff7e736902ea07383d4"
 SRC_URI[sha256sum] = "cf112a1fb02f5b1c0fce5cab11ea8243852c139e669c44014125874b14b7dfaa"
@@ -18,5 +18,6 @@ inherit autotools-brokensep pkgconfig
 PACKAGECONFIG ??= "jpeg"
 
 PACKAGECONFIG[jpeg] = "--with-jpeg,--without-jpeg,jpeg"
-PACKAGECONFIG[lcms] = "---with-lcms2,--without-lcms2,lcms"
+PACKAGECONFIG[lcms] = "--with-lcms2,--without-lcms2,lcms"
 
+BBCLASSEXTEND = "native"
-- 
1.9.1



                 reply	other threads:[~2017-03-03  1:07 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1488503221-17569-1-git-send-email-armccurdy@gmail.com \
    --to=armccurdy@gmail.com \
    --cc=openembedded-devel@lists.openembedded.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox