1
0

Accepting request 810613 from home:StefanBruens:branches:X11:wxWidgets

- Fix wxQt build with Qt 5.15, add
  0001-Add-missing-QPainterPath-include-required-with-Qt-5..patch
- Make liblzma build dependency explicit, to have the same feature
  set on all flavors.
- Fix wrong function signature causing build failures in
  python-wxPython, add:
  0002-Make-the-wxUIActionSimulator-Text-implementation-mat.patch
- Add explicit libXtst build dependency, required for Leap 15.1
  (already implicit on Leap 15.2 and TW).

OBS-URL: https://build.opensuse.org/request/show/810613
OBS-URL: https://build.opensuse.org/package/show/X11:wxWidgets/wxWidgets-3_2?expand=0&rev=56
This commit is contained in:
2020-06-01 14:47:15 +00:00
committed by Git OBS Bridge
parent 2a2adee16c
commit 14c1cf32fb
8 changed files with 162 additions and 0 deletions

View File

@@ -39,6 +39,10 @@ Source5: wxWidgets-3_2-rpmlintrc
# identify and backport wxPython fixes to wxWidgets.
Source6: wxpython-mkdiff.sh
Patch1: soversion.diff
# PATCH-FIX-UPSTREAM https://github.com/wxWidgets/wxWidgets/pull/1879
Patch2: 0002-Make-the-wxUIActionSimulator-Text-implementation-mat.patch
# PATCH-FIX-UPSTREAM https://github.com/wxWidgets/wxWidgets/pull/1880
Patch3: 0001-Add-missing-QPainterPath-include-required-with-Qt-5..patch
BuildRequires: autoconf
BuildRequires: cppunit-devel
BuildRequires: gcc-c++
@@ -63,6 +67,7 @@ BuildRequires: pkgconfig(sdl)
%else
BuildRequires: pkgconfig(sdl2)
%endif
BuildRequires: pkgconfig(xtst)
%description
wxWidgets is a C++ library abstraction layer for a number of GUI
@@ -256,6 +261,8 @@ read %_docdir/%name/README.SUSE to pick a correct variant.
%prep
%setup -q -n %tarball_name-%version
%patch -P 1 -p1
%patch2 -p1
%patch3 -p1
cp %{S:2} .
%build