Accepting request 850531 from home:wolfi323:branches:KDE:Applications

- Set WITH_BH_SOLVER=OFF on Leap as libblack-hole-solver is not
  available

OBS-URL: https://build.opensuse.org/request/show/850531
OBS-URL: https://build.opensuse.org/package/show/KDE:Applications/kpat?expand=0&rev=133
This commit is contained in:
Luca Beltrame
2020-11-24 15:27:54 +00:00
committed by Git OBS Bridge
parent 3888835451
commit e8bcd74be2
2 changed files with 12 additions and 0 deletions

View File

@@ -30,7 +30,9 @@ URL: https://www.kde.org
Source: https://download.kde.org/unstable/release-service/%{version}/src/%{name}-%{version}.tar.xz
BuildRequires: extra-cmake-modules
BuildRequires: freecell-solver-devel
%if 0%{?suse_version} > 1500
BuildRequires: pkgconfig(libblack-hole-solver)
%endif
BuildRequires: update-desktop-files
BuildRequires: cmake(KF5Completion)
BuildRequires: cmake(KF5Config)
@@ -77,7 +79,11 @@ more. The game has nice graphics and many different carddecks.
%setup -q
%build
%if 0%{?suse_version} > 1500
%cmake_kf5 -d build
%else
%cmake_kf5 -d build -- -DWITH_BH_SOLVER=OFF
%endif
%cmake_build
%install