2024-01-05 17:19:34 +01:00
|
|
|
%define majver %(echo %version | cut -d. -f1-2)
|
2024-01-05 17:19:34 +01:00
|
|
|
Name: qtwebkit
|
2024-01-05 17:19:34 +01:00
|
|
|
Version: 5.212
|
2024-01-05 17:19:34 +01:00
|
|
|
Release: 3mamba
|
2024-01-05 17:19:34 +01:00
|
|
|
Summary: A Qt based web browser engine
|
|
|
|
Group: System/Libraries
|
|
|
|
Vendor: openmamba
|
|
|
|
Distribution: openmamba
|
|
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
|
|
|
URL: http://qt.io
|
2024-01-05 17:19:34 +01:00
|
|
|
Source: http://download.qt.io/snapshots/ci/qtwebkit/5.212/latest/src/submodules/qtwebkit-everywhere-src-%{version}.tar.xz
|
|
|
|
#Source: http://download.qt.io/community_releases/%{majver}/%{version}-final/qtwebkit-opensource-src-%{version}.tar.xz
|
2024-01-05 17:19:34 +01:00
|
|
|
Patch0: qtwebkit-5.9.0-icu-59.patch
|
2024-01-05 17:19:34 +01:00
|
|
|
Patch1: qtwebkit-5.212-add-missing-include-functional.patch
|
2024-01-05 17:19:34 +01:00
|
|
|
License: GPL
|
|
|
|
## AUTOBUILDREQ-BEGIN
|
|
|
|
BuildRequires: glibc-devel
|
|
|
|
BuildRequires: libX11-devel
|
|
|
|
BuildRequires: libXcomposite-devel
|
|
|
|
BuildRequires: libXrender-devel
|
|
|
|
BuildRequires: libgcc
|
|
|
|
BuildRequires: libglib-devel
|
|
|
|
BuildRequires: libgst-plugins-base-devel
|
|
|
|
BuildRequires: libgstreamer-devel
|
2024-01-05 17:19:34 +01:00
|
|
|
BuildRequires: libhyphen-devel
|
2024-01-05 17:19:34 +01:00
|
|
|
BuildRequires: libicu-devel
|
|
|
|
BuildRequires: libjpeg-devel
|
|
|
|
BuildRequires: libpng-devel
|
|
|
|
BuildRequires: libqt5-devel
|
|
|
|
BuildRequires: libsqlite-devel
|
|
|
|
BuildRequires: libstdc++6-devel
|
|
|
|
BuildRequires: libwebp-devel
|
|
|
|
BuildRequires: libxml2-devel
|
|
|
|
BuildRequires: libxslt-devel
|
|
|
|
BuildRequires: libz-devel
|
|
|
|
## AUTOBUILDREQ-END
|
2024-01-05 17:19:34 +01:00
|
|
|
BuildRequires: libqt5-devel >= 5.12
|
2024-01-05 17:19:34 +01:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
|
|
|
|
|
|
%description
|
|
|
|
A Qt based web browser engine.
|
|
|
|
|
|
|
|
%package -n libQt5WebKit
|
|
|
|
Group: System/Libraries
|
|
|
|
Summary: Qt based web browser engine libraries
|
|
|
|
Provides: libQt5WebKitWidgets
|
2024-01-05 17:19:34 +01:00
|
|
|
Obsoletes: libQt5WebKitWidgets
|
2024-01-05 17:19:34 +01:00
|
|
|
|
|
|
|
%description -n libQt5WebKit
|
|
|
|
A Qt based web browser engine.
|
|
|
|
This package contains shared libraries for %{name}.
|
|
|
|
|
|
|
|
%package -n libQt5WebKit-devel
|
|
|
|
Group: Development/Libraries
|
|
|
|
Summary: Development files for %{name}
|
|
|
|
Requires: libQt5WebKit = %{?epoch:%epoch:}%{version}-%{release}
|
|
|
|
Requires: pkg-config
|
|
|
|
|
|
|
|
%description -n libQt5WebKit-devel
|
|
|
|
This package contains libraries and header files for developing applications that use %{name}.
|
|
|
|
|
|
|
|
|
|
|
|
%debug_package
|
|
|
|
|
|
|
|
%prep
|
2024-01-05 17:19:34 +01:00
|
|
|
%setup -q -n qtwebkit-everywhere-src-%{version}
|
2024-01-05 17:19:34 +01:00
|
|
|
#-D -T
|
2024-01-05 17:19:34 +01:00
|
|
|
#:<< _EOF
|
|
|
|
#%patch0 -p1
|
|
|
|
%patch1 -p1
|
2024-01-05 17:19:34 +01:00
|
|
|
|
|
|
|
%build
|
|
|
|
#:<< _EOF
|
2024-01-05 17:19:34 +01:00
|
|
|
#qmake-qt5
|
|
|
|
%cmake -d build \
|
|
|
|
-DPORT="Qt" \
|
|
|
|
-DCMAKE_CXX_FLAGS="-fpermissive" \
|
|
|
|
-DKDE_INSTALL_LIBEXECDIR=%{_libdir}/qt5/libexec \
|
|
|
|
-DKDE_INSTALL_QMLDIR=%{_libdir}/qt5/qml \
|
|
|
|
-DECM_MKSPECS_INSTALL_DIR=%{_libdir}/qt5/mkspecs/modules \
|
|
|
|
-DKDE_INSTALL_INCLUDEDIR=%{_includedir}/qt5 \
|
|
|
|
%ifarch arm
|
|
|
|
-DENABLE_JIT=OFF
|
|
|
|
%endif
|
|
|
|
|
|
|
|
%make -j1
|
2024-01-05 17:19:34 +01:00
|
|
|
|
|
|
|
%install
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
2024-01-05 17:19:34 +01:00
|
|
|
%makeinstall -C build INSTALL_ROOT=%{buildroot}
|
2024-01-05 17:19:34 +01:00
|
|
|
|
|
|
|
%find_lang %{name} || touch %{name}.lang
|
|
|
|
|
|
|
|
%clean
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
|
|
|
|
%post -n libQt5WebKit -p /sbin/ldconfig
|
|
|
|
%postun -n libQt5WebKit -p /sbin/ldconfig
|
|
|
|
|
|
|
|
%files -n libQt5WebKit
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_libdir}/libQt5WebKit.so.*
|
|
|
|
%{_libdir}/libQt5WebKitWidgets.so.*
|
|
|
|
%{_libdir}/qt5/libexec/QtWebPluginProcess
|
|
|
|
%{_libdir}/qt5/libexec/QtWebProcess
|
2024-01-05 17:19:34 +01:00
|
|
|
%{_libdir}/qt5/libexec/QtWebNetworkProcess
|
|
|
|
%{_libdir}/qt5/libexec/QtWebStorageProcess
|
2024-01-05 17:19:34 +01:00
|
|
|
%dir %{_libdir}/qt5/qml/QtWebKit
|
|
|
|
%{_libdir}/qt5/qml/QtWebKit/*
|
|
|
|
|
|
|
|
%files -n libQt5WebKit-devel
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%dir %{_includedir}/qt5/QtWebKit
|
|
|
|
%{_includedir}/qt5/QtWebKit/*
|
|
|
|
%dir %{_includedir}/qt5/QtWebKitWidgets
|
|
|
|
%{_includedir}/qt5/QtWebKitWidgets/*
|
|
|
|
%dir %{_libdir}/cmake/Qt5WebKit
|
|
|
|
%{_libdir}/cmake/Qt5WebKit/Qt5WebKit*.cmake
|
|
|
|
%{_libdir}/libQt5WebKit*.so
|
|
|
|
%{_libdir}/pkgconfig/Qt5WebKit.pc
|
|
|
|
%{_libdir}/pkgconfig/Qt5WebKitWidgets.pc
|
|
|
|
%{_libdir}/qt5/mkspecs/modules/qt_lib_webkit*.pri
|
|
|
|
%dir %{_libdir}/cmake/Qt5WebKitWidgets
|
|
|
|
%{_libdir}/cmake/Qt5WebKitWidgets/Qt5WebKit*.cmake
|
2024-01-05 17:19:34 +01:00
|
|
|
%dir %{_libdir}/cmake/Qt5WebKit
|
|
|
|
%{_libdir}/cmake/Qt5WebKit/WebKit*.cmake
|
2024-01-05 17:19:34 +01:00
|
|
|
|
|
|
|
%changelog
|
2024-01-05 17:19:34 +01:00
|
|
|
* Sun Jul 14 2019 Silvan Calarco <silvan.calarco@mambasoft.it> 5.212-3mamba
|
|
|
|
- rebuilt with libqt5 5.13
|
|
|
|
|
2024-01-05 17:19:34 +01:00
|
|
|
* Thu Jan 03 2019 Silvan Calarco <silvan.calarco@mambasoft.it> 5.212-2mamba
|
|
|
|
- rebuilt with libqt5 5.12
|
|
|
|
|
|
|
|
* Tue Sep 25 2018 Silvan Calarco <silvan.calarco@mambasoft.it> 5.212-1mamba
|
|
|
|
- update to 5.212
|
|
|
|
- also obsolete libQt5WebKitWidgets
|
|
|
|
|
2024-01-05 17:19:34 +01:00
|
|
|
* Thu Oct 26 2017 Silvan Calarco <silvan.calarco@mambasoft.it> 5.9.0-1mamba
|
|
|
|
- update to 5.9.0
|
|
|
|
|
2024-01-05 17:19:34 +01:00
|
|
|
* Sat Jun 04 2016 Silvan Calarco <silvan.calarco@mambasoft.it> 5.6.0-2mamba
|
|
|
|
- ensure rebuild against Qt 6.1.0
|
|
|
|
|
2024-01-05 17:19:34 +01:00
|
|
|
* Thu May 05 2016 Silvan Calarco <silvan.calarco@mambasoft.it> 5.6.0-1mamba
|
|
|
|
- package created using the webbuild interface
|