summaryrefslogtreecommitdiffstats
path: root/system/virtualbox/virtualbox.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'system/virtualbox/virtualbox.SlackBuild')
-rw-r--r--system/virtualbox/virtualbox.SlackBuild19
1 files changed, 15 insertions, 4 deletions
diff --git a/system/virtualbox/virtualbox.SlackBuild b/system/virtualbox/virtualbox.SlackBuild
index a28d2a55ba..24ccaccdb8 100644
--- a/system/virtualbox/virtualbox.SlackBuild
+++ b/system/virtualbox/virtualbox.SlackBuild
@@ -25,7 +25,7 @@
PRGNAM=virtualbox
SRCNAM=VirtualBox
-VERSION=${VERSION:-4.3.10}
+VERSION=${VERSION:-4.3.18}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -84,6 +84,14 @@ else
libvpx=""
fi
+# Enable pulseaudio integration
+if [ "${PULSE:-no}" = "no" ]; then
+ libpulse="--disable-pulse"
+else
+ libpulse=""
+fi
+
+
if [ "${WEBSERVICE:-no}" = "no" ]; then
web_service=""
vboxwebsrv=""
@@ -141,14 +149,14 @@ CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \
--disable-kmods \
- --disable-pulse \
--enable-vde \
--enable-vnc \
$web_service \
$harden \
$gui \
$java \
- $libvpx
+ $libvpx \
+ $libpulse
. ./env.sh
@@ -215,7 +223,7 @@ cd out/linux.$BUILDDIR/release/bin/
install -m $MODE -g $GROUP VBoxCreateUSBNode.sh $PKG/usr/share/virtualbox/
install -m $MODE -g $GROUP VBoxTunctl $PKG/usr/bin/
install -m $MODE -g $GROUP VBoxFUSE $PKG/usr/bin/
- rm -f VBoxSysInfo.sh VBoxCreateUSBNode.sh VBoxTunctl
+ rm -f VBoxSysInfo.sh VBoxCreateUSBNode.sh VBoxTunctl VBoxFUSE
mv * $PKG/usr/lib$LIBDIRSUFFIX/virtualbox/
chown -R root:$GROUP $PKG/usr/lib$LIBDIRSUFFIX/virtualbox/
chmod -R $MODE $PKG/usr/lib$LIBDIRSUFFIX/virtualbox/
@@ -281,6 +289,9 @@ chmod 0755 $PKG/etc/profile.d/*
mkdir -p $PKG/lib/udev/rules.d
install -m 644 $CWD/10-virtualbox.rules $PKG/lib/udev/rules.d/
+find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
+ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
+
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -f COPYING COPYING.CDDL $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/README.SLACKWARE > $PKG/usr/doc/$PRGNAM-$VERSION/README.SLACKWARE