Merge pull request #194448 from wineee/jame
This commit is contained in:
commit
bb028d326c
1 changed files with 7 additions and 16 deletions
|
@ -13,7 +13,6 @@
|
||||||
, makeDesktopItem
|
, makeDesktopItem
|
||||||
, pkg-config
|
, pkg-config
|
||||||
, libarchive
|
, libarchive
|
||||||
, fetchpatch
|
|
||||||
, copyDesktopItems
|
, copyDesktopItems
|
||||||
, usePipewire ? true
|
, usePipewire ? true
|
||||||
, usePulseaudio ? false
|
, usePulseaudio ? false
|
||||||
|
@ -26,28 +25,15 @@ let
|
||||||
in
|
in
|
||||||
mkDerivation rec {
|
mkDerivation rec {
|
||||||
pname = "jamesdsp";
|
pname = "jamesdsp";
|
||||||
version = "2.3";
|
version = "2.4";
|
||||||
src = fetchFromGitHub rec {
|
src = fetchFromGitHub rec {
|
||||||
owner = "Audio4Linux";
|
owner = "Audio4Linux";
|
||||||
repo = "JDSP4Linux";
|
repo = "JDSP4Linux";
|
||||||
fetchSubmodules = true;
|
fetchSubmodules = true;
|
||||||
rev = version;
|
rev = version;
|
||||||
hash = "sha256-Hkzurr+s+vvSyOMCYH9kHI+nIm6mL9yORGNzY2FXslc=";
|
hash = "sha256-wD1JZQD8dR24cBN4QJCSrEsS4aoMD+MQmqnOIFKOeoE=";
|
||||||
};
|
};
|
||||||
|
|
||||||
patches = [
|
|
||||||
# fixing /usr install assumption, remove on version bump
|
|
||||||
(fetchpatch {
|
|
||||||
url = "https://github.com/Audio4Linux/JDSP4Linux/commit/003c9e9fc426f83e269aed6e05be3ed55273931a.patch";
|
|
||||||
hash = "sha256-crll/a7C9pUq9eL5diq8/YgC5bNC6SrdijZEBxZpJ8E=";
|
|
||||||
})
|
|
||||||
# compatibility fix for PipeWire 0.3.44+, remove on version bump
|
|
||||||
(fetchpatch {
|
|
||||||
url = "https://github.com/Audio4Linux/JDSP4Linux/commit/e04c55735cc20fc3c3ce042c5681ec80f7df3c96.patch";
|
|
||||||
hash = "sha256-o6AUtQzugykALSdkM3i3lYqRmzJX3FzmALSi0TrWuRA=";
|
|
||||||
})
|
|
||||||
];
|
|
||||||
|
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
qmake
|
qmake
|
||||||
pkg-config
|
pkg-config
|
||||||
|
@ -86,6 +72,11 @@ in
|
||||||
})
|
})
|
||||||
];
|
];
|
||||||
|
|
||||||
|
postInstall = ''
|
||||||
|
install -D resources/icons/icon.png $out/share/pixmaps/jamesdsp.png
|
||||||
|
install -D resources/icons/icon.svg $out/share/icons/hicolor/scalable/apps/jamesdsp.svg
|
||||||
|
'';
|
||||||
|
|
||||||
meta = with lib;{
|
meta = with lib;{
|
||||||
broken = (stdenv.isLinux && stdenv.isAarch64);
|
broken = (stdenv.isLinux && stdenv.isAarch64);
|
||||||
description = "An audio effect processor for PipeWire clients";
|
description = "An audio effect processor for PipeWire clients";
|
||||||
|
|
Loading…
Reference in a new issue