# Template file for 'LACT' pkgname=LACT version=0.7.0 revision=1 build_style=cargo make_check_args="-- --skip app::root_stack::thermals_page::fan_curve_frame::tests::set_get_curve" hostmakedepends="pkg-config blueprint-compiler gtk4-devel llvm19-devel" makedepends="gtk4-devel" short_desc="Linux AMDGPU Control Application" maintainer="Daniel Martinez " license="MIT" homepage="https://github.com/ilya-zlobintsev/LACT" distfiles="https://github.com/ilya-zlobintsev/LACT/archive/refs/tags/v${version}.tar.gz" checksum=7780b4b528b02baaebf6bd87106267037b0a2011817c9932f29b6ccfb6357d8d make_check=ci-skip # detects intel GPU in github CI pipeline if [ "$XBPS_TARGET_WORDSIZE" = 32 ]; then broken="libdrm_amdgpu_sys crate only supports 64bit" fi do_install() { vsv lact vbin target/$RUST_TARGET/release/lact vinstall res/lactd.service 644 usr/lib/systemd/system vinstall res/io.github.lact-linux.desktop 644 usr/share/applications vinstall res/io.github.lact-linux.png 644 usr/share/pixmaps vinstall res/io.github.lact-linux.svg 644 usr/share/icons/hicolor/scalable/apps vlicense LICENSE }