Skip to content

Commit 4b3ae28

Browse files
committed
virtual/zlib: Add from Gentoo
Gentoo is moving the zlib dependency from sys-libs/zlib to virtual/zlib to allow different zlib implementation (like zlib-ng). We need to pull this virtual dependency because erofs-utils depends on it. Signed-off-by: Daniel Zatovic <daniel.zatovic@gmail.com>
1 parent 39d97da commit 4b3ae28

4 files changed

Lines changed: 53 additions & 0 deletions

File tree

‎.github/workflows/portage-stable-packages-list‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -750,6 +750,7 @@ virtual/service-manager
750750
virtual/ssh
751751
virtual/tmpfiles
752752
virtual/udev
753+
virtual/zlib
753754

754755
x11-drivers/nvidia-drivers
755756

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
3+
<pkgmetadata>
4+
<maintainer type="project">
5+
<email>base-system@gentoo.org</email>
6+
<name>Gentoo Base System</name>
7+
</maintainer>
8+
<use>
9+
<flag name="minizip">include the minizip library for quick and dirty zip extraction</flag>
10+
</use>
11+
</pkgmetadata>
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
# Copyright 2025 Gentoo Authors
2+
# Distributed under the terms of the GNU General Public License v2
3+
4+
EAPI=8
5+
6+
inherit multilib-build
7+
8+
DESCRIPTION="Virtual for libz.so providers"
9+
SLOT="0/1"
10+
KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 ~sparc x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris"
11+
IUSE="static-libs"
12+
13+
RDEPEND="
14+
|| (
15+
>=sys-libs/zlib-1.3.1[${MULTILIB_USEDEP},static-libs?]
16+
sys-libs/zlib-ng[${MULTILIB_USEDEP},compat,static-libs(-)?]
17+
)
18+
"
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
# Copyright 2025 Gentoo Authors
2+
# Distributed under the terms of the GNU General Public License v2
3+
4+
EAPI=8
5+
6+
inherit multilib-build
7+
8+
DESCRIPTION="Virtual for libz.so providers"
9+
SLOT="0/1"
10+
KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 ~sparc x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris"
11+
IUSE="minizip static-libs"
12+
13+
RDEPEND="
14+
|| (
15+
>=sys-libs/zlib-1.3.1[${MULTILIB_USEDEP},minizip?,static-libs?]
16+
(
17+
sys-libs/zlib-ng[${MULTILIB_USEDEP},compat,static-libs(-)?]
18+
minizip? (
19+
sys-libs/minizip-ng[${MULTILIB_USEDEP},compat,static-libs(-)?]
20+
)
21+
)
22+
)
23+
"

0 commit comments

Comments
 (0)