- Don't lower minimum Qt version anymore
- Drop patches for Qt 5.9
- Drop patches for Leap 42.x
- Drop conditionals for no longer supported distribution versions

OBS-URL: https://build.opensuse.org/package/show/KDE:Frameworks5/kwayland?expand=0&rev=179
This commit is contained in:
Christophe Giboudeaux 2019-08-07 12:44:23 +00:00 committed by Git OBS Bridge
parent d4c9ba82c2
commit 13c0d6a70a
2 changed files with 8 additions and 11 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Fri Jul 19 11:45:26 UTC 2019 - Wolfgang Bauer <wbauer@tmo.at>
- Don't lower minimum Qt version anymore, it requires 5.11 now
- Drop conditionals for no longer supported distribution versions
-------------------------------------------------------------------
Sun Jul 14 06:41:39 UTC 2019 - lbeltrame@kde.org

View File

@ -40,20 +40,14 @@ BuildRequires: cmake(Qt5Concurrent) >= 5.6.0
BuildRequires: cmake(Qt5Gui) >= 5.6.0
BuildRequires: cmake(Qt5Test) >= 5.6.0
BuildRequires: pkgconfig(egl)
BuildRequires: pkgconfig(wayland-client) >= 1.7.0
BuildRequires: pkgconfig(wayland-protocols)
BuildRequires: pkgconfig(wayland-server) >= 1.7.0
%requires_eq libQt5Gui5
Provides: libKF5WaylandClient5 = %{version}
Obsoletes: libKF5WaylandClient5 <= %{version}
Provides: libKF5WaylandServer5 = %{version}
Obsoletes: libKF5WaylandServer5 <= %{version}
%if 0%{?suse_version} == 1315 && ! 0%{?is_opensuse}
# We have a patched wayland 1.2.1 version in SLE12 with the required features from 1.7.0
BuildRequires: pkgconfig(wayland-client) >= 1.2.1
BuildRequires: pkgconfig(wayland-server) >= 1.2.1
%else
BuildRequires: pkgconfig(wayland-client) >= 1.7.0
BuildRequires: pkgconfig(wayland-server) >= 1.7.0
%endif
%description
KWayland provides a Qt-style Client and Server library wrapper for the Wayland libraries.
@ -70,9 +64,6 @@ KWayland provides a Qt-style Client and Server library wrapper for the Wayland l
%prep
%setup -q
%if 0%{?suse_version} == 1500
sed -i -e "s/^set *(REQUIRED_QT_VERSION 5.10.0)$/set(REQUIRED_QT_VERSION 5.9.0)/" CMakeLists.txt
%endif
%build
%cmake_kf5 -d build