From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-libs/minizip-ng/
Date: Sun, 2 Oct 2022 01:09:33 +0000 (UTC) [thread overview]
Message-ID: <1664672945.03024123afb37307146bdcf2ba68b03f448a76c4.sam@gentoo> (raw)
commit: 03024123afb37307146bdcf2ba68b03f448a76c4
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sun Oct 2 01:06:40 2022 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun Oct 2 01:09:05 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=03024123
sys-libs/minizip-ng: add missing deps
Got distracted when handling tests.
Signed-off-by: Sam James <sam <AT> gentoo.org>
sys-libs/minizip-ng/metadata.xml | 1 +
.../{minizip-ng-3.0.6.ebuild => minizip-ng-3.0.6-r1.ebuild} | 12 +++++++++---
2 files changed, 10 insertions(+), 3 deletions(-)
diff --git a/sys-libs/minizip-ng/metadata.xml b/sys-libs/minizip-ng/metadata.xml
index f712872be38f..f1896c5bcb81 100644
--- a/sys-libs/minizip-ng/metadata.xml
+++ b/sys-libs/minizip-ng/metadata.xml
@@ -8,6 +8,7 @@
<use>
<flag name="compat">Enable compatibility with <pkg>sys-libs/zlib</pkg>'s USE=minizip</flag>
<flag name="openssl">Use <pkg>dev-libs/openssl</pkg> for further encryption capabilities</flag>
+ <flag name="zstd">Add Zstandard compression support via <pkg>app-arch/zstd</pkg></flag>
</use>
<upstream>
<remote-id type="github">zlib-ng/minizip-ng</remote-id>
diff --git a/sys-libs/minizip-ng/minizip-ng-3.0.6.ebuild b/sys-libs/minizip-ng/minizip-ng-3.0.6-r1.ebuild
similarity index 87%
rename from sys-libs/minizip-ng/minizip-ng-3.0.6.ebuild
rename to sys-libs/minizip-ng/minizip-ng-3.0.6-r1.ebuild
index e27b7d11fd07..42790b51b0d3 100644
--- a/sys-libs/minizip-ng/minizip-ng-3.0.6.ebuild
+++ b/sys-libs/minizip-ng/minizip-ng-3.0.6-r1.ebuild
@@ -12,19 +12,25 @@ SRC_URI="https://github.com/zlib-ng/minizip-ng/archive/refs/tags/${PV}.tar.gz ->
LICENSE="ZLIB"
SLOT="0"
KEYWORDS="~amd64 ~x86"
-IUSE="compat openssl test"
+IUSE="compat openssl test zstd"
RESTRICT="!test? ( test )"
+# Automagically prefers sys-libs/zlib-ng if installed, so let's
+# just depend on it as presumably it's better tested anyway.
RDEPEND="
+ app-arch/bzip2
+ app-arch/xz-utils
+ sys-libs/zlib-ng
virtual/libiconv
compat? ( !sys-libs/zlib[minizip] )
openssl? ( dev-libs/openssl:= )
+ zstd? ( app-arch/zstd:= )
"
DEPEND="${RDEPEND}"
PATCHES=(
"${FILESDIR}"/${PN}-3.0.6-Switch-getrandom-and-arc4random_buf-usage-order.patch
- "${FILESDIR}"/minizip-ng-3.0.6-test-temporary.patch
+ "${FILESDIR}"/${P}-test-temporary.patch
)
src_configure() {
@@ -39,7 +45,7 @@ src_configure() {
-DMZ_ZLIB=ON
-DMZ_BZIP2=ON
-DMZ_LZMA=ON
- -DMZ_ZSTD=ON
+ -DMZ_ZSTD=$(usex zstd)
-DMZ_LIBCOMP=OFF
# Encryption support options
next reply other threads:[~2022-10-02 1:09 UTC|newest]
Thread overview: 23+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-10-02 1:09 Sam James [this message]
-- strict thread matches above, loose matches on Subject: below --
2022-10-07 19:58 [gentoo-commits] repo/gentoo:master commit in: sys-libs/minizip-ng/ Sam James
2022-12-31 23:09 Sam James
2023-02-26 17:08 Arthur Zamarin
2023-02-26 17:33 Arthur Zamarin
2023-02-26 19:28 Arthur Zamarin
2023-02-28 12:12 Yixun Lan
2023-03-16 23:51 Sam James
2023-04-09 18:31 Sam James
2023-05-20 5:09 Sam James
2023-06-16 1:42 Sam James
2023-06-17 3:59 Sam James
2023-08-05 1:29 Sam James
2023-10-27 15:20 Michał Górny
2023-10-28 2:02 Sam James
2023-10-28 2:02 Sam James
2024-01-02 6:54 Sam James
2024-03-07 20:21 Sam James
2024-05-28 12:35 Sam James
2024-07-15 2:23 Sam James
2024-07-15 2:23 Sam James
2024-07-15 2:23 Sam James
2024-08-29 5:23 Jakov Smolić
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=1664672945.03024123afb37307146bdcf2ba68b03f448a76c4.sam@gentoo \
--to=sam@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.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