Merge pull request #249346 from r-ryantm/auto-update/jamesdsp
jamesdsp: 2.6.0 -> 2.6.1
This commit is contained in:
commit
7b66d3b9cb
1 changed files with 24 additions and 23 deletions
|
@ -1,34 +1,34 @@
|
||||||
{ stdenv
|
{ copyDesktopItems
|
||||||
, lib
|
|
||||||
, fetchFromGitHub
|
, fetchFromGitHub
|
||||||
, pipewire
|
|
||||||
, pulseaudio
|
|
||||||
, gst_all_1
|
|
||||||
, glibmm
|
, glibmm
|
||||||
|
, gst_all_1
|
||||||
|
, lib
|
||||||
|
, libarchive
|
||||||
|
, makeDesktopItem
|
||||||
|
, pipewire
|
||||||
|
, pkg-config
|
||||||
|
, pulseaudio
|
||||||
, qmake
|
, qmake
|
||||||
, qtbase
|
, qtbase
|
||||||
, qtsvg
|
, qtsvg
|
||||||
, wrapQtAppsHook
|
, stdenv
|
||||||
, makeDesktopItem
|
|
||||||
, pkg-config
|
|
||||||
, libarchive
|
|
||||||
, copyDesktopItems
|
|
||||||
, usePipewire ? true
|
, usePipewire ? true
|
||||||
, usePulseaudio ? false
|
, usePulseaudio ? false
|
||||||
|
, wrapQtAppsHook
|
||||||
}:
|
}:
|
||||||
|
|
||||||
assert lib.asserts.assertMsg (usePipewire != usePulseaudio) "You need to enable one and only one of pulseaudio or pipewire support";
|
assert lib.asserts.assertMsg (usePipewire != usePulseaudio) "You need to enable one and only one of pulseaudio or pipewire support";
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation (finalAttrs: {
|
||||||
pname = "jamesdsp";
|
pname = "jamesdsp";
|
||||||
version = "2.6.0";
|
version = "2.6.1";
|
||||||
|
|
||||||
src = fetchFromGitHub rec {
|
src = fetchFromGitHub {
|
||||||
owner = "Audio4Linux";
|
owner = "Audio4Linux";
|
||||||
repo = "JDSP4Linux";
|
repo = "JDSP4Linux";
|
||||||
fetchSubmodules = true;
|
fetchSubmodules = true;
|
||||||
rev = version;
|
rev = finalAttrs.version;
|
||||||
hash = "sha256-pogBpmGlqQnkXMdp5HbMYISjwMJalSPvEV9MDHj8aec=";
|
hash = "sha256-XYJl94/PstWG5qaBQ2rXc/nG9bDeP3Q62zDYHmZvPaw=";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
|
@ -43,15 +43,16 @@ stdenv.mkDerivation rec {
|
||||||
libarchive
|
libarchive
|
||||||
qtbase
|
qtbase
|
||||||
qtsvg
|
qtsvg
|
||||||
] ++ lib.optional usePipewire pipewire
|
] ++ lib.optionals usePipewire [
|
||||||
++ lib.optionals usePulseaudio [
|
pipewire
|
||||||
|
] ++ lib.optionals usePulseaudio [
|
||||||
pulseaudio
|
pulseaudio
|
||||||
gst_all_1.gst-plugins-base
|
gst_all_1.gst-plugins-base
|
||||||
gst_all_1.gst-plugins-good
|
gst_all_1.gst-plugins-good
|
||||||
gst_all_1.gstreamer
|
gst_all_1.gstreamer
|
||||||
];
|
];
|
||||||
|
|
||||||
preFixup = lib.optionals usePulseaudio ''
|
preFixup = lib.optionalString usePulseaudio ''
|
||||||
qtWrapperArgs+=(--prefix GST_PLUGIN_SYSTEM_PATH_1_0 : "$GST_PLUGIN_SYSTEM_PATH_1_0")
|
qtWrapperArgs+=(--prefix GST_PLUGIN_SYSTEM_PATH_1_0 : "$GST_PLUGIN_SYSTEM_PATH_1_0")
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
@ -76,12 +77,12 @@ stdenv.mkDerivation rec {
|
||||||
install -D resources/icons/icon.svg $out/share/icons/hicolor/scalable/apps/jamesdsp.svg
|
install -D resources/icons/icon.svg $out/share/icons/hicolor/scalable/apps/jamesdsp.svg
|
||||||
'';
|
'';
|
||||||
|
|
||||||
meta = with lib;{
|
meta = {
|
||||||
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";
|
||||||
homepage = "https://github.com/Audio4Linux/JDSP4Linux";
|
homepage = "https://github.com/Audio4Linux/JDSP4Linux";
|
||||||
license = licenses.gpl3Only;
|
license = lib.licenses.gpl3Only;
|
||||||
maintainers = with maintainers; [ pasqui23 rewine ];
|
maintainers = with lib.maintainers; [ pasqui23 rewine ];
|
||||||
platforms = platforms.linux;
|
platforms = lib.platforms.linux;
|
||||||
};
|
};
|
||||||
}
|
})
|
||||||
|
|
Loading…
Reference in a new issue