CPU-X: update to 3.2.4.
This commit is contained in:
parent
788b78b034
commit
5bb88c9c02
2 changed files with 26 additions and 7 deletions
18
srcpkgs/CPU-X/patches/fix-no-pie-check.patch
Normal file
18
srcpkgs/CPU-X/patches/fix-no-pie-check.patch
Normal file
|
@ -0,0 +1,18 @@
|
|||
This shouldn't exist and erroneously fails for us.
|
||||
|
||||
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
||||
index dca0029..93b8c79 100644
|
||||
--- CMakeLists.txt
|
||||
+++ CMakeLists.txt
|
||||
@@ -32,10 +32,6 @@ set(CMAKE_SHARED_LINKER_FLAGS "${CMAKE_SHARED_LINKER_FLAGS} -Wl,-z,noexecstack -
|
||||
set(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} -Wl,-z,noexecstack -Wl,-z,relro -Wl,-z,now")
|
||||
|
||||
include(CheckCCompilerFlag)
|
||||
-check_c_compiler_flag("-no-pie" HAS_NO_PIE)
|
||||
-if(HAS_NO_PIE)
|
||||
- set(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} -no-pie")
|
||||
-endif(HAS_NO_PIE)
|
||||
|
||||
# Options
|
||||
option(WITH_GTK "Build support for GUI in GTK3+" ON)
|
||||
|
|
@ -1,22 +1,23 @@
|
|||
# Template file for 'CPU-X'.
|
||||
# Template file for 'CPU-X'
|
||||
pkgname=CPU-X
|
||||
version=3.2.3
|
||||
version=3.2.4
|
||||
revision=1
|
||||
only_for_archs="i686 x86_64 i686-musl x86_64-musl"
|
||||
build_style=cmake
|
||||
build_options="gtk3"
|
||||
build_options_default="gtk3"
|
||||
hostmakedepends="nasm pkg-config"
|
||||
makedepends="libcpuid-devel libcurl-devel ncurses-devel pciutils-devel
|
||||
procps-ng-devel $(vopt_if gtk3 'gtk+3-devel')"
|
||||
procps-ng-devel json-c-devel $(vopt_if gtk3 'gtk+3-devel')"
|
||||
short_desc="Free software that gathers information on CPU, motherboard and more"
|
||||
maintainer="Orphaned <orphan@voidlinux.org>"
|
||||
license="GPL-3.0-or-later"
|
||||
homepage="https://x0rg.github.io/CPU-X/"
|
||||
distfiles="https://github.com/X0rg/CPU-X/archive/v${version}.tar.gz"
|
||||
checksum=4c11b3e3632870e9af81c5c0fa642edff8dd4622a172bbb788c4e6be595eb014
|
||||
checksum=f266388e13c527a5d1d98ec70957b1284f67aa89470cf71bc98ecb41c21542eb
|
||||
|
||||
case $XBPS_TARGET_MACHINE in
|
||||
build_options="gtk3"
|
||||
build_options_default="gtk3"
|
||||
|
||||
case "$XBPS_TARGET_MACHINE" in
|
||||
*-musl)
|
||||
makedepends+=" libexecinfo-devel"
|
||||
LDFLAGS="-lexecinfo"
|
||||
|
|
Loading…
Reference in a new issue