mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-05 06:33:50 +02:00
CPU-X: update to 5.0.4.
This commit is contained in:
parent
ff6e5a99cb
commit
9d6707b5f3
3 changed files with 33 additions and 16 deletions
17
srcpkgs/CPU-X/patches/disable_tests.patch
Normal file
17
srcpkgs/CPU-X/patches/disable_tests.patch
Normal file
|
@ -0,0 +1,17 @@
|
||||||
|
*** a/CMakeLists.txt 2024-10-21 10:03:31.920419079 -0300
|
||||||
|
--- b/CMakeLists.txt 2024-10-21 10:13:21.248594699 -0300
|
||||||
|
*************** endif(EXISTS ${CMAKE_SOURCE_DIR}/.git)
|
||||||
|
*** 123,125 ****
|
||||||
|
|
||||||
|
! enable_testing()
|
||||||
|
find_package(PkgConfig REQUIRED)
|
||||||
|
--- 123,125 ----
|
||||||
|
|
||||||
|
!
|
||||||
|
find_package(PkgConfig REQUIRED)
|
||||||
|
*************** add_subdirectory(po)
|
||||||
|
*** 141,143 ****
|
||||||
|
add_subdirectory(src)
|
||||||
|
- add_subdirectory(tests)
|
||||||
|
|
||||||
|
--- 141,142 ----
|
11
srcpkgs/CPU-X/patches/fix_musl.patch
Normal file
11
srcpkgs/CPU-X/patches/fix_musl.patch
Normal file
|
@ -0,0 +1,11 @@
|
||||||
|
*** a/src/daemon_client.cpp 2024-10-07 08:16:51.000000000 -0300
|
||||||
|
--- b/src/daemon_client.cpp 2024-10-21 11:43:37.561779747 -0300
|
||||||
|
***************
|
||||||
|
*** 22,24 ****
|
||||||
|
*/
|
||||||
|
!
|
||||||
|
#include <unistd.h>
|
||||||
|
--- 22,24 ----
|
||||||
|
*/
|
||||||
|
! #include <cstring>
|
||||||
|
#include <unistd.h>
|
|
@ -1,30 +1,19 @@
|
||||||
# Template file for 'CPU-X'
|
# Template file for 'CPU-X'
|
||||||
pkgname=CPU-X
|
pkgname=CPU-X
|
||||||
version=4.5.3
|
version=5.1.0
|
||||||
revision=1
|
revision=1
|
||||||
archs="x86_64* i686*"
|
archs="x86_64* i686*"
|
||||||
build_style=cmake
|
build_style=cmake
|
||||||
hostmakedepends="pkg-config nasm"
|
hostmakedepends="pkg-config nasm gettext"
|
||||||
makedepends="ncurses-devel gettext-devel libcpuid-devel pciutils-devel
|
makedepends="ncurses-devel libcpuid-devel pciutils-devel glfw-devel
|
||||||
glfw-devel ocl-icd-devel procps-ng-devel libstatgrab gtk+3-devel
|
ocl-icd-devel procps-ng-devel libstatgrab gtkmm-devel vulkan-loader-devel"
|
||||||
vulkan-loader-devel"
|
|
||||||
#checkdepends="mawk nawk grep"
|
|
||||||
short_desc="Free software that gathers information on CPU, motherboard and more"
|
short_desc="Free software that gathers information on CPU, motherboard and more"
|
||||||
maintainer="Orphaned <orphan@voidlinux.org>"
|
maintainer="Orphaned <orphan@voidlinux.org>"
|
||||||
license="GPL-3.0-or-later"
|
license="GPL-3.0-or-later"
|
||||||
homepage="https://thetumultuousunicornofdarkness.github.io/CPU-X/"
|
homepage="https://thetumultuousunicornofdarkness.github.io/CPU-X/"
|
||||||
changelog="https://github.com/TheTumultuousUnicornOfDarkness/CPU-X/blob/master/ChangeLog.md"
|
changelog="https://github.com/TheTumultuousUnicornOfDarkness/CPU-X/blob/master/ChangeLog.md"
|
||||||
distfiles="https://github.com/thetumultuousunicornofdarkness/CPU-X/archive/v${version}.tar.gz"
|
distfiles="https://github.com/thetumultuousunicornofdarkness/CPU-X/archive/v${version}.tar.gz"
|
||||||
checksum=aeef04fb5c2da85f8790ab74bd66e2e72c9595579d5f64d2d08f093ef69d81f9
|
checksum=a99f963dd9cb982966fdfce9e9a9b569f852c1bfffb51e7b9f154abc8c0d40c5
|
||||||
|
|
||||||
# xbps-src will still install checkdepends even if the template says `make_check=no`.
|
|
||||||
# And breaking the build environment on the CI is also bad, if CPU-X would be part
|
|
||||||
# of revbumps due to shared libraries it would destroy the CI.
|
|
||||||
# if [ "$XBPS_BUILD_ENVIRONMENT" != void-packages-ci ]; then
|
|
||||||
# # Installing the packages in checkdepends causes base-chroot to break.
|
|
||||||
# # So, only run the checks in CI, where the chroot is ethereal anyway.
|
|
||||||
# make_check=no
|
|
||||||
# fi
|
|
||||||
|
|
||||||
if [ "$XBPS_TARGET_LIBC" = musl ]; then
|
if [ "$XBPS_TARGET_LIBC" = musl ]; then
|
||||||
makedepends+=" libexecinfo-devel"
|
makedepends+=" libexecinfo-devel"
|
||||||
|
|
Loading…
Add table
Reference in a new issue