diff options
Diffstat (limited to 'community/virtualbox/PKGBUILD')
-rw-r--r-- | community/virtualbox/PKGBUILD | 20 |
1 files changed, 12 insertions, 8 deletions
diff --git a/community/virtualbox/PKGBUILD b/community/virtualbox/PKGBUILD index 1426765a8..aa2be0e57 100644 --- a/community/virtualbox/PKGBUILD +++ b/community/virtualbox/PKGBUILD @@ -1,9 +1,9 @@ -# $Id: PKGBUILD 50284 2011-06-27 19:43:47Z ibiru $ +# $Id: PKGBUILD 51016 2011-07-04 12:35:27Z ibiru $ #Maintainer: Ionut Biru <ibiru@archlinux.org> pkgbase=virtualbox pkgname=('virtualbox' 'virtualbox-guest-additions' 'virtualbox-guest-modules' 'virtualbox-sdk') pkgver=4.0.10 -pkgrel=1 +pkgrel=2 arch=('i686' 'x86_64') url='http://virtualbox.org' license=('GPL' 'custom') @@ -16,7 +16,8 @@ source=(http://download.virtualbox.org/virtualbox/${pkgver}/VirtualBox-${pkgver} virtualbox-4-makeself-check.patch virtualbox-4-mkisofs-check.patch 10-vboxdrv.rules 60-vboxguest.rules vboxdrv-reference.patch LocalConfig.kmk vboxdrv.sh 18-system-xorg.patch - change_default_driver_dir.patch) + change_default_driver_dir.patch + usb-2.0.patch) _kernver=2.6.39-ARCH build() { @@ -27,6 +28,7 @@ build() { patch -Np1 -i "$srcdir/vboxdrv-reference.patch" patch -Np1 -i "$srcdir/18-system-xorg.patch" patch -Np1 -i "$srcdir/change_default_driver_dir.patch" + patch -Np0 -i "$srcdir/usb-2.0.patch" cp "$srcdir/LocalConfig.kmk" . @@ -46,9 +48,7 @@ build() { package_virtualbox() { pkgdesc="Powerful x86 virtualization for enterprise as well as home use" depends=('libxml2' 'libxcursor' 'libidl2' 'libxinerama' 'sdl' 'libxmu' 'curl' 'libvncserver' 'libpng' 'kernel26-headers' 'gcc' 'make') - optdepends=('libxt: for shared clipboard' - 'python2: for python support' - 'qt: for VirtualBox GUI' + optdepends=('qt: for VirtualBox GUI' 'vde2: Virtual Distributed Ethernet support' 'virtualbox-sdk: developer kit') @@ -75,6 +75,8 @@ package_virtualbox() { ln -sf VBox "$pkgdir/usr/bin/VirtualBox" ln -sf VBox "$pkgdir/usr/bin/virtualbox" ln -sf VBox "$pkgdir/usr/bin/vboxwebsrv" + ln -sf VBox "$pkgdir/usr/bin/VBoxBalloonCtrl" + ln -sf VBox "$pkgdir/usr/bin/vboxballoonctrl" install -m 0755 VBoxTunctl "$pkgdir/usr/bin" @@ -88,7 +90,7 @@ package_virtualbox() { #setuid root binaries install -m 4755 VBoxSDL VirtualBox VBoxHeadless VBoxNetDHCP VBoxNetAdpCtl -t "$pkgdir/usr/lib/virtualbox" #other binaries - install -m 0755 VBoxManage VBoxSVC VBoxExtPackHelperApp VBoxXPCOMIPCD VBoxTestOGL vboxwebsrv webtest -t "$pkgdir/usr/lib/virtualbox" + install -m 0755 VBoxManage VBoxSVC VBoxExtPackHelperApp VBoxXPCOMIPCD VBoxTestOGL VBoxBalloonCtrl vboxwebsrv webtest -t "$pkgdir/usr/lib/virtualbox" #language install -m 0755 nls/*.qm -t "$pkgdir/usr/share/virtualbox/nls" @@ -128,6 +130,7 @@ package_virtualbox() { package_virtualbox-sdk() { pkgdesc=" VirtualBox Software Developer Kit (SDK)" + depends=('python2') mkdir -p "$pkgdir/usr/lib/virtualbox" @@ -214,4 +217,5 @@ md5sums=('956af570597850ab4d3275b54bbed049' 'c1a07f044c476a190af8486fe78bee0f' '47da2e88de582bb2bab14580a3aa47b1' '8a22b33c9dfaf8fb79bb2d26304e650b' - 'ac43f7cf44b934d8dbdbc3bb6f7879ad') + 'ac43f7cf44b934d8dbdbc3bb6f7879ad' + '696002ad0017512fc27781b07259f37c') |