25 lines
782 B
Bash
25 lines
782 B
Bash
|
# Template file for 'CPU-X'
|
||
|
pkgname=CPU-X
|
||
|
version=3.2.3
|
||
|
revision=1
|
||
|
only_for_archs="i686 x86_64 i686-musl x86_64-musl"
|
||
|
build_style=cmake
|
||
|
build_options="gtk3"
|
||
|
build_options_default="gtk3"
|
||
|
hostmakedepends="nasm pkg-config"
|
||
|
makedepends="libcpuid-devel libcurl-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="cr6git <quark6@protonmail.com>"
|
||
|
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=4c11b3e3632870e9af81c5c0fa642edff8dd4622a172bbb788c4e6be595eb014
|
||
|
|
||
|
case $XBPS_TARGET_MACHINE in
|
||
|
*-musl)
|
||
|
makedepends+=" libexecinfo-devel"
|
||
|
LDFLAGS="-lexecinfo"
|
||
|
;;
|
||
|
esac
|