ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/COMP/CMSDIST/qt.spec
(Generate patch)

Comparing COMP/CMSDIST/qt.spec (file contents):
Revision 1.1 by eulisse, Fri Feb 24 08:01:52 2006 UTC vs.
Revision 1.7 by elmer, Fri Jun 2 17:28:50 2006 UTC

# Line 22 | Line 22
22   # Requires: zlib, ...
23   Source0: ftp://ftp.trolltech.com/qt/source/%n-mac-free-%{qtversion}.tar.bz2
24   Source1: ftp://ftp.trolltech.com/qt/source/%n-x11-free-%{qtversion}.tar.bz2
25 + Patch0: qt-mkspecs-qmake.conf
26 + Patch1: qt-mkspecs-qplatformdefs.h
27 + Patch2: qt-src-kernel-qaccessible_mac.cpp
28 + Patch3: qt-src-qt_install.pri
29  
30   %prep
31   %setup -T -b %sourcepkg -n %n-%type-free-%{qtversion}
32 + %ifos darwin
33 + %patch0 -p0
34 + %patch1 -p0
35 + %patch2 -p0
36 + %patch3 -p0
37 + %endif
38  
39   %build
40   unset QMAKESPEC || true
# Line 32 | Line 42 | export QTDIR=$PWD
42   export PATH=$QTDIR/bin:$PATH
43   export LD_LIBRARY_PATH=$QTDIR/lib:$LD_LIBRARY_PATH
44   export DYLD_LIBRARY_PATH=$QTDIR/lib:$DYLD_LIBRARY_PATH
45 < echo yes | ./configure -prefix %i -thread -stl
45 >
46 > case $(uname -m) in
47 >  x86_64)
48 >    export CONFIG_ARGS="-platform linux-g++-64"
49 > esac
50 >
51 > echo yes | ./configure -prefix %i -thread -stl $CONFIG_ARGS
52   # install_framework is hosed
53   perl -p -i -e 's/^install_framework:/install_framework:\ninstall_framework_no:/' src/Makefile
54 < make
54 > make %makeprocesses

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines