corectrl: add missing glxinfo dependency

and simplify libatomic handling

By Piraty: distilled from the PR

Closes: #36298 [via git-merge-pr]
This commit is contained in:
tibequadorian 2022-03-23 17:04:42 +01:00 committed by Piraty
parent 84913bfb57
commit edad0630fd
No known key found for this signature in database
GPG key ID: 82F2CC796BD07077

View file

@ -1,7 +1,7 @@
# Template file for 'corectrl'
pkgname=corectrl
version=1.2.3
revision=1
revision=2
wrksrc=${pkgname}-v${version}
build_style=cmake
configure_args="-DBUILD_TESTING=OFF"
@ -9,7 +9,7 @@ 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"
depends="dbus hicolor-icon-theme qt5-quickcontrols2 qt5-svg glxinfo"
short_desc="User-friendly hardware control application"
maintainer="Lorem <notloremipsum@protonmail.com>"
license="GPL-3.0-or-later"
@ -19,6 +19,5 @@ checksum=6b8817ce1bb09257148e6d3f6196546724a8ea185fedfff70f302621ce36cc12
if [ "$XBPS_TARGET_NO_ATOMIC8" ]; then
makedepends+=" libatomic-devel"
LDFLAGS+=" -latomic"
configure_args+=" -DCMAKE_CXX_STANDARD_LIBRARIES=-latomic"
LIBS="-latomic"
fi