CPU-X: update to 5.0.4.

This commit is contained in:
1is7ac3 2024-10-11 20:59:00 -03:00 committed by John Zimmermann
parent ff6e5a99cb
commit 9d6707b5f3
3 changed files with 33 additions and 16 deletions

View 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 ----

View 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>

View File

@ -1,30 +1,19 @@
# Template file for 'CPU-X'
pkgname=CPU-X
version=4.5.3
version=5.1.0
revision=1
archs="x86_64* i686*"
build_style=cmake
hostmakedepends="pkg-config nasm"
makedepends="ncurses-devel gettext-devel libcpuid-devel pciutils-devel
glfw-devel ocl-icd-devel procps-ng-devel libstatgrab gtk+3-devel
vulkan-loader-devel"
#checkdepends="mawk nawk grep"
hostmakedepends="pkg-config nasm gettext"
makedepends="ncurses-devel libcpuid-devel pciutils-devel glfw-devel
ocl-icd-devel procps-ng-devel libstatgrab gtkmm-devel vulkan-loader-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://thetumultuousunicornofdarkness.github.io/CPU-X/"
changelog="https://github.com/TheTumultuousUnicornOfDarkness/CPU-X/blob/master/ChangeLog.md"
distfiles="https://github.com/thetumultuousunicornofdarkness/CPU-X/archive/v${version}.tar.gz"
checksum=aeef04fb5c2da85f8790ab74bd66e2e72c9595579d5f64d2d08f093ef69d81f9
# 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
checksum=a99f963dd9cb982966fdfce9e9a9b569f852c1bfffb51e7b9f154abc8c0d40c5
if [ "$XBPS_TARGET_LIBC" = musl ]; then
makedepends+=" libexecinfo-devel"