alsaequal: switch to live src

This commit is contained in:
jopejoe1 2024-10-17 21:29:59 +02:00
parent 0250de1b2e
commit 13bf9925ac
2 changed files with 9 additions and 7 deletions

View File

@ -1,4 +1,4 @@
{ lib, stdenv, fetchurl
{ lib, stdenv, fetchFromGitHub
, alsa-lib, caps
}:
@ -6,9 +6,11 @@ stdenv.mkDerivation rec {
pname = "alsaequal";
version = "0.6";
src = fetchurl {
url = "https://thedigitalmachine.net/tools/alsaequal-${version}.tar.bz2";
sha256 = "1w3g9q5z3nrn3mwdhaq6zsg0jila8d102dgwgrhj9vfx58apsvli";
src = fetchFromGitHub {
owner = "bassdr";
repo = "alsaequal";
rev = "refs/tags/v${version}";
hash = "sha256-cCo8qWQv4bQ+RvH43Xbj+Q4qC5DmvracBuzI96EAnhY=";
};
buildInputs = [ alsa-lib ];
@ -36,7 +38,7 @@ stdenv.mkDerivation rec {
meta = with lib; {
description = "Real-time adjustable equalizer plugin for ALSA";
homepage = "https://thedigitalmachine.net/alsaequal.html";
homepage = "https://github.com/bassdr/alsaequal";
license = licenses.gpl2Plus;
maintainers = with maintainers; [ ymeister ];
};

View File

@ -4,8 +4,8 @@
install: all
@echo Installing...
- $(Q)install -m 644 $(SND_PCM_BIN) ${DESTDIR}/usr/lib/alsa-lib/
- $(Q)install -m 644 $(SND_CTL_BIN) ${DESTDIR}/usr/lib/alsa-lib/
- $(Q)install -m 644 $(SND_PCM_BIN) /usr/lib/alsa-lib/
- $(Q)install -m 644 $(SND_CTL_BIN) /usr/lib/alsa-lib/
+ $(Q)install -m 755 $(SND_PCM_BIN) ${DESTDIR}/lib/alsa-lib/
+ $(Q)install -m 755 $(SND_CTL_BIN) ${DESTDIR}/lib/alsa-lib/