Cookbook for upgrading Project Trident VirtualBox package from TrueOS ports
1. Install git
# pkg install git
2. Clone the TrueOS ports Git repository
# git clone https://github.com/trueos/trueos-ports.git /usr/ports
3. Install the TrueOS src and dependencies
# pkg install src
# pkg install llvm60 os-generic-userland-devtools \
os-generic-userland-lib32 os-generic-userland-lib32-development \
llvm yasm textproc/libxslt \
devel/kBuild archivers/gtar graphics/png textproc/libxslt ftp/curl \
dialog4ports gsoap pkgconf sdl qt5-qmake pulseaudio libvncserver
4. Patch VirtualBox to support PulseAudio
# cd /usr/ports/emulators/virtualbox-ose
# git diff
diff --git a/emulators/virtualbox-ose/Makefile b/emulators/virtualbox-ose/Makefile
index 300cff5b1e8e..ec94774752db 100644
--- a/emulators/virtualbox-ose/Makefile
+++ b/emulators/virtualbox-ose/Makefile
@@ -80,7 +80,7 @@ DEBUG_CONFIGURE_ON= --build-debug
MANUAL_BUILD_DEPENDS= ${LOCALBASE}/share/xml/docbook/4.4/docbookx.dtd:textproc/docbook-xml
MANUAL_CONFIGURE_OFF= --disable-docs
NLS_IMPLIES= QT5
-PULSEAUDIO_CONFIGURE_OFF= --disable-pulse
+PULSEAUDIO_CONFIGURE_ON= --enable-pulse
PULSEAUDIO_LIB_DEPENDS= libpulse.so:audio/pulseaudio
PYTHON_CONFIGURE_OFF= --disable-python
QT5_IMPLIES= X11
5. Build packages
# make package
# cd ../virtualbox-ose-kmod
# make package
6. Install packages
# pkg install \
/usr/ports/emulators/virtualbox-ose/work/pkg/virtualbox-ose-5.2.32.txz \
/usr/ports/emulators/virtualbox-ose-kmod/work/pkg/virtualbox-ose-kmod-5.2.32.txz
John D. Groenveld <groenveld@acm.org>
$Id: trident-virtualbox.html,v 1.4 2019/08/02 03:00:49 john Exp john $