summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xlibre/virtualbox-libre/PKGBUILD7
1 files changed, 5 insertions, 2 deletions
diff --git a/libre/virtualbox-libre/PKGBUILD b/libre/virtualbox-libre/PKGBUILD
index 416886f4c..2bda4edbc 100755
--- a/libre/virtualbox-libre/PKGBUILD
+++ b/libre/virtualbox-libre/PKGBUILD
@@ -13,7 +13,7 @@ pkgname=('virtualbox-libre'
'virtualbox-libre-guest-utils'
'virtualbox-libre-guest-source')
pkgver=4.2.4
-pkgrel=1
+pkgrel=2
arch=('i686' 'x86_64')
url='http://virtualbox.org'
license=('GPL' 'custom')
@@ -152,13 +152,15 @@ build() {
--enable-vde \
--enable-vnc \
--disable-kmods
-# --with-linux=/usr/src/linux-${_kernver}
+ --with-linux=/usr/src/linux-${_kernver}
source ./env.sh
kmk all
sed -i 's_^#!.*/usr/bin/python_#!/usr/bin/python2_' "out/linux.$BUILD_PLATFORM_ARCH/release/bin/vboxshell.py"
# build rdesktop-vrdp (broken from LocalConfig.kmk)
cd src/VBox/RDP/client
cp "$srcdir/LocalConfig.kmk" .
+ # fix keymap path FS#32548
+ sed -i 's:/opt/VirtualBox:/usr/share/virtualbox:' Makefile.kmk
kmk all
}
@@ -172,6 +174,7 @@ package_virtualbox-libre() {
'libxml2'
'libxmu'
'sdl-libre'
+ 'shared-mime-info'
'virtualbox-libre-host-modules')
optdepends=('qt: VirtualBox GUI support'
'vde2: Virtual Distributed Ethernet support'