virtualbox: Fixed issues for qt3/qt4

This commit is contained in:
Jose V Beneyto 2008-10-08 00:56:30 +02:00
parent 5bfdca596e
commit 884c25edf6
2 changed files with 17 additions and 11 deletions

View File

@ -20,7 +20,6 @@ drwxr-xr-x root/root usr/share/pixmaps/
drwxr-xr-x root/root usr/share/virtualbox/
drwxr-xr-x root/root usr/share/virtualbox/bin/
-rwxr-xr-x root/root usr/share/virtualbox/bin/VBoxBFE
-rw-r--r-- root/root usr/share/virtualbox/bin/VBoxBFE.so
-rw-r--r-- root/root usr/share/virtualbox/bin/VBoxDD.so
-rw-r--r-- root/root usr/share/virtualbox/bin/VBoxDD2.so
-rw-r--r-- root/root usr/share/virtualbox/bin/VBoxDD2GC.gc
@ -30,16 +29,13 @@ drwxr-xr-x root/root usr/share/virtualbox/bin/
-rw-r--r-- root/root usr/share/virtualbox/bin/VBoxDDU.so
-rw-r--r-- root/root usr/share/virtualbox/bin/VBoxGuestPropSvc.so
-rwxr-xr-x root/root usr/share/virtualbox/bin/VBoxHeadless
-rw-r--r-- root/root usr/share/virtualbox/bin/VBoxHeadless.so
-rw-r--r-- root/root usr/share/virtualbox/bin/VBoxKeyboard.so
-rw-r--r-- root/root usr/share/virtualbox/bin/VBoxKeyboard3.so
-rwxr-xr-x root/root usr/share/virtualbox/bin/VBoxManage
-rw-r--r-- root/root usr/share/virtualbox/bin/VBoxPython.so
-rw-r--r-- root/root usr/share/virtualbox/bin/VBoxREM.so
-rw-r--r-- root/root usr/share/virtualbox/bin/VBoxREMImp.so
-rw-r--r-- root/root usr/share/virtualbox/bin/VBoxRT.so
-rwxr-xr-x root/root usr/share/virtualbox/bin/VBoxSDL
-rw-r--r-- root/root usr/share/virtualbox/bin/VBoxSDL.so
-rwxr-xr-x root/root usr/share/virtualbox/bin/VBoxSVC
-rw-r--r-- root/root usr/share/virtualbox/bin/VBoxSettings.so
-rw-r--r-- root/root usr/share/virtualbox/bin/VBoxSharedClipboard.so
@ -53,9 +49,6 @@ drwxr-xr-x root/root usr/share/virtualbox/bin/
-rw-r--r-- root/root usr/share/virtualbox/bin/VMMGC.gc
-rw-r--r-- root/root usr/share/virtualbox/bin/VMMR0.r0
-rwsr-sr-x root/root usr/share/virtualbox/bin/VirtualBox
-rw-r--r-- root/root usr/share/virtualbox/bin/VirtualBox.so
-rwxr-xr-x root/root usr/share/virtualbox/bin/VirtualBox3
-rw-r--r-- root/root usr/share/virtualbox/bin/VirtualBox3.so
drwxr-xr-x root/root usr/share/virtualbox/bin/additions/
-rwxr-xr-x root/root usr/share/virtualbox/bin/additions/VBoxClient
-rwxr-xr-x root/root usr/share/virtualbox/bin/additions/VBoxControl
@ -528,7 +521,6 @@ drwxr-xr-x root/root usr/share/virtualbox/bin/sdk/bindings/xpcom/python/xpcom/se
drwxr-xr-x root/root usr/share/virtualbox/bin/sdk/bindings/xpcom/samples/
-rw-r--r-- root/root usr/share/virtualbox/bin/sdk/bindings/xpcom/samples/Makefile
-rw-r--r-- root/root usr/share/virtualbox/bin/vboxkeyboard.tar.gz
-rw-r--r-- root/root usr/share/virtualbox/bin/vboxkeyboard3.tar.gz
-rwxr-xr-x root/root usr/share/virtualbox/bin/vditool
-rwxr-xr-x root/root usr/share/virtualbox/bin/xpidl
drwxr-xr-x root/root usr/share/virtualbox/lib/

View File

@ -2,18 +2,32 @@
# URL: http://www.virtualbox.org/
# Maintainer: Jose V Beneyto, sepen at users dot sourceforge dot net
# Packager: Jose V Beneyto, sepen at users dot sourceforge dot net
# Depends on: bin86,dev86,xorg-libxcursor,hal,libsdl,libidl,qt3,qt4,xalan-c,iasl
# Depends on: bin86,dev86,xorg-libxcursor,hal,libsdl,libidl,qt4,xalan-c,iasl
name=virtualbox
version=2.0.2
release=1
release=2
source=(http://download.virtualbox.org/$name/$version/VirtualBox-$version-OSE.tar.bz2 \
$name 60-vboxdrv.rules $name.desktop)
build() {
local QT3GUI QT4GUI
if [ "$(pkginfo -i | grep '^qt3 ')" ]; then
QT3GUI="--with-qt-dir=/usr/share/qt"
else
QT3GUI="--disable-qt3"
fi
if [ "$(pkginfo -i | grep '^qt4 ')" ]; then
QT4GUI="--with-qt4-dir=/usr/share/qt4"
else
QT4GUI="--disable-qt4"
fi
cd VirtualBox-$version
# compile
./configure --with-qt-dir=/usr/share/qt \
./configure $QT3GUI $QT4GUI \
--disable-hardening \
--ose \
--disable-pulse
source ./env.sh
kmk all