Accepting request 1123403 from home:manfred-h
- Use gcc13 as Leap's default compiler does not provide "filesystem". - Add build requires for glibmm. OBS-URL: https://build.opensuse.org/request/show/1123403 OBS-URL: https://build.opensuse.org/package/show/utilities/cpu-x?expand=0&rev=28
This commit is contained in:
parent
af10a6a603
commit
76912eb940
@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Sun Nov 5 10:29:24 UTC 2023 - Manfred Hollstein <manfred.h@gmx.net>
|
||||
|
||||
- Use gcc13 as Leap's default compiler does not provide "filesystem".
|
||||
- Add build requires for glibmm.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Nov 1 11:09:11 UTC 2023 - Jan Engelhardt <jengelh@inai.de>
|
||||
|
||||
|
@ -26,6 +26,10 @@ Group: System/X11/Utilities
|
||||
URL: https://github.com/TheTumultuousUnicornOfDarkness/CPU-X
|
||||
Source: https://github.com/TheTumultuousUnicornOfDarkness/CPU-X/archive/refs/tags/v%version.tar.gz
|
||||
Patch1: no-no-pie.patch
|
||||
%if 0%{suse_version} == 1500
|
||||
BuildRequires: gcc13
|
||||
BuildRequires: gcc13-c++
|
||||
%endif
|
||||
BuildRequires: c++_compiler
|
||||
BuildRequires: cmake >= 3.12
|
||||
BuildRequires: gettext-tools
|
||||
@ -36,6 +40,7 @@ BuildRequires: opencl-headers
|
||||
BuildRequires: pkgconfig(OpenCL)
|
||||
BuildRequires: pkgconfig(glfw3)
|
||||
BuildRequires: pkgconfig(gtk+-3.0) >= 3.12.0
|
||||
BuildRequires: pkgconfig(gtkmm-3.0) >= 3.12.0
|
||||
BuildRequires: pkgconfig(libcpuid) >= 0.6.0
|
||||
BuildRequires: pkgconfig(libpci)
|
||||
BuildRequires: pkgconfig(libprocps)
|
||||
@ -84,6 +89,10 @@ Shell completion definitions from %name for %name.
|
||||
%autosetup -p1 -n %src_name
|
||||
|
||||
%build
|
||||
%if 0%{suse_version} == 1500
|
||||
export CC=gcc-13
|
||||
export CXX=g++-13
|
||||
%endif
|
||||
%cmake \
|
||||
-DWITH_OPENCL=1
|
||||
%cmake_build
|
||||
|
Loading…
Reference in New Issue
Block a user