]> git.pld-linux.org Git - packages/opera.git/commitdiff
- add qt4 bcond
authorshadzik <shadzik@pld-linux.org>
Sat, 5 Jul 2008 16:26:51 +0000 (16:26 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
- qt4 version seems much much faster on kde4, especialy the interface

Changed files:
    opera.spec -> 1.275

opera.spec

index 709723ece31e4f2acd1a92422d5e61539ede21df..e8655c439181862b4ebbb0f56c9a5ef7b00c869e 100644 (file)
@@ -8,6 +8,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
@@ -20,8 +22,13 @@ Release:     2
 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
@@ -68,8 +75,12 @@ ObsÅ‚uga 32-bitowych wtyczek Opery.
 
 %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
This page took 0.05254 seconds and 4 git commands to generate.