SPECS: opera.spec - add qt4 bcond - qt4 version seems much much faster on k...

shadzik shadzik at pld-linux.org
Sat Jul 5 18:26:57 CEST 2008


Author: shadzik                      Date: Sat Jul  5 16:26:57 2008 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- add qt4 bcond
- qt4 version seems much much faster on kde4, especialy the interface

---- Files affected:
SPECS:
   opera.spec (1.274 -> 1.275) 

---- Diffs:

================================================================
Index: SPECS/opera.spec
diff -u SPECS/opera.spec:1.274 SPECS/opera.spec:1.275
--- SPECS/opera.spec:1.274	Thu Jul  3 17:51:26 2008
+++ SPECS/opera.spec	Sat Jul  5 18:26:51 2008
@@ -9,6 +9,8 @@
 # - don't create useless bconds that for example limit SourceX: to current arch only
 #
 
+%bcond_with	qt4	#take the qt4 version
+
 %define		ver	9.51
 %define		shver	%(echo %{ver} | tr -d .)
 %define		buildid	2061
@@ -21,8 +23,13 @@
 Epoch:		2
 License:	Distributable
 Group:		X11/Applications/Networking
+%if %{with qt4}
+Source10:	ftp://ftp.opera.com/pub/opera/linux/%{shver}/final/en/i386/%{name}-%{version}.gcc4-qt4.i386.tar.bz2
+# Source10-md5:	3b8c9b22e383645a7aed57c976eec799
+%else
 Source10:	ftp://ftp.opera.com/pub/opera/linux/%{shver}/final/en/i386/shared/%{name}-%{version}.gcc4-shared-qt3.i386.tar.bz2
 # Source10-md5:	6808a20463edad0bb1f0038427f2edac
+%endif
 Source11:	ftp://ftp.opera.com/pub/opera/linux/%{shver}/final/en/x86_64/%{name}-%{version}.gcc4-shared-qt3.x86_64.tar.bz2
 # Source11-md5:	24c45c43840e328b5e34276016f40538
 Source12:	ftp://ftp.opera.com/pub/opera/linux/%{shver}/final/en/ppc/shared/%{name}-%{version}.gcc4-shared-qt3.ppc.tar.bz2
@@ -69,8 +76,12 @@
 
 %prep
 %ifarch %{ix86}
+%if %{with qt4}
+%setup -q -T -b 10 -n %{name}-%{version}-%{buildid}.gcc4-qt4.i386
+%else
 %setup -q -T -b 10 -n %{name}-%{version}-%{buildid}.gcc4-shared-qt3.i386
 %endif
+%endif
 %ifarch %{x8664}
 %setup -q -T -b 11 -n %{name}-%{version}-%{buildid}.gcc4-shared-qt3.x86_64
 %endif
@@ -220,6 +231,10 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.275  2008/07/05 16:26:51  shadzik
+- add qt4 bcond
+- qt4 version seems much much faster on kde4, especialy the interface
+
 Revision 1.274  2008/07/03 15:51:26  glen
 - release 2 (1 for ac)
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/opera.spec?r1=1.274&r2=1.275&f=u



More information about the pld-cvs-commit mailing list