Switch from hard-coded version URIs to package version variable.

This commit is contained in:
inference 2023-07-05 16:00:45 +01:00
parent 08c948392e
commit bd9c123431
Signed by: inference
SSH Key Fingerprint: SHA256:9Pl0nZ2UJacgm+IeEtLSZ4FOESgP1eKCtRflfPfdX9M

View File

@ -231,7 +231,7 @@ inherit cargo
DESCRIPTION="Tool to display AMDGPU usage.
The tool displays information gathered from performance counters (GRBM, GRBM2), sensors, fdinfo, gpu_metrics and AMDGPU driver."
HOMEPAGE="https://github.com/Umio-Yasuno/amdgpu_top"
SRC_URI="https://github.com/Umio-Yasuno/amdgpu_top/archive/refs/tags/v0.1.9.tar.gz $(cargo_crate_uris)"
SRC_URI="https://github.com/Umio-Yasuno/amdgpu_top/archive/refs/tags/v${PV}.tar.gz $(cargo_crate_uris)"
LICENSE="0BSD Apache-2.0 Apache-2.0-with-LLVM-exceptions BSD BSD-2 Boost-1.0 ISC LicenseRef-UFL-1.0 MIT OFL-1.1 Unicode-DFS-2016 Unlicense ZLIB"
SLOT="0"