Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:Ximi1970:Toolchains:Qt:MinGW:latest:win64
mingw64-libqt5-qtwebkit
mingw64-libqt5-qtwebkit.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File mingw64-libqt5-qtwebkit.spec of Package mingw64-libqt5-qtwebkit
# # spec file for package mingw64-libqt5-qtwebkit # # Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany. # # 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 http://bugs.opensuse.org/ # %global qt_module qtwebkit %global tar_version 5.9.1 # first two digits of version %global release_version %(echo %{tar_version} | awk -F. '{print $1"."$2}') %if 0%{?snapshot_date} %global source_folder qt-%{qt_module} %else %global source_folder %{qt_module}-opensource-src-%{tar_version}%{?pre:-%pre} %endif Name: mingw64-libqt5-%{qt_module} Version: 5.12.12 Release: 0 Summary: Qt5 for Windows - QtWebKit component License: GPL-3.0 or SUSE-LGPL-2.1-with-digia-exception-1.1 Group: Development/Libraries Url: http://qt-project.org/ Source0: %{source_folder}.tar.xz # Make sure the bundled copy of the ANGLE library isn't used BuildArch: noarch # The ICU libraries used for cross-compilation are named exactly the same as their native Linux counterpart Patch0: qt5-qtwebkit-use-correct-icu-libs.patch # fix compile without include headers in Source/WebCore/DervicedSources.pri Patch1: fix-mingw64-webcore-derivedsources-compile-issue.patch # By default the build system assumes that pkg-config isn't used for the win32 target # However, we're using it in the MinGW toolchain so make sure it is used automatically Patch2: qt5-qtwebkit-enable-pkgconfig-support-for-win32-target.patch # WebKit svn commit 136242 implemented a split into QtWebKit and QtWebKitWidgets # Due to this change a static library named WebKit1.a is created first. # After this a shared library is created named Qt5WebKit.dll which contains # the contents of this static library and some other object files. # However, various symbols in the static library are expected to be exported # in the Qt5WebKit.dll shared library. As static libraries normally don't care # about exported symbols (everything is exported after all) the decoration # attribute Q_DECL_EXPORT won't be set. # This results in undefined references when trying to link the QtWebKitWidgets # shared library (which depends on various symbols which aren't exported properly # in the Qt5WebKit.dll shared library) Patch6: qt5-qtwebkit-workaround-build-breakage-after-svn-commit-136242.patch # crash because of some sync error Patch7: sleep.patch # build issue with new MINGW Patch8: fix-atomics-build.patch Patch9: mingw64-javascript-compile-fix.patch # Use linux shell commands instead of windows cmd commands Patch13: qt5-qtwebkit-use-linux-shell.patch # smaller debuginfo s/-g/-g1/ (debian uses -gstabs) to avoid 4gb size limit Patch10: qtwebkit-opensource-src-5.0.1-debuginfo.patch Patch11: mingw64-fix-missing-JS_EXPORT_PRIVATE-macro.patch # fix building with bison 3.7 Patch12: 0001-fix-building-with-bison-3.7.patch Patch14: qt5-qtwebkit-fix-building-with-gcc-12.patch Patch15: qt5-qtwebkit-mingw-compile-fix.patch Patch1000: mingw64-libqt5-qtwebkit-rpmlintrc BuildRequires: bison BuildRequires: flex BuildRequires: gperf BuildRequires: mingw64-fontconfig-devel BuildRequires: mingw64-libicu-devel BuildRequires: mingw64-libjpeg-devel BuildRequires: mingw64-libpng-devel BuildRequires: mingw64-libqt5-qtbase-devel >= 5.12 BuildRequires: mingw64-libqt5-qtdeclarative-devel >= 5.12 BuildRequires: mingw64-libqt5-qtsensors-devel >= 5.12 BuildRequires: mingw64-libqt5-qtlocation-devel >= 5.12 BuildRequires: mingw64-libqt5-qtmultimedia-devel >= 5.12 BuildRequires: mingw64-libwebp-devel BuildRequires: mingw64-libxml2-devel BuildRequires: mingw64-libxslt-devel BuildRequires: mingw64-pcre-devel BuildRequires: mingw64-sqlite BuildRequires: mingw64-sqlite-devel BuildRequires: mingw64-zlib-devel BuildRequires: perl perl(version) perl(Digest::MD5) perl(Text::ParseWords) perl(Getopt::Long) BuildRequires: python BuildRequires: ruby BuildRequires: xz # for the compatibility with the Unix version Provides: mingw64-libQt5WebKit Provides: mingw64-libQt5WebKitWidgets %_mingw64_package_header_debug %description This package contains the Qt software toolkit for developing cross-platform applications. This is the Windows version of Qt, for use in conjunction with the MinGW cross-compiler. %package devel Summary: Qt5 for Windows - QtWebKit component (development) Group: Development/Libraries Requires: %{name} = %{version}-%{release} # for the compatibility with the Unix version Provides: mingw64-libQt5WebKit-devel Provides: mingw64-libQt5WebKit-private-headers-devel Provides: mingw64-libQt5WebKitWidgets-private-headers-devel %description devel This package contains the Qt software toolkit for developing cross-platform applications. This is the Windows version of Qt, for use in conjunction with the MinGW cross-compiler. %_mingw64_debug_package %prep %setup -q -n %{source_folder} %patch0 -p1 %patch1 -p1 %patch2 -p0 %patch6 -p0 %patch7 -p1 %patch8 -p1 #%patch9 -p1 %patch10 -p1 %patch11 -p1 %patch12 -p1 #%patch13 -p1 -b .no_cmd %patch14 -p1 %patch15 -p1 sed -i 's,5.9.1,5.12.12,g' .qmake.conf %build # force the configure script to generate the forwarding headers (it checks whether .git directory exists) mkdir -p .git unset PKG_CONFIG_PATH export PKG_CONFIG_LIBDIR=%{_mingw64_libdir}/pkgconfig/ # trick out qtConfTest_detectPKgConfig to have non empty env but without defining anything export PKG_CONFIG_SYSROOT_DIR=/.. export PKG_CONFIG=/usr/bin/%{_mingw64_prefix}-pkg-config mingw64-qmake-qt5 -r WebKit.pro \ QMAKE_CXXFLAGS="%{_mingw64_cxxflags} -Wno-expansion-to-defined -Wno-error -I. -I../WTF" \ QMAKE_CFLAGS="%{_mingw64_cflags} -Wno-expansion-to-defined -Wno-error" 'QMAKE_LIBS_POST=-lEGLQt5 -lGLESv2Qt5' %{_mingw64_make} VERBOSE=1 %{?_smp_mflags} %install %{_mingw64_make} install INSTALL_ROOT=%{buildroot} # .prl files aren't interesting for us find %{buildroot} -name "*.prl" -delete # The .dll's are installed in both %%{_mingw64_bindir} and %%{_mingw64_libdir} # One copy of the .dll's is sufficient rm -f %{buildroot}%{_mingw64_libdir}/*.dll # The QtWebProcess executable is placed in the wrong folder, move it manually mv %{buildroot}%{_mingw64_datadir}/qt5/bin/QtWebProcess.exe %{buildroot}%{_mingw64_bindir}/ %files %defattr(-, root, root) %doc Source/WebCore/LICENSE* %doc VERSION %{_mingw64_bindir}/QtWebProcess.exe %{_mingw64_bindir}/libQt5WebKit.dll %{_mingw64_bindir}/libQt5WebKitWidgets.dll # Caution: the directory pull below must not include debug files: # /usr/i686-w64-mingw64/sys-root/mingw/share/qt5/qml/QtWebKit/experimental/qmlwebkitexperimentalplugin.dll.debug # /usr/i686-w64-mingw64/sys-root/mingw/share/qt5/qml/QtWebKit/qmlwebkitplugin.dll.debug %exclude %{_mingw64_datadir}/qt5/qml/QtWebKit/experimental/*.debug %exclude %{_mingw64_datadir}/qt5/qml/QtWebKit/*.debug %dir %{_mingw64_datadir}/qt5/qml/ %{_mingw64_datadir}/qt5/qml/QtWebKit/ %files devel %defattr(-, root, root) %{_mingw64_includedir}/qt5/QtWebKit/ %{_mingw64_includedir}/qt5/QtWebKitWidgets/ %{_mingw64_libdir}/libQt5WebKit.dll.a %{_mingw64_libdir}/libQt5WebKitWidgets.dll.a %{_mingw64_libdir}/cmake/Qt5WebKit/ %{_mingw64_libdir}/cmake/Qt5WebKitWidgets/ %{_mingw64_libdir}/pkgconfig/Qt5WebKit.pc %{_mingw64_libdir}/pkgconfig/Qt5WebKitWidgets.pc %{_mingw64_datadir}/qt5/mkspecs/modules/qt_lib_webkit.pri %{_mingw64_datadir}/qt5/mkspecs/modules/qt_lib_webkit_private.pri %{_mingw64_datadir}/qt5/mkspecs/modules/qt_lib_webkitwidgets.pri %{_mingw64_datadir}/qt5/mkspecs/modules/qt_lib_webkitwidgets_private.pri %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor