# Template file for 'CPU-X'
pkgname=CPU-X
version=5.1.0
revision=2
archs="x86_64* i686*"
build_style=cmake
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=a99f963dd9cb982966fdfce9e9a9b569f852c1bfffb51e7b9f154abc8c0d40c5

if [ "$XBPS_TARGET_LIBC" = musl ]; then
	makedepends+=" libexecinfo-devel"
	LDFLAGS="-lexecinfo"
fi
