]> git.pld-linux.org Git - packages/VirtualBox.git/commitdiff
- rel 12; qt4 is not needed; use compat-gcc-34 for building userspace and current... auto/th/VirtualBox-1_6_2-12
authorArkadiusz Miśkiewicz <arekm@maven.pl>
Mon, 4 Aug 2008 22:04:51 +0000 (22:04 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    VirtualBox.spec -> 1.106

VirtualBox.spec

index 09a6497b72b37f93d1e140272d81ff2c11e7e132..9e229643c72bdeb0ec2b208dff122bd192832195 100644 (file)
@@ -10,8 +10,9 @@
 %bcond_without dist_kernel     # without distribution kernel
 %bcond_without kernel          # don't build kernel module
 %bcond_without userspace       # don't build userspace package
+%bcond_with    verbose
 
-%define                rel             11
+%define                rel             12
 
 %if %{without kernel}
 %undefine      with_dist_kernel
@@ -21,6 +22,9 @@
 %undefine      with_userspace
 %endif
 
+%define                __ucc   gcc-3.4
+%define                __ucxx  g++-3.4
+
 %define                pname   VirtualBox
 
 Summary:       VirtualBox OSE - x86 hardware virtualizer
@@ -53,14 +57,15 @@ BuildRequires:      bash
 BuildRequires: bcc
 BuildRequires: bin86
 BuildRequires: gcc >= 5:3.2.3
-BuildRequires: gcc < 5:4.3
+BuildRequires: compat-gcc-34
+BuildRequires: compat-gcc-34-c++
+BuildRequires: compat-gcc-34-libstdc++-devel
 BuildRequires: iasl
 %endif
 %if %{with dist_kernel}
 BuildRequires: kernel%{_alt_kernel}-module-build >= 3:2.6.20
 %endif
 %if %{with userspace}
-BuildRequires: Qt3Support-devel
 BuildRequires: libIDL-devel
 BuildRequires: libpng >= 1.2.5
 BuildRequires: libstdc++-devel >= 5:3.2.3
@@ -72,7 +77,6 @@ BuildRequires:        pkgconfig
 BuildRequires: pulseaudio-devel >= 0.9.0
 BuildRequires: qt-devel >= 6:3.3.6
 BuildRequires: qt-linguist
-BuildRequires: qt4-build >= 4.2.0
 %endif
 BuildRequires: rpmbuild(macros) >= 1.379
 %if %{with userspace}
@@ -275,8 +279,9 @@ sed -i -e '/#.*define.*RTMEMALLOC_EXEC_HEAP/d' vboxadd/r0drv/linux/alloc-r0drv-l
 %build
 %if %{with userspace}
 ./configure \
-       --with-gcc="%{__cc}" \
-       --with-g++="%{__cxx}" \
+       --with-gcc="%{__ucc}" \
+       --with-g++="%{__ucxx}" \
+       --disable-qt4 \
        --disable-kmods
 
 . ./env.sh && kmk -j1
This page took 0.258192 seconds and 4 git commands to generate.