commit:     2f5c5c81c8621645a03e5d361119a22e5791acee
Author:     Viorel Munteanu <ceamac <AT> gentoo <DOT> org>
AuthorDate: Fri Jun  6 06:32:04 2025 +0000
Commit:     Viorel Munteanu <ceamac <AT> gentoo <DOT> org>
CommitDate: Fri Jun  6 07:48:51 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2f5c5c81

app-emulation/virtualbox: move live ebuild to github

Upstream closed the public svn and moved to github.

Signed-off-by: Viorel Munteanu <ceamac <AT> gentoo.org>

 app-emulation/virtualbox/metadata.xml           |  3 +++
 app-emulation/virtualbox/virtualbox-9999.ebuild | 13 +++++--------
 2 files changed, 8 insertions(+), 8 deletions(-)

diff --git a/app-emulation/virtualbox/metadata.xml 
b/app-emulation/virtualbox/metadata.xml
index 9ad04d6ed09a..f625a142bcb8 100644
--- a/app-emulation/virtualbox/metadata.xml
+++ b/app-emulation/virtualbox/metadata.xml
@@ -14,4 +14,7 @@
     <flag name="vde">Support for VDE networking via 
<pkg>net-misc/vde</pkg>.</flag>
     <flag name="vmmraw">Enable 32-bit support on a 64-bit kernel.</flag>
   </use>
+  <upstream>
+    <remote-id type="github">VirtualBox/virtualbox</remote-id>
+  </upstream>
 </pkgmetadata>

diff --git a/app-emulation/virtualbox/virtualbox-9999.ebuild 
b/app-emulation/virtualbox/virtualbox-9999.ebuild
index dcb5159709a3..1c07ab8a55df 100644
--- a/app-emulation/virtualbox/virtualbox-9999.ebuild
+++ b/app-emulation/virtualbox/virtualbox-9999.ebuild
@@ -4,7 +4,7 @@
 EAPI=8
 
 # Important!
-# This compiles the latest svn version.
+# This compiles the latest git version.
 # It also compiles the kernel modules.  Does not depend on virtualbox-modules.
 # It is not meant to be used, might be very unstable.
 #
@@ -24,8 +24,8 @@ EAPI=8
 #  See bug #785835, bug #856121.
 PYTHON_COMPAT=( python3_{10..12} )
 
-inherit desktop edo flag-o-matic java-pkg-opt-2 linux-mod-r1 multilib 
optfeature pax-utils \
-       python-single-r1 subversion tmpfiles toolchain-funcs udev xdg
+inherit desktop edo flag-o-matic git-r3 java-pkg-opt-2 linux-mod-r1 multilib \
+       optfeature pax-utils python-single-r1 tmpfiles toolchain-funcs udev xdg
 
 MY_PN="VirtualBox"
 BASE_PV=7.1.0
@@ -34,12 +34,11 @@ PATCHES_TAG=7.2.0_pre20250508
 
 DESCRIPTION="Family of powerful x86 virtualization products for enterprise and 
home use"
 HOMEPAGE="https://www.virtualbox.org/";
-ESVN_REPO_URI="https://www.virtualbox.org/svn/vbox/trunk";
+EGIT_REPO_URI="https://github.com/VirtualBox/virtualbox.git";
 SRC_URI="
        
https://gitweb.gentoo.org/proj/virtualbox-patches.git/snapshot/virtualbox-patches-${PATCHES_TAG}.tar.bz2
        gui? ( !doc? ( 
https://dev.gentoo.org/~ceamac/${CATEGORY}/${PN}/${PN}-help-${BASE_PV}.tar.xz ) 
)
 "
-S="${WORKDIR}/trunk"
 
 LICENSE="GPL-2+ GPL-3 LGPL-2.1 MIT dtrace? ( CDDL )"
 SLOT="0/$(ver_cut 1-2)"
@@ -243,7 +242,7 @@ pkg_setup() {
 }
 
 src_unpack() {
-       subversion_src_unpack
+       git-r3_src_unpack
        default
 }
 
@@ -261,8 +260,6 @@ src_prepare() {
                eapply "${FILESDIR}"/050_virtualbox-5.2.8-nopie.patch
        fi
 
-       # Remove shipped binaries (kBuild, yasm) and tools, see bug #232775
-       rm -r kBuild/bin || die
        # Remove everything in tools except kBuildUnits
        find tools -mindepth 1 -maxdepth 1 -name kBuildUnits -prune -o -exec rm 
-r {} \+ || die
 

Reply via email to