void-packages/srcpkgs/CPU-X/template
2021-10-08 10:18:46 -03:00

30 lines
981 B
Bash

# Template file for 'CPU-X'
pkgname=CPU-X
version=4.2.0
revision=1
archs="x86_64* i686*"
build_style=cmake
hostmakedepends="nasm pkg-config gettext"
makedepends="libcpuid-devel ncurses-devel pciutils-devel
procps-ng-devel glfw-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/"
changelog="https://raw.githubusercontent.com/X0rg/CPU-X/master/ChangeLog.md"
distfiles="https://github.com/X0rg/CPU-X/archive/v${version}.tar.gz"
checksum=3bd8aabe98273012adc6fa25f31cf0f631f0a34c2ec39392fb5f6885551cee1f
# tests depend on:
# having mawk and nawk installed which breaks chroot-gawk
# grep -P, which `chroot-grep` is compiled without
make_check=no
build_options="gtk3"
build_options_default="gtk3"
case "$XBPS_TARGET_MACHINE" in
*-musl)
makedepends+=" libexecinfo-devel"
LDFLAGS="-lexecinfo"
;;
esac