2021-10-01 23:13:35 +02:00
|
|
|
#
|
2022-09-15 13:41:45 +02:00
|
|
|
# spec file for package qt6-webengine
|
2021-10-01 23:13:35 +02:00
|
|
|
#
|
2023-04-04 21:39:23 +02:00
|
|
|
# Copyright (c) 2023 SUSE LLC
|
2021-10-01 23:13:35 +02:00
|
|
|
#
|
|
|
|
# All modifications and additions to the file contributed by third parties
|
|
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
|
|
# upon. The license for this file, and modifications and additions to the
|
|
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
|
|
# license for the pristine package is not an Open Source License, in which
|
|
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
|
|
# published by the Open Source Initiative.
|
|
|
|
|
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
|
|
|
#
|
|
|
|
|
|
|
|
|
2023-05-26 07:58:59 +02:00
|
|
|
%define real_version 6.5.1
|
2023-04-04 21:39:23 +02:00
|
|
|
%define short_version 6.5
|
2021-10-01 23:13:35 +02:00
|
|
|
%define tar_name qtwebengine-everywhere-src
|
|
|
|
%define tar_suffix %{nil}
|
|
|
|
#
|
|
|
|
%global qt6_flavor @BUILD_FLAVOR@%{nil}
|
|
|
|
%define no_flavor ("%qt6_flavor" == "")
|
|
|
|
#
|
|
|
|
%if "%{qt6_flavor}" == "docs"
|
|
|
|
%define pkg_suffix -docs
|
|
|
|
%endif
|
|
|
|
#
|
2023-04-04 21:39:23 +02:00
|
|
|
%if 0%{?suse_version} > 1500
|
|
|
|
# The antique version in Leap 15 is too old for building chromium
|
|
|
|
%bcond_without system_harfbuzz
|
|
|
|
# The ICU version is also too old incrementExact() appeared in ICU 71
|
2021-10-01 23:13:35 +02:00
|
|
|
%bcond_without system_icu
|
|
|
|
%endif
|
|
|
|
Name: qt6-webengine%{?pkg_suffix}
|
2023-05-26 07:58:59 +02:00
|
|
|
Version: 6.5.1
|
2021-10-01 23:13:35 +02:00
|
|
|
Release: 0
|
|
|
|
Summary: Web browser engine for Qt applications
|
2022-08-08 14:50:59 +02:00
|
|
|
License: GPL-2.0-only OR LGPL-3.0-only OR GPL-3.0-only
|
2021-10-01 23:13:35 +02:00
|
|
|
URL: https://www.qt.io
|
|
|
|
Source: https://download.qt.io/official_releases/qt/%{short_version}/%{real_version}%{tar_suffix}/submodules/%{tar_name}-%{real_version}%{tar_suffix}.tar.xz
|
|
|
|
Source99: qt6-webengine-rpmlintrc
|
|
|
|
# Patches 0-100 are upstream patches #
|
|
|
|
# Patches 100-200 are openSUSE and/or non-upstream(able) patches #
|
2021-11-02 10:40:19 +01:00
|
|
|
Patch100: rtc-dont-use-h264.patch
|
2022-09-30 20:33:06 +02:00
|
|
|
#
|
2022-04-19 14:13:12 +02:00
|
|
|
# Chromium/blink don't support PowerPC and zSystems and build fails on
|
|
|
|
# 32 bits archs (https://bugreports.qt.io/browse/QTBUG-102143)
|
|
|
|
ExclusiveArch: aarch64 x86_64 riscv64
|
2021-10-01 23:13:35 +02:00
|
|
|
BuildRequires: Mesa-KHR-devel
|
|
|
|
BuildRequires: bison
|
|
|
|
# Not pulled automatically on Leap
|
|
|
|
BuildRequires: cups-config
|
2022-06-19 19:48:41 +02:00
|
|
|
BuildRequires: cups-devel
|
2021-10-01 23:13:35 +02:00
|
|
|
BuildRequires: flex
|
|
|
|
BuildRequires: gperf
|
|
|
|
BuildRequires: krb5-devel
|
|
|
|
BuildRequires: libjpeg-devel
|
|
|
|
BuildRequires: libpng-devel >= 1.6.0
|
|
|
|
BuildRequires: memory-constraints
|
|
|
|
BuildRequires: nodejs-default
|
|
|
|
BuildRequires: pipewire-devel
|
|
|
|
BuildRequires: pkgconfig
|
2022-09-30 20:33:06 +02:00
|
|
|
BuildRequires: python3-devel
|
2022-04-19 14:13:12 +02:00
|
|
|
BuildRequires: python3-html5lib
|
2023-04-04 21:39:23 +02:00
|
|
|
BuildRequires: python3-importlib-metadata
|
2021-10-01 23:13:35 +02:00
|
|
|
BuildRequires: qt6-core-private-devel
|
|
|
|
BuildRequires: qt6-gui-private-devel
|
|
|
|
BuildRequires: qt6-qml-private-devel
|
|
|
|
BuildRequires: qt6-quick-private-devel
|
|
|
|
BuildRequires: qt6-quickwidgets-private-devel
|
|
|
|
BuildRequires: qt6-widgets-private-devel
|
|
|
|
BuildRequires: snappy-devel
|
2023-04-04 21:39:23 +02:00
|
|
|
BuildRequires: cmake(Qt6Core) = %{real_version}
|
|
|
|
BuildRequires: cmake(Qt6Designer) = %{real_version}
|
|
|
|
BuildRequires: cmake(Qt6Gui) = %{real_version}
|
|
|
|
BuildRequires: cmake(Qt6GuiTools) = %{real_version}
|
|
|
|
BuildRequires: cmake(Qt6Network) = %{real_version}
|
|
|
|
BuildRequires: cmake(Qt6OpenGL) = %{real_version}
|
|
|
|
BuildRequires: cmake(Qt6OpenGLWidgets) = %{real_version}
|
|
|
|
BuildRequires: cmake(Qt6Positioning) = %{real_version}
|
|
|
|
BuildRequires: cmake(Qt6PrintSupport) = %{real_version}
|
|
|
|
BuildRequires: cmake(Qt6Qml) = %{real_version}
|
|
|
|
BuildRequires: cmake(Qt6QmlModels) = %{real_version}
|
|
|
|
BuildRequires: cmake(Qt6QmlTools) = %{real_version}
|
|
|
|
BuildRequires: cmake(Qt6Quick) = %{real_version}
|
|
|
|
BuildRequires: cmake(Qt6QuickControls2) = %{real_version}
|
|
|
|
BuildRequires: cmake(Qt6QuickTest) = %{real_version}
|
|
|
|
BuildRequires: cmake(Qt6QuickWidgets) = %{real_version}
|
|
|
|
BuildRequires: cmake(Qt6WebChannel) = %{real_version}
|
|
|
|
BuildRequires: cmake(Qt6WebSockets) = %{real_version}
|
|
|
|
BuildRequires: cmake(Qt6Widgets) = %{real_version}
|
|
|
|
BuildRequires: cmake(Qt6WidgetsTools) = %{real_version}
|
2021-10-01 23:13:35 +02:00
|
|
|
BuildRequires: pkgconfig(alsa)
|
|
|
|
BuildRequires: pkgconfig(dbus-1)
|
2022-09-30 20:33:06 +02:00
|
|
|
BuildRequires: pkgconfig(epoxy)
|
2021-10-01 23:13:35 +02:00
|
|
|
BuildRequires: pkgconfig(fontconfig)
|
|
|
|
BuildRequires: pkgconfig(freetype2)
|
2022-09-30 20:33:06 +02:00
|
|
|
BuildRequires: pkgconfig(gbm)
|
2021-10-01 23:13:35 +02:00
|
|
|
BuildRequires: pkgconfig(gio-2.0)
|
2022-08-08 14:50:59 +02:00
|
|
|
BuildRequires: pkgconfig(glib-2.0) >= 2.32.0
|
2021-10-01 23:13:35 +02:00
|
|
|
BuildRequires: pkgconfig(glproto)
|
2023-04-04 21:39:23 +02:00
|
|
|
%if %{with system_harfbuzz}
|
|
|
|
BuildRequires: pkgconfig(harfbuzz)
|
|
|
|
%endif
|
2021-10-01 23:13:35 +02:00
|
|
|
%if %{with system_icu}
|
2023-04-04 21:39:23 +02:00
|
|
|
BuildRequires: pkgconfig(icu-i18n) >= 71
|
|
|
|
BuildRequires: pkgconfig(icu-uc) >= 71
|
2021-10-01 23:13:35 +02:00
|
|
|
%endif
|
|
|
|
BuildRequires: pkgconfig(lcms2)
|
|
|
|
BuildRequires: pkgconfig(libavcodec)
|
|
|
|
BuildRequires: pkgconfig(libavformat)
|
|
|
|
BuildRequires: pkgconfig(libavutil)
|
|
|
|
BuildRequires: pkgconfig(libcrypto)
|
|
|
|
BuildRequires: pkgconfig(libdrm)
|
|
|
|
BuildRequires: pkgconfig(libevent)
|
2023-04-04 21:39:23 +02:00
|
|
|
BuildRequires: pkgconfig(libopenjp2)
|
2021-10-01 23:13:35 +02:00
|
|
|
BuildRequires: pkgconfig(libpci)
|
|
|
|
BuildRequires: pkgconfig(libpulse) >= 0.9.10
|
|
|
|
BuildRequires: pkgconfig(libwebp)
|
|
|
|
BuildRequires: pkgconfig(libxml-2.0)
|
|
|
|
BuildRequires: pkgconfig(libxslt)
|
|
|
|
BuildRequires: pkgconfig(nss) >= 3.26
|
|
|
|
BuildRequires: pkgconfig(opus) >= 1.3.1
|
|
|
|
BuildRequires: pkgconfig(re2)
|
|
|
|
BuildRequires: pkgconfig(vpx) >= 1.10.0
|
|
|
|
BuildRequires: pkgconfig(x11)
|
|
|
|
BuildRequires: pkgconfig(xcomposite)
|
|
|
|
BuildRequires: pkgconfig(xcursor)
|
|
|
|
BuildRequires: pkgconfig(xdamage)
|
|
|
|
BuildRequires: pkgconfig(xext)
|
|
|
|
BuildRequires: pkgconfig(xfixes)
|
|
|
|
BuildRequires: pkgconfig(xi)
|
|
|
|
BuildRequires: pkgconfig(xkbfile)
|
|
|
|
BuildRequires: pkgconfig(xrandr)
|
|
|
|
BuildRequires: pkgconfig(xrender)
|
|
|
|
BuildRequires: pkgconfig(xscrnsaver)
|
|
|
|
BuildRequires: pkgconfig(xshmfence)
|
|
|
|
BuildRequires: pkgconfig(xt)
|
|
|
|
BuildRequires: pkgconfig(xtst)
|
|
|
|
BuildRequires: pkgconfig(zlib)
|
|
|
|
BuildRequires: pkgconfig(minizip)
|
|
|
|
%if "%{qt6_flavor}" == "docs"
|
|
|
|
BuildRequires: qt6-tools
|
|
|
|
%{qt6_doc_packages}
|
|
|
|
%endif
|
|
|
|
|
|
|
|
%description
|
|
|
|
The Qt WebEngine module provides a web browser engine to embed web content into
|
|
|
|
Qt applications.
|
|
|
|
The functionality in Qt WebEngine is divided into the following
|
|
|
|
modules:
|
|
|
|
* Qt WebEngine Core module for interacting with Chromium
|
|
|
|
* Qt WebEngine Widgets module for creating widget-based web applications
|
|
|
|
* Qt WebEngine module for creating Qt Quick based web applications
|
|
|
|
|
|
|
|
%if %{no_flavor}
|
|
|
|
|
|
|
|
%package imports
|
|
|
|
Summary: Qt 6 WebEngine QML files and plugins
|
|
|
|
|
|
|
|
%description imports
|
|
|
|
QML files and plugins from the Qt 6 WebEngine module
|
|
|
|
|
|
|
|
%package -n libQt6Pdf6
|
|
|
|
Summary: Qt6 Pdf library
|
|
|
|
|
|
|
|
%description -n libQt6Pdf6
|
|
|
|
The Qt6 Pdf library.
|
|
|
|
|
|
|
|
%package -n qt6-pdf-imports
|
|
|
|
Summary: Qt 6 Pdf QML files and plugins
|
|
|
|
|
|
|
|
%description -n qt6-pdf-imports
|
|
|
|
QML files and plugins from the Qt 6 Pdf module
|
|
|
|
|
|
|
|
%package -n qt6-pdf-devel
|
|
|
|
Summary: Development files for the Qt 6 Pdf library
|
|
|
|
Requires: libQt6Pdf6 = %{version}
|
2023-04-04 21:39:23 +02:00
|
|
|
Requires: cmake(Qt6Gui) = %{real_version}
|
|
|
|
Requires: cmake(Qt6Network) = %{real_version}
|
2021-10-01 23:13:35 +02:00
|
|
|
|
|
|
|
%description -n qt6-pdf-devel
|
|
|
|
Development files for the Qt 6 Pdf library.
|
|
|
|
|
|
|
|
%package -n qt6-pdf-private-devel
|
|
|
|
Summary: Non-ABI stable API for the Qt 6 Pdf library
|
|
|
|
Requires: cmake(Qt6Pdf) = %{real_version}
|
|
|
|
|
|
|
|
%description -n qt6-pdf-private-devel
|
|
|
|
This package provides private headers of libQt6Pdf that do not have any
|
|
|
|
ABI or API guarantees.
|
|
|
|
|
|
|
|
%package -n libQt6PdfQuick6
|
|
|
|
Summary: Qt6 PdfQuick library
|
|
|
|
|
|
|
|
%description -n libQt6PdfQuick6
|
|
|
|
The Qt6 PdfQuick library.
|
|
|
|
|
|
|
|
%package -n qt6-pdfquick-devel
|
|
|
|
Summary: Development files for the Qt 6 PdfQuick library
|
|
|
|
Requires: libQt6PdfQuick6 = %{version}
|
2021-12-07 18:02:14 +01:00
|
|
|
Requires: qt6-pdf-private-devel = %{version}
|
2023-04-04 21:39:23 +02:00
|
|
|
Requires: cmake(Qt6Gui) = %{real_version}
|
|
|
|
Requires: cmake(Qt6Qml) = %{real_version}
|
2021-12-07 18:02:14 +01:00
|
|
|
%requires_eq qt6-quick-private-devel
|
2021-10-01 23:13:35 +02:00
|
|
|
|
|
|
|
%description -n qt6-pdfquick-devel
|
|
|
|
Development files for the Qt 6 PdfQuick library.
|
|
|
|
|
|
|
|
%package -n qt6-pdfquick-private-devel
|
|
|
|
Summary: Non-ABI stable API for the Qt 6 PdfQuick library
|
|
|
|
Requires: cmake(Qt6PdfQuick) = %{real_version}
|
|
|
|
|
|
|
|
%description -n qt6-pdfquick-private-devel
|
|
|
|
This package provides private headers of libQt6PdfQuick that do not have any
|
|
|
|
ABI or API guarantees.
|
|
|
|
|
|
|
|
%package -n libQt6PdfWidgets6
|
|
|
|
Summary: Qt6 PdfWidgets library
|
|
|
|
|
|
|
|
%description -n libQt6PdfWidgets6
|
|
|
|
The Qt6 PdfWidgets library.
|
|
|
|
|
|
|
|
%package -n qt6-pdfwidgets-devel
|
|
|
|
Summary: Development files for the Qt 6 PdfWidgets library
|
|
|
|
Requires: libQt6PdfWidgets6 = %{version}
|
2023-04-04 21:39:23 +02:00
|
|
|
Requires: cmake(Qt6Gui) = %{real_version}
|
2021-12-07 18:02:14 +01:00
|
|
|
Requires: cmake(Qt6Pdf) = %{real_version}
|
2023-04-04 21:39:23 +02:00
|
|
|
Requires: cmake(Qt6Widgets) = %{real_version}
|
2021-10-01 23:13:35 +02:00
|
|
|
|
|
|
|
%description -n qt6-pdfwidgets-devel
|
|
|
|
Development files for the Qt 6 PdfWidgets library.
|
|
|
|
|
|
|
|
%package -n qt6-pdfwidgets-private-devel
|
|
|
|
Summary: Non-ABI stable API for the Qt 6 PdfWidgets library
|
|
|
|
Requires: cmake(Qt6PdfWidgets) = %{real_version}
|
|
|
|
|
|
|
|
%description -n qt6-pdfwidgets-private-devel
|
|
|
|
This package provides private headers of libQt6PdfWidgets that do not have any
|
|
|
|
ABI or API guarantees.
|
|
|
|
|
|
|
|
%package -n libQt6WebEngineCore6
|
|
|
|
Summary: Qt6 WebEngineCore library
|
|
|
|
Requires: qt6-webengine = %{version}
|
|
|
|
|
|
|
|
%description -n libQt6WebEngineCore6
|
|
|
|
The Qt6 WebEngineCore library.
|
|
|
|
|
|
|
|
%package -n qt6-webenginecore-devel
|
|
|
|
Summary: Development files for the Qt 6 WebEngineCore library
|
|
|
|
Requires: libQt6WebEngineCore6 = %{version}
|
2023-04-04 21:39:23 +02:00
|
|
|
Requires: cmake(Qt6Gui) = %{real_version}
|
|
|
|
Requires: cmake(Qt6Network) = %{real_version}
|
|
|
|
Requires: cmake(Qt6Positioning) = %{real_version}
|
|
|
|
Requires: cmake(Qt6Quick) = %{real_version}
|
|
|
|
Requires: cmake(Qt6WebChannel) = %{real_version}
|
2021-10-01 23:13:35 +02:00
|
|
|
|
|
|
|
%description -n qt6-webenginecore-devel
|
|
|
|
Development files for the Qt 6 WebEngineCore library.
|
|
|
|
|
|
|
|
%package -n qt6-webenginecore-private-devel
|
|
|
|
Summary: Non-ABI stable API for the Qt 6 WebEngineCore library
|
|
|
|
Requires: cmake(Qt6WebEngineCore) = %{real_version}
|
|
|
|
|
|
|
|
%description -n qt6-webenginecore-private-devel
|
|
|
|
This package provides private headers of libQt6WebEngineCore that do not have any
|
|
|
|
ABI or API guarantees.
|
|
|
|
|
|
|
|
%package -n libQt6WebEngineQuick6
|
|
|
|
Summary: Qt6 WebEngineQuick library
|
|
|
|
Requires: qt6-webengine-imports = %{version}
|
|
|
|
|
|
|
|
%description -n libQt6WebEngineQuick6
|
|
|
|
The Qt6 WebEngineQuick library.
|
|
|
|
|
|
|
|
%package -n qt6-webenginequick-devel
|
|
|
|
Summary: Development files for the Qt 6 WebEngineQuick library
|
|
|
|
Requires: libQt6WebEngineQuick6 = %{version}
|
2023-04-04 21:39:23 +02:00
|
|
|
Requires: cmake(Qt6Qml) = %{real_version}
|
2021-12-07 18:02:14 +01:00
|
|
|
Requires: cmake(Qt6WebEngineCore) = %{real_version}
|
2021-10-01 23:13:35 +02:00
|
|
|
|
|
|
|
%description -n qt6-webenginequick-devel
|
|
|
|
Development files for the Qt 6 WebEngineQuick library.
|
|
|
|
|
|
|
|
%package -n qt6-webenginequick-private-devel
|
|
|
|
Summary: Non-ABI stable API for the Qt 6 WebEngineQuick library
|
|
|
|
Requires: cmake(Qt6WebEngineQuick) = %{real_version}
|
|
|
|
|
|
|
|
%description -n qt6-webenginequick-private-devel
|
|
|
|
This package provides private headers of libQt6WebEngineQuick that do not have any
|
|
|
|
ABI or API guarantees.
|
|
|
|
|
|
|
|
%package -n libQt6WebEngineWidgets6
|
|
|
|
Summary: Qt6 WebEngineWidgets library
|
|
|
|
|
|
|
|
%description -n libQt6WebEngineWidgets6
|
|
|
|
The Qt6 WebEngineWidgets library.
|
|
|
|
|
|
|
|
%package -n qt6-webenginewidgets-devel
|
|
|
|
Summary: Development files for the Qt 6 WebEngineWidgets library
|
|
|
|
Requires: libQt6WebEngineWidgets6 = %{version}
|
2023-04-04 21:39:23 +02:00
|
|
|
Requires: cmake(Qt6Gui) = %{real_version}
|
|
|
|
Requires: cmake(Qt6PrintSupport) = %{real_version}
|
|
|
|
Requires: cmake(Qt6QuickWidgets) = %{real_version}
|
|
|
|
Requires: cmake(Qt6WebEngineCore) = %{real_version}
|
2021-12-07 18:02:14 +01:00
|
|
|
%requires_eq qt6-quick-private-devel
|
2021-10-01 23:13:35 +02:00
|
|
|
|
|
|
|
%description -n qt6-webenginewidgets-devel
|
|
|
|
Development files for the Qt 6 WebEngineWidgets library.
|
|
|
|
|
|
|
|
%package -n qt6-webenginewidgets-private-devel
|
|
|
|
Summary: Non-ABI stable API for the Qt 6 WebEngineWidgets library
|
|
|
|
Requires: cmake(Qt6WebEngineWidgets) = %{real_version}
|
|
|
|
|
|
|
|
%description -n qt6-webenginewidgets-private-devel
|
|
|
|
This package provides private headers of libQt6WebEngineWidgets that do not have any
|
|
|
|
ABI or API guarantees.
|
|
|
|
|
2022-02-01 17:30:27 +01:00
|
|
|
%{qt6_examples_package}
|
2021-10-01 23:13:35 +02:00
|
|
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%autosetup -p1 -n %{tar_name}-%{real_version}%{tar_suffix}
|
|
|
|
|
|
|
|
%build
|
2021-11-02 10:40:19 +01:00
|
|
|
%if %{no_flavor}
|
2021-10-01 23:13:35 +02:00
|
|
|
# Determine the right number of parallel processes based on the available memory
|
|
|
|
# Copied from the Qt 5 webengine package
|
|
|
|
%limit_build -m 2750
|
2021-11-02 10:40:19 +01:00
|
|
|
%endif
|
2021-10-01 23:13:35 +02:00
|
|
|
|
|
|
|
# Ensure that also the internal chromium build follows the right number of
|
|
|
|
# parallel processes instead of its defaults.
|
|
|
|
export NINJAFLAGS="%{?_smp_mflags}"
|
|
|
|
|
|
|
|
%cmake_qt6 \
|
|
|
|
-DCMAKE_TOOLCHAIN_FILE:STRING="%{_qt6_cmakedir}/Qt6/qt.toolchain.cmake" \
|
|
|
|
-DFEATURE_qtpdf_build:BOOL=ON \
|
|
|
|
-DFEATURE_webengine_developer_build:BOOL=OFF \
|
|
|
|
-DFEATURE_webengine_embedded_build:BOOL=OFF \
|
|
|
|
-DFEATURE_webengine_extensions:BOOL=ON \
|
|
|
|
-DFEATURE_webengine_kerberos:BOOL=ON \
|
|
|
|
-DFEATURE_webengine_native_spellchecker:BOOL=OFF \
|
2023-04-04 21:39:23 +02:00
|
|
|
-DFEATURE_webengine_printing_and_pdf:BOOL=ON \
|
|
|
|
-DFEATURE_webengine_proprietary_codecs:BOOL=ON \
|
|
|
|
-DFEATURE_webengine_system_ffmpeg:BOOL=ON \
|
|
|
|
%if %{without system_harfbuzz}
|
|
|
|
-DFEATURE_webengine-system-harfbuzz:BOOL=OFF \
|
|
|
|
%endif
|
|
|
|
%if %{with system_icu}
|
|
|
|
-DFEATURE_webengine_system_icu:BOOL=ON \
|
|
|
|
%else
|
|
|
|
-DFEATURE_webengine_system_icu:BOOL=OFF \
|
|
|
|
%endif
|
2021-10-01 23:13:35 +02:00
|
|
|
-DFEATURE_webengine_system_libevent:BOOL=ON \
|
|
|
|
-DFEATURE_webengine_webrtc:BOOL=ON \
|
|
|
|
-DFEATURE_webengine_webrtc_pipewire:BOOL=ON \
|
2022-02-01 17:30:27 +01:00
|
|
|
-DQT_BUILD_EXAMPLES:BOOL=ON
|
2021-10-01 23:13:35 +02:00
|
|
|
|
|
|
|
%{qt6_build}
|
|
|
|
|
|
|
|
%install
|
|
|
|
%{qt6_install}
|
|
|
|
|
|
|
|
%if %{no_flavor}
|
|
|
|
|
|
|
|
# CMake files are not needed for plugins
|
2021-12-07 18:02:14 +01:00
|
|
|
rm -r %{buildroot}%{_qt6_cmakedir}/Qt6Designer/
|
2021-10-01 23:13:35 +02:00
|
|
|
rm -r %{buildroot}%{_qt6_cmakedir}/Qt6Gui/
|
|
|
|
rm -r %{buildroot}%{_qt6_cmakedir}/Qt6Qml/QmlPlugins
|
|
|
|
|
|
|
|
# This shouldn't be needed
|
|
|
|
rm -r %{buildroot}%{_qt6_cmakedir}/Qt6BuildInternals
|
|
|
|
|
2023-03-16 15:42:39 +01:00
|
|
|
%ldconfig_scriptlets -n libQt6Pdf6
|
|
|
|
%ldconfig_scriptlets -n libQt6PdfQuick6
|
|
|
|
%ldconfig_scriptlets -n libQt6PdfWidgets6
|
|
|
|
%ldconfig_scriptlets -n libQt6WebEngineCore6
|
|
|
|
%ldconfig_scriptlets -n libQt6WebEngineQuick6
|
|
|
|
%ldconfig_scriptlets -n libQt6WebEngineWidgets6
|
2021-10-01 23:13:35 +02:00
|
|
|
|
|
|
|
%files
|
2021-12-07 18:02:14 +01:00
|
|
|
%dir %{_qt6_pluginsdir}/designer
|
2021-10-01 23:13:35 +02:00
|
|
|
%{_qt6_datadir}/resources/
|
|
|
|
%{_qt6_translationsdir}/qtwebengine_locales/
|
|
|
|
%{_qt6_libexecdir}/QtWebEngineProcess
|
2021-12-07 18:02:14 +01:00
|
|
|
%{_qt6_pluginsdir}/designer/libqwebengineview.so
|
2021-10-01 23:13:35 +02:00
|
|
|
|
|
|
|
%files imports
|
|
|
|
%{_qt6_qmldir}/QtWebEngine/
|
|
|
|
|
|
|
|
%files -n libQt6Pdf6
|
|
|
|
%dir %{_qt6_pluginsdir}/imageformats
|
|
|
|
%{_qt6_libdir}/libQt6Pdf.so.*
|
|
|
|
%{_qt6_pluginsdir}/imageformats/libqpdf.so
|
|
|
|
|
|
|
|
%files -n qt6-pdf-imports
|
|
|
|
%dir %{_qt6_qmldir}/QtQuick
|
|
|
|
%{_qt6_qmldir}/QtQuick/Pdf
|
|
|
|
|
|
|
|
%files -n qt6-pdf-devel
|
|
|
|
%{_qt6_cmakedir}/Qt6Pdf/
|
|
|
|
%{_qt6_descriptionsdir}/Pdf.json
|
|
|
|
%{_qt6_includedir}/QtPdf/
|
|
|
|
%{_qt6_libdir}/libQt6Pdf.prl
|
|
|
|
%{_qt6_libdir}/libQt6Pdf.so
|
|
|
|
%{_qt6_metatypesdir}/qt6pdf_*_metatypes.json
|
|
|
|
%{_qt6_mkspecsdir}/modules/qt_lib_pdf.pri
|
2022-06-19 19:48:41 +02:00
|
|
|
%{_qt6_pkgconfigdir}/Qt6Pdf.pc
|
2021-10-01 23:13:35 +02:00
|
|
|
%exclude %{_qt6_includedir}/QtPdf/%{real_version}
|
|
|
|
|
|
|
|
%files -n qt6-pdf-private-devel
|
|
|
|
%{_qt6_includedir}/QtPdf/%{real_version}/
|
|
|
|
%{_qt6_mkspecsdir}/modules/qt_lib_pdf_private.pri
|
|
|
|
|
|
|
|
%files -n libQt6PdfQuick6
|
|
|
|
%{_qt6_libdir}/libQt6PdfQuick.so.*
|
|
|
|
|
|
|
|
%files -n qt6-pdfquick-devel
|
|
|
|
%{_qt6_cmakedir}/Qt6PdfQuick/
|
|
|
|
%{_qt6_descriptionsdir}/PdfQuick.json
|
|
|
|
%{_qt6_includedir}/QtPdfQuick/
|
|
|
|
%{_qt6_libdir}/libQt6PdfQuick.prl
|
|
|
|
%{_qt6_libdir}/libQt6PdfQuick.so
|
|
|
|
%{_qt6_metatypesdir}/qt6pdfquick_*_metatypes.json
|
|
|
|
%{_qt6_mkspecsdir}/modules/qt_lib_pdfquick.pri
|
2022-06-19 19:48:41 +02:00
|
|
|
%{_qt6_pkgconfigdir}/Qt6PdfQuick.pc
|
2021-10-01 23:13:35 +02:00
|
|
|
%exclude %{_qt6_includedir}/QtPdfQuick/%{real_version}
|
|
|
|
|
|
|
|
%files -n qt6-pdfquick-private-devel
|
|
|
|
%{_qt6_includedir}/QtPdfQuick/%{real_version}/
|
|
|
|
%{_qt6_mkspecsdir}/modules/qt_lib_pdfquick_private.pri
|
|
|
|
|
|
|
|
%files -n libQt6PdfWidgets6
|
|
|
|
%{_qt6_libdir}/libQt6PdfWidgets.so.*
|
|
|
|
|
|
|
|
%files -n qt6-pdfwidgets-devel
|
|
|
|
%{_qt6_cmakedir}/Qt6PdfWidgets/
|
|
|
|
%{_qt6_descriptionsdir}/PdfWidgets.json
|
|
|
|
%{_qt6_includedir}/QtPdfWidgets/
|
|
|
|
%{_qt6_libdir}/libQt6PdfWidgets.prl
|
|
|
|
%{_qt6_libdir}/libQt6PdfWidgets.so
|
|
|
|
%{_qt6_metatypesdir}/qt6pdfwidgets_*_metatypes.json
|
|
|
|
%{_qt6_mkspecsdir}/modules/qt_lib_pdfwidgets.pri
|
2022-06-19 19:48:41 +02:00
|
|
|
%{_qt6_pkgconfigdir}/Qt6PdfWidgets.pc
|
2021-10-01 23:13:35 +02:00
|
|
|
%exclude %{_qt6_includedir}/QtPdfWidgets/%{real_version}
|
|
|
|
|
|
|
|
%files -n qt6-pdfwidgets-private-devel
|
|
|
|
%{_qt6_includedir}/QtPdfWidgets/%{real_version}/
|
|
|
|
%{_qt6_mkspecsdir}/modules/qt_lib_pdfwidgets_private.pri
|
|
|
|
|
|
|
|
%files -n libQt6WebEngineCore6
|
2022-09-30 20:33:06 +02:00
|
|
|
%license LICENSES/*
|
2021-10-01 23:13:35 +02:00
|
|
|
%{_qt6_libdir}/libQt6WebEngineCore.so.*
|
|
|
|
|
|
|
|
%files -n qt6-webenginecore-devel
|
|
|
|
%{_qt6_cmakedir}/Qt6/FindGPerf.cmake
|
|
|
|
%{_qt6_cmakedir}/Qt6/FindGn.cmake
|
|
|
|
%{_qt6_cmakedir}/Qt6/FindNinja.cmake
|
|
|
|
%{_qt6_cmakedir}/Qt6/FindNodejs.cmake
|
|
|
|
%{_qt6_cmakedir}/Qt6/FindPkgConfigHost.cmake
|
|
|
|
%{_qt6_cmakedir}/Qt6/FindSnappy.cmake
|
|
|
|
%{_qt6_cmakedir}/Qt6WebEngineCore/
|
|
|
|
%{_qt6_cmakedir}/Qt6WebEngineCoreTools/
|
|
|
|
%{_qt6_descriptionsdir}/WebEngineCore.json
|
|
|
|
%{_qt6_includedir}/QtWebEngineCore/
|
|
|
|
%{_qt6_libdir}/libQt6WebEngineCore.prl
|
|
|
|
%{_qt6_libdir}/libQt6WebEngineCore.so
|
|
|
|
%{_qt6_libexecdir}/gn
|
|
|
|
%{_qt6_libexecdir}/qwebengine_convert_dict
|
|
|
|
%{_qt6_metatypesdir}/qt6webenginecore_*_metatypes.json
|
|
|
|
%{_qt6_mkspecsdir}/modules/qt_lib_webenginecore.pri
|
2022-06-19 19:48:41 +02:00
|
|
|
%{_qt6_pkgconfigdir}/Qt6WebEngineCore.pc
|
2021-10-01 23:13:35 +02:00
|
|
|
%exclude %{_qt6_includedir}/QtWebEngineCore/%{real_version}
|
|
|
|
|
|
|
|
%files -n qt6-webenginecore-private-devel
|
|
|
|
%{_qt6_includedir}/QtWebEngineCore/%{real_version}/
|
|
|
|
%{_qt6_mkspecsdir}/modules/qt_lib_webenginecore_private.pri
|
|
|
|
|
|
|
|
%files -n libQt6WebEngineQuick6
|
|
|
|
%{_qt6_libdir}/libQt6WebEngineQuick.so.*
|
|
|
|
%{_qt6_libdir}/libQt6WebEngineQuickDelegatesQml.so.*
|
|
|
|
|
|
|
|
%files -n qt6-webenginequick-devel
|
|
|
|
%{_qt6_cmakedir}/Qt6WebEngineQuick/
|
|
|
|
%{_qt6_cmakedir}/Qt6WebEngineQuickDelegatesQml/
|
|
|
|
%{_qt6_descriptionsdir}/WebEngineQuick.json
|
|
|
|
%{_qt6_descriptionsdir}/WebEngineQuickDelegatesQml.json
|
|
|
|
%{_qt6_includedir}/QtWebEngineQuick/
|
|
|
|
%{_qt6_libdir}/libQt6WebEngineQuick.prl
|
|
|
|
%{_qt6_libdir}/libQt6WebEngineQuick.so
|
|
|
|
%{_qt6_libdir}/libQt6WebEngineQuickDelegatesQml.prl
|
|
|
|
%{_qt6_libdir}/libQt6WebEngineQuickDelegatesQml.so
|
|
|
|
%{_qt6_metatypesdir}/qt6webenginequick_*_metatypes.json
|
|
|
|
%{_qt6_metatypesdir}/qt6webenginequickdelegatesqml_*_metatypes.json
|
|
|
|
%{_qt6_mkspecsdir}/modules/qt_lib_webenginequick.pri
|
|
|
|
%{_qt6_mkspecsdir}/modules/qt_lib_webenginequickdelegatesqml.pri
|
2022-06-19 19:48:41 +02:00
|
|
|
%{_qt6_pkgconfigdir}/Qt6WebEngineQuick.pc
|
|
|
|
%{_qt6_pkgconfigdir}/Qt6WebEngineQuickDelegatesQml.pc
|
2021-10-01 23:13:35 +02:00
|
|
|
%exclude %{_qt6_includedir}/QtWebEngineQuick/%{real_version}
|
|
|
|
|
|
|
|
%files -n qt6-webenginequick-private-devel
|
|
|
|
%{_qt6_includedir}/QtWebEngineQuick/%{real_version}/
|
|
|
|
%{_qt6_mkspecsdir}/modules/qt_lib_webenginequick_private.pri
|
|
|
|
%{_qt6_mkspecsdir}/modules/qt_lib_webenginequickdelegatesqml_private.pri
|
|
|
|
|
|
|
|
%files -n libQt6WebEngineWidgets6
|
|
|
|
%{_qt6_libdir}/libQt6WebEngineWidgets.so.*
|
|
|
|
|
|
|
|
%files -n qt6-webenginewidgets-devel
|
|
|
|
%{_qt6_cmakedir}/Qt6WebEngineWidgets/
|
|
|
|
%{_qt6_descriptionsdir}/WebEngineWidgets.json
|
|
|
|
%{_qt6_includedir}/QtWebEngineWidgets/
|
|
|
|
%{_qt6_libdir}/libQt6WebEngineWidgets.prl
|
|
|
|
%{_qt6_libdir}/libQt6WebEngineWidgets.so
|
|
|
|
%{_qt6_metatypesdir}/qt6webenginewidgets_*_metatypes.json
|
|
|
|
%{_qt6_mkspecsdir}/modules/qt_lib_webenginewidgets.pri
|
2022-06-19 19:48:41 +02:00
|
|
|
%{_qt6_pkgconfigdir}/Qt6WebEngineWidgets.pc
|
2021-10-01 23:13:35 +02:00
|
|
|
%exclude %{_qt6_includedir}/QtWebEngineWidgets/%{real_version}
|
|
|
|
|
|
|
|
%files -n qt6-webenginewidgets-private-devel
|
|
|
|
%{_qt6_includedir}/QtWebEngineWidgets/%{real_version}/
|
|
|
|
%{_qt6_mkspecsdir}/modules/qt_lib_webenginewidgets_private.pri
|
|
|
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
%changelog
|