]> git.pld-linux.org Git - packages/qt5-qtwebengine.git/commitdiff
- remove compiler check that's not needed and doesn't work because we set QMAKE_COMPI...
authorJan Rękorajski <baggins@pld-linux.org>
Sat, 11 Aug 2018 21:36:29 +0000 (23:36 +0200)
committerJan Rękorajski <baggins@pld-linux.org>
Sat, 11 Aug 2018 21:36:29 +0000 (23:36 +0200)
qt5-qtwebengine.spec
remove-compiler-check.patch [new file with mode: 0644]

index c740b18670a553c3d05c620696ee65697a96cd63..a042de67cd958a56349d7563217031a540adbf14 100644 (file)
@@ -16,6 +16,7 @@ License:      LGPL v3 or GPL v2+ or commercial
 Group:         X11/Libraries
 Source0:       http://download.qt.io/official_releases/qt/5.11/%{version}/submodules/%{orgname}-everywhere-src-%{version}.tar.xz
 # Source0-md5: 75d2ff31addba4ec41981b0f459cc587
+Patch0:                remove-compiler-check.patch
 URL:           http://www.qt.io/
 BuildRequires: Qt5Core-devel >= %{qtbase_ver}
 BuildRequires: Qt5Gui-devel >= %{qtbase_ver}
@@ -129,6 +130,7 @@ Przykłady do biblioteki Qt5 WebEngine.
 
 %prep
 %setup -q -n %{orgname}-everywhere-src-%{version}
+%patch0 -p1
 
 %build
 qmake-qt5
diff --git a/remove-compiler-check.patch b/remove-compiler-check.patch
new file mode 100644 (file)
index 0000000..d2635c2
--- /dev/null
@@ -0,0 +1,14 @@
+--- qtwebengine-everywhere-src-5.11.1/mkspecs/features/platform.prf~   2018-06-15 11:13:33.000000000 +0200
++++ qtwebengine-everywhere-src-5.11.1/mkspecs/features/platform.prf    2018-08-11 23:35:10.234741469 +0200
+@@ -12,11 +12,6 @@
+ defineTest(isPlatformSupported) {
+   QT_FOR_CONFIG += gui-private
+   linux {
+-    if(!gcc:!clang)|intel_icc {
+-      skipBuild("Qt WebEngine on Linux requires clang or GCC.")
+-      return(false)
+-    }
+-    gcc:!clang:!isGCCVersionSupported(): return(false)
+   } else:win32 {
+     winrt {
+       skipBuild("WinRT is not supported.")
This page took 0.277062 seconds and 4 git commands to generate.