24 lines
911 B
Bash
24 lines
911 B
Bash
# Template file for 'corectrl'
|
|
pkgname=corectrl
|
|
version=1.1.3
|
|
revision=1
|
|
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 qt5-svg-devel"
|
|
depends="dbus hicolor-icon-theme qt5-quickcontrols2 qt5-svg"
|
|
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=61fe6ffda7e37d32e097296172d906411dafa91ed26fc085d236be05b0e9262b
|
|
|
|
if [ "$XBPS_TARGET_NO_ATOMIC8" ]; then
|
|
makedepends+=" libatomic-devel"
|
|
LDFLAGS+=" -latomic"
|
|
configure_args+=" -DCMAKE_CXX_STANDARD_LIBRARIES=-latomic"
|
|
fi
|