mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-05 06:33:50 +02:00
New package: LACT-0.7.0
This commit is contained in:
parent
87be1f5ed9
commit
41768401e7
2 changed files with 36 additions and 0 deletions
3
srcpkgs/LACT/files/lact/run
Executable file
3
srcpkgs/LACT/files/lact/run
Executable file
|
@ -0,0 +1,3 @@
|
||||||
|
#!/bin/sh
|
||||||
|
exec 2>&1
|
||||||
|
exec chpst -n -10 lact daemon
|
33
srcpkgs/LACT/template
Normal file
33
srcpkgs/LACT/template
Normal file
|
@ -0,0 +1,33 @@
|
||||||
|
# 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 <danielmartinez@cock.li>"
|
||||||
|
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
|
||||||
|
}
|
Loading…
Add table
Reference in a new issue