summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2023-06-06 02:48:06 +0100
committerSam James <sam@gentoo.org>2023-06-06 02:49:32 +0100
commit6a3f028e55c22fdf9601c2e2ef6a75e2456fbc6e (patch)
tree64b18b2e4ef3c18cbb2bc293f96beefd8c1b5a0b /app-emulation/qemu
parentdev-python/qtconsole: Stabilize 5.4.3 ALLARCHES, #907911 (diff)
downloadgentoo-6a3f028e55c22fdf9601c2e2ef6a75e2456fbc6e.tar.gz
gentoo-6a3f028e55c22fdf9601c2e2ef6a75e2456fbc6e.tar.bz2
gentoo-6a3f028e55c22fdf9601c2e2ef6a75e2456fbc6e.zip
app-emulation/qemu: only depend on libcap-ng on linux
Reported by shwouchk in #gentoo-prefix. QEMU can work on macOS but libcap-ng doesn't make sense there. Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'app-emulation/qemu')
-rw-r--r--app-emulation/qemu/qemu-8.0.2.ebuild2
-rw-r--r--app-emulation/qemu/qemu-9999.ebuild2
2 files changed, 2 insertions, 2 deletions
diff --git a/app-emulation/qemu/qemu-8.0.2.ebuild b/app-emulation/qemu/qemu-8.0.2.ebuild
index 3000130b6f90..ee863ac4f621 100644
--- a/app-emulation/qemu/qemu-8.0.2.ebuild
+++ b/app-emulation/qemu/qemu-8.0.2.ebuild
@@ -159,7 +159,6 @@ ALL_DEPEND="
# Dependencies required for qemu tools (qemu-nbd, qemu-img, qemu-io, ...)
# softmmu targets (qemu-system-*).
SOFTMMU_TOOLS_DEPEND="
- sys-libs/libcap-ng[static-libs(+)]
>=x11-libs/pixman-0.28.0[static-libs(+)]
accessibility? (
app-accessibility/brltty[api]
@@ -191,6 +190,7 @@ SOFTMMU_TOOLS_DEPEND="
jack? ( virtual/jack )
jemalloc? ( dev-libs/jemalloc )
jpeg? ( media-libs/libjpeg-turbo:=[static-libs(+)] )
+ kernel_linux? ( sys-libs/libcap-ng[static-libs(+)] )
lzo? ( dev-libs/lzo:2[static-libs(+)] )
multipath? ( sys-fs/multipath-tools )
ncurses? (
diff --git a/app-emulation/qemu/qemu-9999.ebuild b/app-emulation/qemu/qemu-9999.ebuild
index 507154de3161..59436ebd0802 100644
--- a/app-emulation/qemu/qemu-9999.ebuild
+++ b/app-emulation/qemu/qemu-9999.ebuild
@@ -159,7 +159,6 @@ ALL_DEPEND="
# Dependencies required for qemu tools (qemu-nbd, qemu-img, qemu-io, ...)
# softmmu targets (qemu-system-*).
SOFTMMU_TOOLS_DEPEND="
- sys-libs/libcap-ng[static-libs(+)]
>=x11-libs/pixman-0.28.0[static-libs(+)]
accessibility? (
app-accessibility/brltty[api]
@@ -188,6 +187,7 @@ SOFTMMU_TOOLS_DEPEND="
jack? ( virtual/jack )
jemalloc? ( dev-libs/jemalloc )
jpeg? ( media-libs/libjpeg-turbo:=[static-libs(+)] )
+ kernel_linux? ( sys-libs/libcap-ng[static-libs(+)] )
lzo? ( dev-libs/lzo:2[static-libs(+)] )
multipath? ( sys-fs/multipath-tools )
ncurses? (