summaryrefslogtreecommitdiff
path: root/libre/virtualbox-libre/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'libre/virtualbox-libre/PKGBUILD')
-rw-r--r--[-rwxr-xr-x]libre/virtualbox-libre/PKGBUILD65
1 files changed, 34 insertions, 31 deletions
diff --git a/libre/virtualbox-libre/PKGBUILD b/libre/virtualbox-libre/PKGBUILD
index 54978ea3c..dc94a2a33 100755..100644
--- a/libre/virtualbox-libre/PKGBUILD
+++ b/libre/virtualbox-libre/PKGBUILD
@@ -8,18 +8,18 @@
pkgbase=virtualbox-libre
pkgname=('virtualbox-libre'
+ 'virtualbox-libre-host-dkms'
+ 'virtualbox-libre-guest-dkms'
'virtualbox-libre-sdk'
- 'virtualbox-libre-host-source'
- 'virtualbox-libre-guest-utils'
- 'virtualbox-libre-guest-source')
-pkgver=4.2.4
-pkgrel=1
+ 'virtualbox-libre-guest-utils')
+pkgver=4.2.6
+pkgrel=1.1
arch=('i686' 'x86_64')
url='http://virtualbox.org'
license=('GPL' 'custom')
makedepends=('alsa-lib'
'bin86'
- 'cdrkit-libre'
+ 'cdrkit'
'curl'
'dev86'
'gsoap'
@@ -28,7 +28,6 @@ makedepends=('alsa-lib'
'libidl2'
'libpulse'
'libstdc++5'
- 'libvncserver'
'libxcursor'
'libxinerama'
'libxml2'
@@ -41,7 +40,7 @@ makedepends=('alsa-lib'
'glu'
'python2'
'qt'
- 'sdl-libre'
+ 'sdl'
'sdl_ttf'
'vde2'
'xalan-c')
@@ -78,7 +77,7 @@ source=("http://download.virtualbox.org/virtualbox/$pkgver/VirtualBox-$pkgver.ta
'os_venenux.png'
'libre.patch'
'free-distros.patch')
-md5sums=('d1ec2d2a3f2f3f0b277dfe2c520c2e33'
+md5sums=('d680aeb3b4379b8281527aeb012b2df5'
'5f85710e0b8606de967716ded7b2d351'
'ed1341881437455d9735875ddf455fbe'
'58d6e5bb4b4c1c6f3f0b3daa6aaeed03'
@@ -88,7 +87,7 @@ md5sums=('d1ec2d2a3f2f3f0b277dfe2c520c2e33'
'7e9483b1069a54f181546083ac7e5469'
'c159d683ba1947290fc2ad2c64194150'
'bc9efed88e0469cd7fc460d5a5cd7b4b'
- '4f1692638d6740df4c4ad9766ba4e179'
+ 'f4e4c7895ede9c524109589bf16ae660'
'97e193f050574dd272a38e5ee5ebe62b'
'8538dba8686d7449cb481c9bae9d722a'
'545c925b46f2ac95e5f8ae407fad101a'
@@ -108,8 +107,8 @@ md5sums=('d1ec2d2a3f2f3f0b277dfe2c520c2e33'
'c7951fe6888d939f3a7d0dafe477e82b'
'4da8eeb2ece7e475fc7a0d1003da26c6'
'5e4187af59726d71c5be48d0cd816c34'
- '85141ccd2621a8e004b8f55c9a1f83eb'
- 'c7b29fbf4c24a00e8646ca6dd73f38a1')
+ '05d166104a66ee479896c941ac27a3d0'
+ '78168f8699aa01a632603f0d5b1b8281')
build() {
cd "VirtualBox-$pkgver"
@@ -150,33 +149,37 @@ build() {
./configure --disable-docs \
--enable-webservice \
--enable-vde \
- --enable-vnc \
--disable-kmods
-# --with-linux=/usr/src/linux-${_kernver}
source ./env.sh
kmk all
+
+ # fix python2
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
+ pushd 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
+ popd
}
package_virtualbox-libre() {
pkgdesc='Powerful x86 virtualization for enterprise as well as home use (with free GNU/Linux distros presets and Oracle VM VirtualBox Extension Pack support removed)'
depends=('curl'
'libpng'
- 'libvncserver'
'libxcursor'
'libxinerama'
'libxml2'
'libxmu'
- 'sdl-libre'
+ 'sdl'
+ 'shared-mime-info'
'virtualbox-libre-host-modules')
optdepends=('qt: VirtualBox GUI support'
'vde2: Virtual Distributed Ethernet support'
'virtualbox-libre-sdk: Developer kit'
- 'virtualbox-libre-host-source: Host kernel libre source modules for non-stock kernels'
+ 'virtualbox-libre-host-dkms: Host kernel source modules for non-stock kernels'
'net-tools: Host-only or bridged networking support')
backup=('etc/vbox/vbox.cfg' 'etc/conf.d/vboxweb')
replaces=('virtualbox' 'virtualbox-ose')
@@ -275,15 +278,15 @@ package_virtualbox-libre-sdk() {
mv sdk "$pkgdir/usr/lib/virtualbox"
}
-package_virtualbox-libre-host-source() {
- pkgdesc='VirtualBox Host kernel libre modules source (DKMS)'
+package_virtualbox-libre-host-dkms() {
+ pkgdesc='VirtualBox Host kernel modules sources'
depends=('dkms' 'gcc' 'make')
- provides=("virtualbox-host-source=$pkgver" 'virtualbox-libre-host-modules')
- replaces=('virtualbox-host-source' 'virtualbox-source' 'virtualbox-libre-source')
- conflicts=('virtualbox-host-source' 'virtualbox-source' 'virtualbox-libre-source')
+ provides=("virtualbox-host-dkms=$pkgver" 'virtualbox-libre-host-modules')
+ replaces=('virtualbox-host-dkms' 'virtualbox-source' 'virtualbox-libre-source' 'virtualbox-host-source' 'virtualbox-libre-host-source')
+ conflicts=('virtualbox-host-dkms' 'virtualbox-source' 'virtualbox-libre-source' 'virtualbox-host-source' 'virtualbox-libre-host-source')
optdepends=('linux-libre-headers'
'linux-libre-lts-headers')
- install=virtualbox-libre-host-source.install
+ install=virtualbox-libre-host-dkms.install
install -dm755 "$pkgdir/usr/src"
source "VirtualBox-$pkgver/env.sh"
@@ -291,15 +294,15 @@ package_virtualbox-libre-host-source() {
cp -r src "$pkgdir/usr/src/vboxhost-$pkgver"
}
-package_virtualbox-libre-guest-source() {
- pkgdesc='VirtualBox Guest kernel libre modules source (DKMS)'
+package_virtualbox-libre-guest-dkms() {
+ pkgdesc='VirtualBox Guest kernel modules sources'
depends=('dkms' 'gcc' 'make')
- provides=("virtualbox-guest-source=$pkgver" 'virtualbox-libre-guest-modules')
- replaces=('virtualbox-guest-source' 'virtualbox-archlinux-source' 'virtualbox-parabola-source')
- conflicts=('virtualbox-guest-source' 'virtualbox-archlinux-source' 'virtualbox-parabola-source')
+ provides=("virtualbox-guest-dkms=$pkgver" 'virtualbox-libre-guest-modules')
+ replaces=('virtualbox-guest-dkms' 'virtualbox-archlinux-source' 'virtualbox-parabola-source' 'virtualbox-guest-source' 'virtualbox-libre-guest-source')
+ conflicts=('virtualbox-guest-dkms' 'virtualbox-archlinux-source' 'virtualbox-parabola-source' 'virtualbox-guest-source' 'virtualbox-libre-guest-source')
optdepends=('linux-libre-headers'
'linux-libre-lts-headers')
- install=virtualbox-libre-guest-source.install
+ install=virtualbox-libre-guest-dkms.install
install -dm755 "$pkgdir/usr/src"
source "VirtualBox-$pkgver/env.sh"
@@ -310,7 +313,7 @@ package_virtualbox-libre-guest-source() {
package_virtualbox-libre-guest-utils(){
pkgdesc='VirtualBox Guest userspace utilities'
depends=('virtualbox-libre-guest-modules' 'gcc-libs' 'libxmu' 'xorg-xrandr' 'libxfixes')
- optdepends=('virtualbox-guest-source: Guest kernel libre source modules for non-stock kernels')
+ optdepends=('virtualbox-guest-source: Guest kernel source modules for non-stock kernels')
provides=("virtualbox-guest-utils=$pkgver")
replaces=('virtualbox-guest-utils' 'virtualbox-archlinux-additions' 'virtualbox-parabola-additions' 'virtualbox-guest-additions' 'virtualbox-libre-guest-additions')
conflicts=('virtualbox-guest-utils' 'virtualbox-archlinux-additions' 'virtualbox-parabola-additions' 'virtualbox-guest-additions' 'virtualbox-libre-guest-additions')