From 75e9e05a39521093f1ea9e8070dde78d5cb1b863 Mon Sep 17 00:00:00 2001 From: Viorel Munteanu Date: Tue, 19 Mar 2024 19:13:54 +0200 Subject: app-emulation/virtualbox: update live version Make it build again after changes from upstream. Signed-off-by: Viorel Munteanu --- app-emulation/virtualbox/virtualbox-9999.ebuild | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/app-emulation/virtualbox/virtualbox-9999.ebuild b/app-emulation/virtualbox/virtualbox-9999.ebuild index 25a390ed1bc9..fa51d3f6c124 100644 --- a/app-emulation/virtualbox/virtualbox-9999.ebuild +++ b/app-emulation/virtualbox/virtualbox-9999.ebuild @@ -48,13 +48,12 @@ IUSE="alsa dbus debug doc dtrace +gui java lvm nls pam pch pulseaudio +opengl py unset WATCOM #856769 -# /dev/null || die sed -e "s;%VBOX_INSTALL_PATH%;${vbox_inst_path};" \ -e "s;%VBOX_SDK_PATH%;${vbox_inst_path}/sdk;" \ @@ -719,10 +718,14 @@ src_install() { find vboxapi -name \*.py -exec sed -e "1 i\#! ${PYTHON}" -i {} \+ || die python_domodule vboxapi popd &> /dev/null || die + + # upstream added a /bin/sh stub here + # use /usr/bin/python3, python_doscript will take care of it + sed -e '1 i #! /usr/bin/python3' -i vboxshell.py python_doscript vboxshell.py # do not install the installer - rm -r "${installer_dir}" || die + rm -r "${installer_dir%vboxapi*}" || die fi newtmpfiles "${FILESDIR}"/${PN}-vboxusb_tmpfilesd ${PN}-vboxusb.conf -- cgit v1.2.3-65-gdbad