Openembedded Core Discussions
 help / color / mirror / Atom feed
From: Sean Nyekjaer <sean@geanix.com>
To: openembedded-core@lists.openembedded.org, denis@denix.org,
	richard.purdie@linuxfoundation.org, raj.khem@gmail.com
Cc: Sean Nyekjaer <sean@geanix.com>
Subject: [OE-core] [PATCH v2 2/2] zlib: minizip: add recipe
Date: Fri, 15 Jul 2022 13:55:15 +0200	[thread overview]
Message-ID: <20220715115515.4012984-2-sean@geanix.com> (raw)
In-Reply-To: <20220715115515.4012984-1-sean@geanix.com>

Add the minizip library for use as a dependency.
zlib doesn't support vanilla autotools, but atleast this minizip does.
minizip does depend on zlib, so combining these recipes turns out to be
a quite hacky approach.

Signed-off-by: Sean Nyekjaer <sean@geanix.com>
---
Should we keep Denys Dmytriyenko <denis@denix.org> as maintainer here?
It's after all the same artifact that is used for both recipes?

 meta/conf/distro/include/maintainers.inc |  1 +
 meta/recipes-core/zlib/minizip_1.2.12.bb | 15 +++++++++++++++
 2 files changed, 16 insertions(+)
 create mode 100644 meta/recipes-core/zlib/minizip_1.2.12.bb

diff --git a/meta/conf/distro/include/maintainers.inc b/meta/conf/distro/include/maintainers.inc
index a69af3d780..1db5cadbcf 100644
--- a/meta/conf/distro/include/maintainers.inc
+++ b/meta/conf/distro/include/maintainers.inc
@@ -506,6 +506,7 @@ RECIPE_MAINTAINER:pn-meta-world-pkgdata = "Richard Purdie <richard.purdie@linuxf
 RECIPE_MAINTAINER:pn-mingetty = "Yi Zhao <yi.zhao@windriver.com>"
 RECIPE_MAINTAINER:pn-mini-x-session = "Unassigned <unassigned@yoctoproject.org>"
 RECIPE_MAINTAINER:pn-minicom = "Anuj Mittal <anuj.mittal@intel.com>"
+RECIPE_MAINTAINER:pn-minizip = "Sean Nyekjaer <sean@geanix.com>"
 RECIPE_MAINTAINER:pn-mkfontscale = "Unassigned <unassigned@yoctoproject.org>"
 RECIPE_MAINTAINER:pn-mmc-utils = "Anuj Mittal <anuj.mittal@intel.com>"
 RECIPE_MAINTAINER:pn-mobile-broadband-provider-info = "Alexander Kanavin <alex.kanavin@gmail.com>"
diff --git a/meta/recipes-core/zlib/minizip_1.2.12.bb b/meta/recipes-core/zlib/minizip_1.2.12.bb
new file mode 100644
index 0000000000..548bb8c62b
--- /dev/null
+++ b/meta/recipes-core/zlib/minizip_1.2.12.bb
@@ -0,0 +1,15 @@
+SUMMARY = "Minimal zip library using deflate from zlib"
+HOMEPAGE = "http://zlib.net/"
+SECTION = "libs"
+LICENSE = "Zlib"
+LIC_FILES_CHKSUM = "file://MiniZip64_info.txt;beginline=53;endline=73;md5=02090b3a3511ed8a910b77dae6906cea"
+
+include zlib.inc
+
+inherit autotools
+
+DEPENDS = "zlib"
+
+S = "${WORKDIR}/zlib-${PV}/contrib/minizip"
+
+BBCLASSEXTEND = "native nativesdk"
-- 
2.37.0



  reply	other threads:[~2022-07-15 11:55 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-07-15 11:55 [OE-core] [PATCH v2 1/2] zlib: split SRC_URI into inc file Sean Nyekjaer
2022-07-15 11:55 ` Sean Nyekjaer [this message]
2022-07-18 16:12 ` Ross Burton
2022-08-08 10:20   ` Sean Nyekjaer
2022-08-25  7:33     ` Sean Nyekjaer
2022-07-23 12:27 ` Alexandre Belloni
2022-07-23 12:28   ` Richard Purdie

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=20220715115515.4012984-2-sean@geanix.com \
    --to=sean@geanix.com \
    --cc=denis@denix.org \
    --cc=openembedded-core@lists.openembedded.org \
    --cc=raj.khem@gmail.com \
    --cc=richard.purdie@linuxfoundation.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