summaryrefslogtreecommitdiffstats
path: root/system/virtualbox/virtualbox.SlackBuild
diff options
context:
space:
mode:
author Heinz Wiesinger2016-01-23 18:29:00 +0100
committer Willy Sudiarto Raharjo2016-01-26 12:59:11 +0100
commita680b718e1666f37863e4f329436e545213e9aeb (patch)
treef1025ffa1eaaedfb8acea9c327bad80c151f4f33 /system/virtualbox/virtualbox.SlackBuild
parent918d87cb7b7c82208b74e54d1a8419c5589b9567 (diff)
downloadslackbuilds-a680b718e1666f37863e4f329436e545213e9aeb.tar.gz
system/virtualbox: Updated for version 5.0.14.
Signed-off-by: Heinz Wiesinger <pprkut@slackbuilds.org>
Diffstat (limited to 'system/virtualbox/virtualbox.SlackBuild')
-rw-r--r--system/virtualbox/virtualbox.SlackBuild20
1 files changed, 14 insertions, 6 deletions
diff --git a/system/virtualbox/virtualbox.SlackBuild b/system/virtualbox/virtualbox.SlackBuild
index 67e22f4fb3..c97406c064 100644
--- a/system/virtualbox/virtualbox.SlackBuild
+++ b/system/virtualbox/virtualbox.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for virtualbox-ose
-# Copyright 2008-2015 Heinz Wiesinger, Amsterdam, The Netherlands
+# Copyright 2008-2016 Heinz Wiesinger, Amsterdam, The Netherlands
# Copyright 2008 Mauro Giachero <mauro.giachero@gmail.com>
# All rights reserved.
#
@@ -25,7 +25,7 @@
PRGNAM=virtualbox
SRCNAM=VirtualBox
-VERSION=${VERSION:-4.3.24}
+VERSION=${VERSION:-5.0.14}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -90,6 +90,12 @@ else
fi
fi
+if [ "${SOFTWARE_VIRTUALIZATION:-no}" = "no" -a "$ARCH" = "x86_64" ]; then
+ sw_virt="--disable-vmmraw"
+else
+ sw_virt=""
+fi
+
if [ "$ARCH" = "i486" ]; then
SLKCFLAGS="-O2 -march=i486 -mtune=i686"
LIBDIRSUFFIX=""
@@ -126,21 +132,23 @@ MODE="755"
# Use virtualbox-kernel.SlackBuild for this.
patch -d src/VBox/Installer/linux -i $CWD/vboxdrv.sh-setup.diff
-# Do not require makeself. We don't plan on building an automatic installer
-# Patch taken from gentoo
-patch -p1 -i $CWD/virtualbox-4-makeself-check.patch
-
+# Fix building against newer versions of gsoap
patch -p1 -i $CWD/virtualbox-gsoap.patch
+# Fix wrong path to rdesktop-vrdp-keymaps
+patch -p1 -i $CWD/006-rdesktop-vrdp-keymap-path.patch
+
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \
--disable-kmods \
--enable-vde \
--enable-vnc \
+ --with-makeself=/usr/bin/echo \
$web_service \
$harden \
$gui \
+ $sw_virt \
$java
. ./env.sh