2020-04-02 14:50:15 +02:00
|
|
|
# Template file for 'corectrl'
|
|
|
|
pkgname=corectrl
|
|
|
|
version=1.0.8
|
2020-04-08 20:13:36 +02:00
|
|
|
revision=2
|
2020-04-02 14:50:15 +02:00
|
|
|
wrksrc=${pkgname}-v${version}
|
|
|
|
build_style=cmake
|
|
|
|
configure_args="-DBUILD_TESTING=OFF"
|
|
|
|
hostmakedepends="pkg-config extra-cmake-modules qt5-host-tools qt5-qmake kcoreaddons kauth"
|
|
|
|
makedepends="botan-devel kauth-devel karchive-devel qt5-charts-devel
|
|
|
|
qt5-tools-devel libdrm-devel"
|
|
|
|
depends="hicolor-icon-theme qt5-quickcontrols2"
|
|
|
|
short_desc="User-friendly hardware control application"
|
|
|
|
maintainer="Lorem <notloremipsum@protonmail.com>"
|
|
|
|
license="GPL-3.0-or-later"
|
|
|
|
homepage="https://gitlab.com/corectrl/corectrl"
|
|
|
|
distfiles="${homepage}/-/archive/v${version}/corectrl-v${version}.tar.gz"
|
|
|
|
checksum=050f1b4f105615c26dcb23d09bbdadbc619c9b9782197cae482fb6921f5e3cf2
|
|
|
|
patch_args="-Np1"
|
|
|
|
|
|
|
|
if [ "$XBPS_TARGET_NO_ATOMIC8" ]; then
|
|
|
|
makedepends+=" libatomic-devel"
|
|
|
|
LDFLAGS+=" -latomic"
|
|
|
|
configure_args+=" -DCMAKE_CXX_STANDARD_LIBRARIES=-latomic"
|
|
|
|
fi
|