95045873de
- No longer needs libcurl and json-c dependencies - Add patch to fix i686* build - Add patch to fix build on musl Closes: #23090 [via git-merge-pr]
25 lines
751 B
Bash
25 lines
751 B
Bash
# Template file for 'CPU-X'
|
|
pkgname=CPU-X
|
|
version=4.0.1
|
|
revision=1
|
|
archs="x86_64* i686*"
|
|
build_style=cmake
|
|
hostmakedepends="nasm pkg-config gettext"
|
|
makedepends="libcpuid-devel ncurses-devel pciutils-devel
|
|
procps-ng-devel $(vopt_if gtk3 'gtk+3-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://x0rg.github.io/CPU-X/"
|
|
distfiles="https://github.com/X0rg/CPU-X/archive/v${version}.tar.gz"
|
|
checksum=c41fbb3000e3e6f79e5228aa0237fde4f98b11df8ccb4c9a46f7e63a4a7011bf
|
|
|
|
build_options="gtk3"
|
|
build_options_default="gtk3"
|
|
|
|
case "$XBPS_TARGET_MACHINE" in
|
|
*-musl)
|
|
makedepends+=" libexecinfo-devel"
|
|
LDFLAGS="-lexecinfo"
|
|
;;
|
|
esac
|