2020-04-02 14:50:15 +02:00
|
|
|
# Template file for 'corectrl'
|
|
|
|
pkgname=corectrl
|
2020-04-03 18:47:49 +02:00
|
|
|
version=1.1.1
|
2020-10-10 16:37:01 +02:00
|
|
|
revision=2
|
2020-04-02 14:50:15 +02:00
|
|
|
wrksrc=${pkgname}-v${version}
|
|
|
|
build_style=cmake
|
|
|
|
configure_args="-DBUILD_TESTING=OFF"
|
2020-04-03 18:47:49 +02:00
|
|
|
hostmakedepends="pkg-config extra-cmake-modules qt5-host-tools qt5-qmake
|
|
|
|
kcoreaddons kauth"
|
2020-04-02 14:50:15 +02:00
|
|
|
makedepends="botan-devel kauth-devel karchive-devel qt5-charts-devel
|
2020-04-03 18:47:49 +02:00
|
|
|
qt5-tools-devel libdrm-devel qt5-svg-devel"
|
|
|
|
depends="dbus hicolor-icon-theme qt5-quickcontrols2 qt5-svg"
|
2020-04-02 14:50:15 +02:00
|
|
|
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"
|
2020-04-03 18:47:49 +02:00
|
|
|
checksum=dbeb3bb167ef9e7c17f16aed2aa5cc05e480d4765665408f678b3314f0ae8ab4
|
2020-04-02 14:50:15 +02:00
|
|
|
|
|
|
|
if [ "$XBPS_TARGET_NO_ATOMIC8" ]; then
|
|
|
|
makedepends+=" libatomic-devel"
|
|
|
|
LDFLAGS+=" -latomic"
|
|
|
|
configure_args+=" -DCMAKE_CXX_STANDARD_LIBRARIES=-latomic"
|
|
|
|
fi
|