%define majver %(echo %version | cut -d. -f1-2) Name: qt6-qtwebengine Version: 6.8.1 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.7.0-ninja-1.12.0.patch Patch1: qt6-qtwebengine-6.7.0-ninja-1.12.0-2.patch Patch3: qt6-qtwebengine-6.7.2-no-h264.patch Patch4: qt6-qtwebengine-6.8.0-arm-fix-build.patch License: GPL ## AUTOBUILDREQ-BEGIN BuildRequires: glibc-devel BuildRequires: libQt6Core BuildRequires: libQt6Designer BuildRequires: libQt6Gui BuildRequires: libQt6Network BuildRequires: libQt6OpenGL BuildRequires: libQt6PrintSupport BuildRequires: libQt6Widgets BuildRequires: libQt6Xml BuildRequires: libX11-devel BuildRequires: libXcomposite-devel BuildRequires: libXdamage-devel BuildRequires: libXext-devel BuildRequires: libXfixes-devel BuildRequires: libXi-devel BuildRequires: libXrandr-devel BuildRequires: libXrender-devel BuildRequires: libXtst-devel BuildRequires: libalsa-devel BuildRequires: libatomic-devel BuildRequires: libavcodec-devel BuildRequires: libavformat-devel BuildRequires: libavutil-devel BuildRequires: libdbus-devel BuildRequires: libdrm-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-turbo BuildRequires: liblcms2-devel BuildRequires: libmesa-devel BuildRequires: libminizip1-devel BuildRequires: libnspr-devel BuildRequires: libnss-devel BuildRequires: libopenjpeg-devel BuildRequires: libopus-devel BuildRequires: libpci-devel BuildRequires: libpng-devel BuildRequires: libsnappy-devel BuildRequires: libstdc++6-devel BuildRequires: libtiff-devel BuildRequires: libwebp-devel BuildRequires: libxcb-devel BuildRequires: libxkbcommon-devel BuildRequires: libxkbfile-devel BuildRequires: libxml2-devel BuildRequires: libxshmfence-devel BuildRequires: libxslt-devel BuildRequires: libz-devel BuildRequires: qt6-qtbase-devel BuildRequires: qt6-qtdeclarative-devel BuildRequires: qt6-qtpositioning-devel BuildRequires: qt6-qtwebchannel-devel ## AUTOBUILDREQ-END BuildRequires: libpipewire-devel BuildRequires: qt6-qtdeclarative-devel = %{version} BuildRequires: qt6-qttools-devel = %{version} BuildRequires: python-html5lib-py3 %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 # Don't clean build at the end %global __spec_rmbuild_cmd /bin/true %define _default_patch_fuzz 2 %prep %setup -q -n qtwebengine-everywhere-src-%{version} #-D -T #:<< _EOF %patch 0 -p1 %patch 1 -p1 %patch 3 -p1 -b .no-h264 %ifarch aarch64 %patch 4 -p1 %endif %build #:<< _EOF # Prevent build server slowness/crash due to memory %ifarch aarch64 export NINJAFLAGS="-j2" %else export NINJAFLAGS="-j4" %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}" %files #-f %{name}.lang %defattr(-,root,root) %{_libdir}/libQt6WebEngineCore.so.* %{_libdir}/libQt6WebEngineWidgets.so.* %{_libdir}/libQt6WebEngineQuick.so.* %{_libdir}/libQt6WebEngineQuickDelegatesQml.so.* %{_libdir}/libQt6Pdf.so.* %{_libdir}/libQt6PdfQuick.so.* %{_libdir}/libQt6PdfWidgets.so.* %{_libdir}/qt6/libexec/* %{_libdir}/qt6/plugins/imageformats/libqpdf.so %{_datadir}/qt6/resources/v8_context_snapshot.bin %{_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 %dir %{_libdir}/qt6/qml/QtWebEngine %{_libdir}/qt6/qml/QtWebEngine/* %dir %{_libdir}/qt6/qml/QtQuick/Pdf %{_libdir}/qt6/qml/QtQuick/Pdf/* %{_libdir}/qt6/metatypes/qt6*.json %{_libdir}/qt6/modules/*.json %{_datadir}/qt6/translations/qtwebengine_locales/*.pak %{_qt6_archdatadir}/sbom/qtwebengine-%{version}.spdx %doc LICENSES LICENSE.Chromium %files devel %defattr(-,root,root) %dir %{_includedir}/qt6/Qt* %{_includedir}/qt6/Qt*/* %{_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}/libQt6Pdf*.prl %{_libdir}/libQt6Pdf*.so %{_libdir}/qt6/plugins/designer/libqwebengineview.so %{_libdir}/qt6/mkspecs/modules/qt_lib_*.pri %{_libdir}/cmake/Qt6BuildInternals/StandaloneTests/QtWebEngineTestsConfig.cmake %{_libdir}/cmake/Qt6Qml/QmlPlugins/Qt6*.cmake %dir %{_libdir}/cmake/Qt6* %{_libdir}/cmake/Qt6*/*.cmake %{_libdir}/pkgconfig/Qt6*.pc %changelog * Sat Dec 07 2024 Automatic Build System 6.8.1-1mamba - automatic version update by autodist * Sat Oct 19 2024 Silvan Calarco 6.8.0-1mamba - update to 6.8.0 * Wed Oct 09 2024 Automatic Build System 6.7.3-1mamba - automatic version update by autodist * Fri Jun 21 2024 Automatic Build System 6.7.2-1mamba - automatic version update by autodist * Mon Jun 03 2024 Automatic Build System 6.7.1-1mamba - automatic version update by autodist * Tue Apr 16 2024 Silvan Calarco 6.7.0-1mamba - update to 6.7.0 * Sun Mar 31 2024 Automatic Build System 6.6.3-1mamba - automatic version update by autodist * Mon Feb 19 2024 Automatic Build System 6.6.2-1mamba - automatic version update by autodist * Sat Dec 09 2023 Automatic Build System 6.6.1-1mamba - automatic version update by autodist * Tue Oct 17 2023 Silvan Calarco 6.6.0-1mamba - update to 6.6.0 * Mon Oct 09 2023 Automatic Build System 6.5.3-1mamba - automatic version update by autodist * Mon Jul 24 2023 Automatic Build System 6.5.2-1mamba - automatic version update by autodist * Mon May 29 2023 Automatic Build System 6.5.1-1mamba - automatic version update by autodist * Fri Apr 21 2023 Silvan Calarco 6.5.0-1mamba - update to 6.5.0 * Sun Mar 19 2023 Automatic Build System 6.4.3-1mamba - automatic version update by autodist * Sun Jan 08 2023 Automatic Build System 6.4.2-1mamba - automatic version update by autodist * Tue Nov 22 2022 Automatic Build System 6.4.1-1mamba - automatic version update by autodist * Fri Oct 07 2022 Silvan Calarco 6.4.0-1mamba - update to 6.4.0 * Tue Sep 13 2022 Automatic Build System 6.3.2-1mamba - automatic version update by autodist * Sun Jun 19 2022 Automatic Build System 6.3.1-1mamba - automatic version update by autodist * Thu Apr 14 2022 Silvan Calarco 6.3.0-1mamba - update to 6.3.0 * Mon Mar 21 2022 Automatic Build System 6.2.4-1mamba - automatic version update by autodist * 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