%define majver %(echo %version | cut -d. -f1-2) Name: qt6-qtwebengine Version: 6.2.3 Release: 1mamba Summary: Qt6 WebEngine component Group: System/Libraries Vendor: openmamba Distribution: openmamba Packager: Silvan Calarco URL: https://www.qt.io/ Source: https://download.qt.io/official_releases/qt/%{majver}/%{version}/submodules/qtwebengine-everywhere-src-%{version}.tar.xz Patch0: qt6-qtwebengine-6.2.3-ffmpeg-5.0.patch License: GPL ## AUTOBUILDREQ-BEGIN BuildRequires: glibc-devel BuildRequires: libX11-devel BuildRequires: libXcomposite-devel BuildRequires: libXdamage-devel BuildRequires: libXext-devel BuildRequires: libXfixes-devel BuildRequires: libXrandr-devel BuildRequires: libXrender-devel BuildRequires: libXtst-devel BuildRequires: libalsa-devel BuildRequires: libavcodec-ffmpeg-devel BuildRequires: libavformat-ffmpeg-devel BuildRequires: libavutil-ffmpeg-devel BuildRequires: libdbus-devel BuildRequires: libevent-devel BuildRequires: libexpat-devel BuildRequires: libfontconfig-devel BuildRequires: libfreetype-devel BuildRequires: libgcc BuildRequires: libglib-devel BuildRequires: libglvnd-devel BuildRequires: libharfbuzz-devel BuildRequires: libicu-devel BuildRequires: libjpeg-devel BuildRequires: liblcms2-devel BuildRequires: libminizip1-devel BuildRequires: libnspr-devel BuildRequires: libnss-devel BuildRequires: libopus-devel BuildRequires: libpci-devel BuildRequires: libpng-devel BuildRequires: libre2-devel BuildRequires: libsnappy-devel BuildRequires: libstdc++6-devel BuildRequires: libvpx-devel BuildRequires: libwebp-devel BuildRequires: libxcb-devel BuildRequires: libxkbcommon-devel BuildRequires: libxkbfile-devel BuildRequires: libxshmfence-devel BuildRequires: libz-devel BuildRequires: qt6-qtbase-devel BuildRequires: qt6-qtdeclarative-devel ## AUTOBUILDREQ-END %description Qt6 WebEngine component. %package devel Group: Development/Libraries Summary: Development files for %{name} Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} %description devel This package contains libraries and header files for developing applications that use %{name}. %debug_package %prep %setup -q -n qtwebengine-everywhere-src-%{version} #-D -T #:<< _EOF cd src/3rdparty %patch0 -p1 -b .ffmpèeg-5.0 cd ../.. %build #:<< _EOF # Prevent build server slowness/crash due to memory %ifarch arm export NINJAFLAGS="-j1" %else export NINJAFLAGS="-j2" %endif %ifarch %{ix86} aarch64 export CXXFLAGS+="%{optflags} -Os -s -ffunction-sections -fdata-sections -Wl,--gc-sections -Wl,--no-keep-memory -fPIC -fno-delete-null-pointer-checks -fno-lifetime-dse -fno-schedule-insns2 -Wl,--no-fatal-warnings" %else export CXXFLAGS+="%{optflags} -fPIC -fno-delete-null-pointer-checks -fno-lifetime-dse -fno-schedule-insns2 -Wl,--no-fatal-warnings" %endif %cmake -d build \ -G Ninja \ -DQT_FEATURE_webengine_system_ffmpeg=ON \ -DQT_FEATURE_webengine_system_icu=ON \ -DQT_FEATURE_webengine_system_libevent=ON \ -DQT_FEATURE_webengine_proprietary_codecs=ON \ -DQT_FEATURE_webengine_kerberos=ON \ -DQT_FEATURE_webengine_webrtc_pipewire=ON \ -DQT_FEATURE_webengine_full_debug_info=ON cmake --build . %install [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" DESTDIR="%{buildroot}" cmake --install build %clean [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" %post -p /sbin/ldconfig %postun -p /sbin/ldconfig %files #-f %{name}.lang %defattr(-,root,root) %{_datadir}/qt6/resources/qtwebengine_devtools_resources.pak %{_datadir}/qt6/resources/qtwebengine_resources.pak %{_datadir}/qt6/resources/qtwebengine_resources_100p.pak %{_datadir}/qt6/resources/qtwebengine_resources_200p.pak %dir %{_datadir}/qt6/translations/qtwebengine_locales %{_datadir}/qt6/translations/qtwebengine_locales/*.pak %defattr(-,root,root) %{_libdir}/libQt6WebEngineCore.so.* %{_libdir}/libQt6WebEngineWidgets.so.* %{_libdir}/libQt6WebEngineQuick.so.* %{_libdir}/libQt6WebEngineQuickDelegatesQml.so.* %{_libdir}/qt6/libexec/* %{_datadir}/qt6/modules/WebEngine*.json %dir %{_libdir}/qml/QtWebEngine %{_libdir}/qml/QtWebEngine/* %{_libdir}/metatypes/qt6webengine*.json %doc LICENSE.GPL3 LICENSE.GPL3-EXCEPT %doc LICENSE.LGPL3 LICENSE.Chromium LICENSE.FDL %files devel %defattr(-,root,root) %dir %{_includedir}/qt6/QtWebEngineQuick %{_includedir}/qt6/QtWebEngineQuick/* %dir %{_includedir}/qt6/QtWebEngineCore %{_includedir}/qt6/QtWebEngineCore/* %dir %{_includedir}/qt6/QtWebEngineWidgets %{_includedir}/qt6/QtWebEngineWidgets/* %dir %{_libdir}/cmake/Qt6WebEngineCore %{_libdir}/cmake/Qt6WebEngineCore/*.cmake %{_libdir}/cmake/Qt6/Find*.cmake %dir %{_libdir}/cmake/Qt6WebEngineWidgets %{_libdir}/libQt6WebEngineCore.prl %{_libdir}/libQt6WebEngineCore.so %{_libdir}/libQt6WebEngineWidgets.prl %{_libdir}/libQt6WebEngineWidgets.so %{_libdir}/libQt6WebEngineQuick.prl %{_libdir}/libQt6WebEngineQuick.so %{_libdir}/libQt6WebEngineQuickDelegatesQml.prl %{_libdir}/libQt6WebEngineQuickDelegatesQml.so %{_libdir}/qt6/mkspecs/modules/qt_lib_webengine*.pri %dir %{_libdir}/cmake/Qt6WebEngineCoreTools %{_libdir}/cmake/Qt6WebEngineCoreTools/Qt6WebEngineCoreTools*.cmake %dir %{_libdir}/cmake/Qt6WebEngineQuick %{_libdir}/cmake/Qt6WebEngineQuick/Qt6WebEngineQuick*.cmake %dir %{_libdir}/cmake/Qt6WebEngineWidgets %{_libdir}/cmake/Qt6WebEngineWidgets/Qt6WebEngineWidgets*.cmake %dir %{_libdir}/cmake/Qt6BuildInternals/StandaloneTests %{_libdir}/cmake/Qt6BuildInternals/StandaloneTests/QtWebEngine*.cmake %dir %{_libdir}/cmake/Qt6Qml/QmlPlugins %{_libdir}/cmake/Qt6Qml/QmlPlugins/Qt6qtwebengine*.cmake %dir %{_libdir}/cmake/Qt6WebEngineQuickDelegatesQml %{_libdir}/cmake/Qt6WebEngineQuickDelegatesQml/Qt6WebEngineQuickDelegatesQml*.cmake %changelog * Sun Feb 20 2022 Silvan Calarco 6.2.3-1mamba - update to 6.2.3 * Fri Dec 24 2021 Silvan Calarco 5.15.7-1mamba - update to 5.15.7 * Sat Jan 02 2021 Silvan Calarco 5.15.2-1mamba - update to 5.15.2 * Mon Oct 19 2020 Silvan Calarco 5.15.1-1mamba - update to 5.15.1 * Mon Aug 31 2020 Silvan Calarco 5.15.0-2mamba - rebuilt with system ffmpeg and icu * Fri Aug 28 2020 Silvan Calarco 5.15.0-1mamba - update to 5.15.0 * Tue Apr 07 2020 Silvan Calarco 5.14.2-1mamba - update to 5.14.2 * Wed Oct 23 2019 Silvan Calarco 5.13.1-1mamba - update to 5.13.1 * Sun Jun 23 2019 Silvan Calarco 5.13.0-1mamba - update to 5.13.0 * Tue May 07 2019 Silvan Calarco 5.12.3-1mamba - update to 5.12.3 * Tue Mar 19 2019 Silvan Calarco 5.12.2-1mamba - update to 5.12.2 * Sun Feb 10 2019 Silvan Calarco 5.12.1-1mamba - update to 5.12.1 * Sun Dec 30 2018 Automatic Build System 5.12.0-1mamba - automatic version update by autodist * Sat Nov 03 2018 Silvan Calarco 5.11.2-1mamba - update to 5.11.2 * Sat Jul 21 2018 Silvan Calarco 5.11.1-1mamba - update to 5.11.1 * Wed Jun 06 2018 Silvan Calarco 5.11.0-1mamba - update to 5.11.0 * Sat Feb 24 2018 Silvan Calarco 5.10.1-1mamba - update to 5.10.1 * Sat Jan 27 2018 Silvan Calarco 5.10.0-1mamba - update to 5.10.0 * Thu Oct 19 2017 Silvan Calarco 5.9.2-1mamba - update to 5.9.2 * Fri Dec 16 2016 Silvan Calarco 5.7.1-1mamba - update to 5.7.1 * Thu Dec 15 2016 Silvan Calarco 5.7.0-4mamba - rebuilt with gcc * Thu Dec 15 2016 Silvan Calarco 5.7.0-3mamba - rebuilt with -fno-delete-null-pointer-checks CXXFLAGS and use_system_ffmpeg * Thu Dec 15 2016 Silvan Calarco 5.7.0-2mamba - bump release to allow update with qt6 release update * Sat Jul 16 2016 Silvan Calarco 5.7.0-1mamba - package created using the webbuild interface