# Template file for 'CPU-X' pkgname=CPU-X version=4.3.0 revision=2 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 $(vopt_if gtk3 gtk+3-devel)" short_desc="Free software that gathers information on CPU, motherboard and more" maintainer="Subhaditya Nath " license="GPL-3.0-or-later" homepage="https://x0rg.github.io/CPU-X/" changelog="https://raw.githubusercontent.com/X0rg/CPU-X/master/ChangeLog.md" 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