Accepting request 641913 from home:Vogtinator:kf5ls
- Add patch to use WebEngine instead of WebKit: * 0001-Port-scripting-to-Qt-WebEngine.patch - Use gcc7 on Leap 42.3 OBS-URL: https://build.opensuse.org/request/show/641913 OBS-URL: https://build.opensuse.org/package/show/KDE:Frameworks5/libksysguard5?expand=0&rev=186
This commit is contained in:
committed by
Git OBS Bridge
parent
7484d9643e
commit
f674f18d9e
@@ -30,6 +30,8 @@ Source1: libksysguard-%{version}.tar.xz.sig
|
||||
Source2: plasma.keyring
|
||||
%endif
|
||||
Source3: baselibs.conf
|
||||
# PATCH-FEATURE-UPSTREAM
|
||||
Patch100: 0001-Port-scripting-to-Qt-WebEngine.patch
|
||||
BuildRequires: extra-cmake-modules >= 1.2.0
|
||||
BuildRequires: kf5-filesystem
|
||||
BuildRequires: xz
|
||||
@@ -48,12 +50,16 @@ BuildRequires: cmake(KF5WidgetsAddons)
|
||||
BuildRequires: cmake(KF5WindowSystem)
|
||||
BuildRequires: cmake(Qt5DBus) >= 5.4.0
|
||||
BuildRequires: cmake(Qt5Network) >= 5.4.0
|
||||
BuildRequires: cmake(Qt5WebKitWidgets) >= 5.4.0
|
||||
BuildRequires: cmake(Qt5WebEngineWidgets) >= 5.4.0
|
||||
BuildRequires: cmake(Qt5Widgets) >= 5.4.0
|
||||
BuildRequires: cmake(Qt5X11Extras) >= 5.4.0
|
||||
BuildRequires: pkgconfig(x11)
|
||||
BuildRequires: pkgconfig(xres)
|
||||
BuildRequires: pkgconfig(zlib)
|
||||
%if 0%{?suse_version} < 1330
|
||||
# It does not build with the default compiler (GCC 4.8) on Leap 42.x
|
||||
BuildRequires: gcc7-c++
|
||||
%endif
|
||||
Recommends: %{name}-lang
|
||||
|
||||
%description
|
||||
@@ -85,10 +91,16 @@ Task management and system monitoring library. This package contains helper file
|
||||
for actions that require elevated privileges.
|
||||
|
||||
%lang_package
|
||||
|
||||
%prep
|
||||
%setup -q -n libksysguard-%{version}
|
||||
%autosetup -p1 -n libksysguard-%{version}
|
||||
|
||||
%build
|
||||
%if 0%{?suse_version} < 1330
|
||||
# It does not build with the default compiler (GCC 4.8) on Leap 42.x
|
||||
export CC=gcc-7
|
||||
export CXX=g++-7
|
||||
%endif
|
||||
%cmake_kf5 -d build -- -DCMAKE_INSTALL_LOCALEDIR=%{_kf5_localedir}
|
||||
%make_jobs
|
||||
|
||||
|
Reference in New Issue
Block a user