]> git.pld-linux.org Git - packages/qt5-qtwebengine.git/blobdiff - qt5-qtwebengine.spec
relup
[packages/qt5-qtwebengine.git] / qt5-qtwebengine.spec
index c59d8e6341f744d6328349ec3bfc7b15322369f9..34b867cc8c32a124192c4a3ca4bfbfed05e21c42 100644 (file)
 Summary:       The Qt5 WebEngine library
 Summary(pl.UTF-8):     Biblioteka Qt5 WebEngine
 Name:          qt5-%{orgname}
-Version:       %{base_version}.12
-Release:       2
+Version:       %{base_version}.15
+Release:       5
 License:       LGPL v3 or GPL v2 or GPL v3 or commercial
 Group:         X11/Libraries
 Source0:       qtwebengine-%{version}.tar.xz
-# Source0-md5: 68c6f74b74a4b5b273e25f0ebc61ddd0
+# Source0-md5: fa635b1707607b3eafdc7e099b8cc22c
 Patch0:                x32.patch
 Patch1:                %{name}-gn-dynamic.patch
-Patch2:                icu.patch
-Patch3:                gcc12.patch
+Patch2:                0001-avcodec-x86-mathops-clip-constants-used-with-shift-i.patch
+Patch3:                qt5-webengine-ffmpeg5.patch
+Patch4:                qt5-webengine-pipewire-0.3.patch
+Patch5:                chromium-107-proprietary-codecs.patch
+Patch6:                chromium-112-ffmpeg-first_dts.patch
 URL:           https://www.qt.io/
 BuildRequires: Qt5Core-devel >= %{qtbase_ver}
 BuildRequires: Qt5Designer-devel >= %{qttools_ver}
@@ -119,6 +122,8 @@ BuildRoot:  %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %define                qt5bindir       %(qtpaths-qt5 --binaries-dir)
 
+%define                ffmpeg_ver      %(rpm --quiet -q --qf=%%{V} ffmpeg-devel)
+
 %description
 Qt is a cross-platform application and UI framework. Using Qt, you can
 write web-enabled applications once and deploy them across desktop,
@@ -138,7 +143,7 @@ Ten pakiet zawiera bibliotekÄ™ Qt5 WebEngine.
 Summary:       The Qt5 WebEngine library
 Summary(pl.UTF-8):     Biblioteka Qt5 WebEngine
 Group:         Libraries
-%requires_ge_to        Qt5Core Qt5Core-devel
+%requires_eq_to        Qt5Core Qt5Core-devel
 %requires_ge_to        Qt5Gui Qt5Gui-devel
 %requires_ge_to        Qt5Network Qt5Network-devel
 %requires_ge_to        Qt5Positioning Qt5Positioning-devel
@@ -189,7 +194,7 @@ Biblioteka Qt5 WebEngine - pliki programistyczne.
 Summary:       The Qt5 Pdf library
 Summary(pl.UTF-8):     Biblioteka Qt5 Pdf
 Group:         Libraries
-%requires_ge_to        Qt5Core Qt5Core-devel
+%requires_eq_to        Qt5Core Qt5Core-devel
 %requires_ge_to        Qt5Gui Qt5Gui-devel
 %requires_ge_to        Qt5Network Qt5Network-devel
 %requires_ge_to        Qt5Qml Qt5Qml-devel
@@ -282,9 +287,12 @@ PrzykÅ‚ady do biblioteki Qt5 WebEngine.
 %endif
 %patch1 -p1
 %patch2 -p1
-cd src/3rdparty
-%patch3 -p1
-cd ../..
+%patch4 -p1 -d src/3rdparty
+%patch5 -p1 -d src/3rdparty/chromium
+%if %{_ver_ge %ffmpeg_ver 5}
+%patch3 -p1 -d src/3rdparty
+%patch6 -p1 -d src/3rdparty/chromium
+%endif
 
 %{qt5bindir}/syncqt.pl -version %{version}
 
This page took 0.094204 seconds and 4 git commands to generate.