Files
LACT/pkg/recipes/lact-headless/recipe.yml
Ilya Zlobintsev d99cfdf3f3 feat: include git commit in version info (#249)
* feat: report git commit in version info, check commit for mismatches

* feat: use vergen to get commit info

* fix: install git in recipes

* fix: include git dir in pkger builds
2024-03-02 13:07:23 +02:00

39 lines
1.1 KiB
YAML

metadata:
name: lact-headless
description: AMDGPU control utility
arch: x86_64
license: MIT
version: 0.5.3
maintainer: ilya-zlobintsev
url: https://github.com/ilya-zlobintsev/lact
source:
- '../../../../LACT'
provides: [ lact ]
conflicts: [ lact, lact-libadwaita ]
depends:
all: [ hwdata ]
debian-12+ubuntu-2204: [ libdrm-amdgpu1 ]
fedora-38+fedora-39: [ libdrm ]
arch: [ libdrm ]
opensuse-tumbleweed: [ libdrm ]
build_depends:
all: [ curl, make, clang, git ]
debian-12+ubuntu-2204: [ pkg-config, build-essential, libdrm-dev, dbus ]
fedora-38+fedora-39: [ gcc, libdrm-devel, dbus ]
arch: [ libdrm, dbus ]
opensuse-tumbleweed: [ libdrm-devel ]
all_images: true
env:
RUSTUP_URL: https://sh.rustup.rs
configure:
steps:
- cmd: curl -o /tmp/install_rust.sh $RUSTUP_URL
- cmd: sh /tmp/install_rust.sh -y --default-toolchain stable
build:
steps:
- cmd: bash -c "source $HOME/.cargo/env && cd LACT && make build-release-headless"
install:
steps:
- cmd: bash -c "cd $PKGER_BLD_DIR/LACT && DESTDIR=$PKGER_OUT_DIR PREFIX=/usr make install"