CPU-X: disable tests, don't break base-chroot
This commit is contained in:
parent
81b93abd6d
commit
a11b404b4d
|
@ -8,7 +8,6 @@ hostmakedepends="pkg-config nasm"
|
|||
makedepends="ncurses-devel gettext-devel libcpuid-devel pciutils-devel
|
||||
glfw-devel ocl-icd-devel procps-ng-devel libstatgrab
|
||||
$(vopt_if gtk3 gtk+3-devel)"
|
||||
checkdepends="mawk nawk grep"
|
||||
short_desc="Free software that gathers information on CPU, motherboard and more"
|
||||
maintainer="Subhaditya Nath <sn03.general@gmail.com>"
|
||||
license="GPL-3.0-or-later"
|
||||
|
@ -18,15 +17,11 @@ distfiles="https://github.com/X0rg/CPU-X/archive/v${version}.tar.gz"
|
|||
checksum=6ad7a8ac2d6c687a38a895fbbfbf2de690311676ac374d5857588bb983839433
|
||||
build_options="gtk3"
|
||||
build_options_default="gtk3"
|
||||
# needs grep -P which is not available in chroot-grep and replacing it with
|
||||
# grep breaks base-chroot
|
||||
make_check=no
|
||||
|
||||
if [ "$XBPS_TARGET_LIBC" = musl ]; then
|
||||
makedepends+=" libexecinfo-devel"
|
||||
LDFLAGS="-lexecinfo"
|
||||
fi
|
||||
|
||||
# Tests depend on the -P flag of grep, which is not available in chroot-grep
|
||||
# and installing grep as checkdepends breaks base-chroot.
|
||||
# So, only run tests in CI, where the masterdir is ephemeral anyway.
|
||||
if [ "$XBPS_BUILD_ENVIRONMENT" != "void-packages-ci" ]; then
|
||||
make_check=no # breaks base-chroot
|
||||
fi
|
||||
|
|
Loading…
Reference in New Issue