mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-06-05 21:03:40 +00:00
distrho-ports: 2021-03-15-unstable-2024-05-01 -> 2024-03-15-unstable-2025-08-15 (#527578)
This commit is contained in:
@@ -10,6 +10,7 @@
|
||||
libxcursor,
|
||||
libxext,
|
||||
libxrender,
|
||||
lv2,
|
||||
meson,
|
||||
ninja,
|
||||
pkg-config,
|
||||
@@ -31,13 +32,14 @@ let
|
||||
in
|
||||
stdenv.mkDerivation {
|
||||
pname = "distrho-ports";
|
||||
version = "2021-03-15-unstable-2024-05-01";
|
||||
version = "2021-03-15-unstable-2025-08-15";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "DISTRHO";
|
||||
repo = "DISTRHO-Ports";
|
||||
rev = "b3596e6a690eb0556e69e8b6d943fee2dfbb04fb";
|
||||
sha256 = "00fgqwayd20akww3n2imyqscmyrjyc9jj0ar13k9dhpaxqk2jxbf";
|
||||
rev = "d3b62da2e83c69b0866af5bb2e29ac78dc8014cf";
|
||||
sha256 = "sha256-wlppmRTdgA/9wWqFp75UyDLYJOqzg1aY+w97wTgJ8lk=";
|
||||
fetchSubmodules = true;
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
@@ -54,14 +56,20 @@ stdenv.mkDerivation {
|
||||
libxcursor
|
||||
libxext
|
||||
libxrender
|
||||
lv2
|
||||
];
|
||||
|
||||
env.NIX_CFLAGS_COMPILE = toString [ "-fpermissive" ];
|
||||
|
||||
postPatch = ''
|
||||
chmod +x scripts/*.sh
|
||||
patchShebangs scripts
|
||||
'';
|
||||
|
||||
postFixup =
|
||||
let
|
||||
files = [
|
||||
(lib.optionalString buildLV2 "$out/lib/lv2/vitalium.lv2/vitalium.so")
|
||||
(lib.optionalString buildLV2 "$out/lib/lv2/vitalium.lv2/vitalium-lv2.so")
|
||||
(lib.optionalString buildVST2 "$out/lib/vst/vitalium.so")
|
||||
(lib.optionalString buildVST3 "$out/lib/vst3/vitalium.vst3/Contents/x86_64-linux/vitalium.so")
|
||||
];
|
||||
|
||||
Reference in New Issue
Block a user