diff --git a/srcpkgs/CPU-X/patches/disable_tests.patch b/srcpkgs/CPU-X/patches/disable_tests.patch new file mode 100644 index 00000000000..c8e9c4299a2 --- /dev/null +++ b/srcpkgs/CPU-X/patches/disable_tests.patch @@ -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 ---- diff --git a/srcpkgs/CPU-X/patches/fix_musl.patch b/srcpkgs/CPU-X/patches/fix_musl.patch new file mode 100644 index 00000000000..a13a183b87a --- /dev/null +++ b/srcpkgs/CPU-X/patches/fix_musl.patch @@ -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 +--- 22,24 ---- + */ +! #include + #include diff --git a/srcpkgs/CPU-X/template b/srcpkgs/CPU-X/template index 7d1aab355f5..9ef7ca7cdef 100644 --- a/srcpkgs/CPU-X/template +++ b/srcpkgs/CPU-X/template @@ -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 " 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"