commit:     d7cb1cbaad0893527395f9f75480eb0a24fff1d0
Author:     Michal Privoznik <michal.privoznik <AT> gmail <DOT> com>
AuthorDate: Thu Oct 10 11:52:41 2024 +0000
Commit:     Viorel Munteanu <ceamac <AT> gentoo <DOT> org>
CommitDate: Mon Oct 14 04:29:16 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d7cb1cba

profiles: Clean up app-emulation/libvirt[virtualbox] USE flag masking

Until now, the virtualbox USE flag of app-emulation/libvirt was
masked only on some selected arches (arm64, ppc64). Well,
app-emulation/virtualbox is exclusive to amd64. Therefore, move
mask to an arch top level file (arch/base/package.use.mask) and
whitelist the USE flag on amd64 only.

Signed-off-by: Michal Privoznik <michal.privoznik <AT> gmail.com>
Signed-off-by: Viorel Munteanu <ceamac <AT> gentoo.org>

 profiles/arch/amd64/package.use.mask         | 4 ++++
 profiles/arch/arm64/package.use.mask         | 4 ----
 profiles/arch/base/package.use.mask          | 4 ++++
 profiles/arch/powerpc/ppc64/package.use.mask | 2 +-
 4 files changed, 9 insertions(+), 5 deletions(-)

diff --git a/profiles/arch/amd64/package.use.mask 
b/profiles/arch/amd64/package.use.mask
index 8140309fc8e9..ddfc7b698707 100644
--- a/profiles/arch/amd64/package.use.mask
+++ b/profiles/arch/amd64/package.use.mask
@@ -17,6 +17,10 @@
 
 #--- END OF EXAMPLES ---
 
+# Michal Privoznik <[email protected]> (2024-10-10)
+# virtualbox is available here
+app-emulation/libvirt -virtualbox
+
 # Patrick McLean <[email protected]> (2024-09-23)
 # Only supported on x86/amd64 (bug #940014).
 net-misc/lldpd -seccomp

diff --git a/profiles/arch/arm64/package.use.mask 
b/profiles/arch/arm64/package.use.mask
index bb7fe2d7e0da..9ba62b666da7 100644
--- a/profiles/arch/arm64/package.use.mask
+++ b/profiles/arch/arm64/package.use.mask
@@ -458,10 +458,6 @@ media-gfx/pstoedit emf
 # openvz-sources are likely too old for any proper arm64 usage
 app-emulation/libvirt openvz
 
-# Alexis Ballier <[email protected]> (2017-07-10)
-# Virtualbox is x86 only
-app-emulation/libvirt virtualbox
-
 # Alexis Ballier <[email protected]> (2017-06-21)
 # net-fs/openafs-kernel does not recognize arm64 properly
 # Need to check if this has a chance to work with in-kernel drivers

diff --git a/profiles/arch/base/package.use.mask 
b/profiles/arch/base/package.use.mask
index be3b74b0f7a8..3b463bdc042b 100644
--- a/profiles/arch/base/package.use.mask
+++ b/profiles/arch/base/package.use.mask
@@ -1,6 +1,10 @@
 # Copyright 1999-2024 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
+# Michal Privoznik <[email protected]> (2024-10-10)
+# VirtualBox is amd64 only
+app-emulation/libvirt virtualbox
+
 # Paul Zander <[email protected]> (2024-08-12)
 # Builds a amd vendored opencl runtime that causes collisions.
 # Hardly useful outside of maintainer testing. #934963, #936317

diff --git a/profiles/arch/powerpc/ppc64/package.use.mask 
b/profiles/arch/powerpc/ppc64/package.use.mask
index d1aca63865b5..17c6e7bac2b6 100644
--- a/profiles/arch/powerpc/ppc64/package.use.mask
+++ b/profiles/arch/powerpc/ppc64/package.use.mask
@@ -153,7 +153,7 @@ kde-plasma/plasma-meta thunderbolt
 
 # Georgy Yakovlev <[email protected]> (2019-12-28)
 # not keyworded or irrelevant on ~ppc64, bug 679888
-app-emulation/libvirt virtualbox xen
+app-emulation/libvirt xen
 
 # Robin H. Johnson <[email protected]> (2019-12-06)
 # PPS should work on all arches, but only keyworded on some arches

Reply via email to