diff mbox

[oe,meta-oe,2/6] libmng: Add recipe

Message ID 20161215020940.10105-2-raj.khem@gmail.com
State Superseded
Headers show

Commit Message

Khem Raj Dec. 15, 2016, 2:09 a.m. UTC
Signed-off-by: Khem Raj <raj.khem@gmail.com>

---
 meta-oe/recipes-graphics/libmng/libmng_2.0.3.bb | 22 ++++++++++++++++++++++
 1 file changed, 22 insertions(+)
 create mode 100644 meta-oe/recipes-graphics/libmng/libmng_2.0.3.bb

-- 
2.10.2

-- 
_______________________________________________
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel

Comments

Andre McCurdy Dec. 15, 2016, 2:15 p.m. UTC | #1
On Wed, Dec 14, 2016 at 6:09 PM, Khem Raj <raj.khem@gmail.com> wrote:
> Signed-off-by: Khem Raj <raj.khem@gmail.com>

> ---

>  meta-oe/recipes-graphics/libmng/libmng_2.0.3.bb | 22 ++++++++++++++++++++++

>  1 file changed, 22 insertions(+)

>  create mode 100644 meta-oe/recipes-graphics/libmng/libmng_2.0.3.bb

>

> diff --git a/meta-oe/recipes-graphics/libmng/libmng_2.0.3.bb b/meta-oe/recipes-graphics/libmng/libmng_2.0.3.bb

> new file mode 100644

> index 0000000..b176d09

> --- /dev/null

> +++ b/meta-oe/recipes-graphics/libmng/libmng_2.0.3.bb

> @@ -0,0 +1,22 @@

> +# Copyright (C) 2016 Khem Raj <raj.khem@gmail.com>

> +# 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/"

> +LICENSE = "Zlib"

> +LIC_FILES_CHKSUM = "file://LICENSE;md5=32becdb8930f90eab219a8021130ec09"

> +SECTION = "devel"

> +DEPENDS = "zlib lcms"

> +

> +SRC_URI = "${SOURCEFORGE_MIRROR}/${BPN}/${P}.tar.gz"

> +

> +SRC_URI[md5sum] = "7e9a12ba2a99dff7e736902ea07383d4"

> +SRC_URI[sha256sum] = "cf112a1fb02f5b1c0fce5cab11ea8243852c139e669c44014125874b14b7dfaa"

> +

> +inherit autotools-brokensep pkgconfig


How difficult to fix B != S?

> +

> +PACKAGECONFIG ??= "jpeg"

> +

> +PACKAGECONFIG[jpeg] = "--with-jpeg,--without-jpeg,libjpeg-turbo"


Dependency should be on "jpeg" (unless libmng only supports libjpeg-turbo?).

> +PACKAGECONFIG[lcms] = "---with-lcms2,--without-lcms2,lcms"

> +

> --

> 2.10.2

>

> --

> _______________________________________________

> Openembedded-devel mailing list

> Openembedded-devel@lists.openembedded.org

> http://lists.openembedded.org/mailman/listinfo/openembedded-devel

-- 
_______________________________________________
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel
diff mbox

Patch

diff --git a/meta-oe/recipes-graphics/libmng/libmng_2.0.3.bb b/meta-oe/recipes-graphics/libmng/libmng_2.0.3.bb
new file mode 100644
index 0000000..b176d09
--- /dev/null
+++ b/meta-oe/recipes-graphics/libmng/libmng_2.0.3.bb
@@ -0,0 +1,22 @@ 
+# Copyright (C) 2016 Khem Raj <raj.khem@gmail.com>
+# 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/"
+LICENSE = "Zlib"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=32becdb8930f90eab219a8021130ec09"
+SECTION = "devel"
+DEPENDS = "zlib lcms"
+
+SRC_URI = "${SOURCEFORGE_MIRROR}/${BPN}/${P}.tar.gz"
+
+SRC_URI[md5sum] = "7e9a12ba2a99dff7e736902ea07383d4"
+SRC_URI[sha256sum] = "cf112a1fb02f5b1c0fce5cab11ea8243852c139e669c44014125874b14b7dfaa"
+
+inherit autotools-brokensep pkgconfig
+
+PACKAGECONFIG ??= "jpeg"
+
+PACKAGECONFIG[jpeg] = "--with-jpeg,--without-jpeg,libjpeg-turbo"
+PACKAGECONFIG[lcms] = "---with-lcms2,--without-lcms2,lcms"
+