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:
parent
84913bfb57
commit
edad0630fd
1 changed files with 3 additions and 4 deletions
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'corectrl'
|
# Template file for 'corectrl'
|
||||||
pkgname=corectrl
|
pkgname=corectrl
|
||||||
version=1.2.3
|
version=1.2.3
|
||||||
revision=1
|
revision=2
|
||||||
wrksrc=${pkgname}-v${version}
|
wrksrc=${pkgname}-v${version}
|
||||||
build_style=cmake
|
build_style=cmake
|
||||||
configure_args="-DBUILD_TESTING=OFF"
|
configure_args="-DBUILD_TESTING=OFF"
|
||||||
|
@ -9,7 +9,7 @@ hostmakedepends="pkg-config extra-cmake-modules qt5-host-tools qt5-qmake
|
||||||
kcoreaddons kauth"
|
kcoreaddons kauth"
|
||||||
makedepends="botan-devel kauth-devel karchive-devel qt5-charts-devel
|
makedepends="botan-devel kauth-devel karchive-devel qt5-charts-devel
|
||||||
qt5-tools-devel libdrm-devel qt5-svg-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"
|
short_desc="User-friendly hardware control application"
|
||||||
maintainer="Lorem <notloremipsum@protonmail.com>"
|
maintainer="Lorem <notloremipsum@protonmail.com>"
|
||||||
license="GPL-3.0-or-later"
|
license="GPL-3.0-or-later"
|
||||||
|
@ -19,6 +19,5 @@ checksum=6b8817ce1bb09257148e6d3f6196546724a8ea185fedfff70f302621ce36cc12
|
||||||
|
|
||||||
if [ "$XBPS_TARGET_NO_ATOMIC8" ]; then
|
if [ "$XBPS_TARGET_NO_ATOMIC8" ]; then
|
||||||
makedepends+=" libatomic-devel"
|
makedepends+=" libatomic-devel"
|
||||||
LDFLAGS+=" -latomic"
|
LIBS="-latomic"
|
||||||
configure_args+=" -DCMAKE_CXX_STANDARD_LIBRARIES=-latomic"
|
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in a new issue