yabridge, yabridgectl: 5.0.3 → 5.0.4

+27 -35
+17 -25
pkgs/tools/audio/yabridge/default.nix
··· 3 , fetchFromGitHub 4 , substituteAll 5 , pkgsi686Linux 6 - , fetchpatch 7 , dbus 8 , meson 9 , ninja ··· 18 asio = fetchFromGitHub { 19 owner = "chriskohlhoff"; 20 repo = "asio"; 21 - rev = "asio-1-22-1"; 22 sha256 = "sha256-UDLhx2yI6Txg0wP5H4oNIhgKIB2eMxUGCyT2x/7GgVg="; 23 }; 24 ··· 26 bitsery = fetchFromGitHub { 27 owner = "fraillt"; 28 repo = "bitsery"; 29 - rev = "v5.2.2"; 30 sha256 = "sha256-VwzVtxt+E/SVcxqIJw8BKPO2q7bu/hkhY+nB7FHrZpY="; 31 }; 32 ··· 34 clap = fetchFromGitHub { 35 owner = "free-audio"; 36 repo = "clap"; 37 - rev = "1.1.4"; 38 - sha256 = "sha256-3zDvzC3Hs4OmT2qvaDa69rmBkHoQ8qY9TZlsPxsJA40="; 39 }; 40 41 # Derived from subprojects/function2.wrap 42 function2 = fetchFromGitHub { 43 owner = "Naios"; 44 repo = "function2"; 45 - rev = "4.2.0"; 46 sha256 = "sha256-wrt+fCcM6YD4ZRZYvqqB+fNakCNmltdPZKlNkPLtgMs="; 47 }; 48 ··· 50 ghc_filesystem = fetchFromGitHub { 51 owner = "gulrak"; 52 repo = "filesystem"; 53 - rev = "v1.5.12"; 54 sha256 = "sha256-j4RE5Ach7C7Kef4+H9AHSXa2L8OVyJljDwBduKcC4eE="; 55 }; 56 ··· 58 tomlplusplus = fetchFromGitHub { 59 owner = "marzer"; 60 repo = "tomlplusplus"; 61 - rev = "v3.0.1"; 62 - sha256 = "sha256-l8ckbCqjz3GUfwStcl3H2C+un5dZfT2uLtayvdu93D4="; 63 }; 64 65 # Derived from vst3.wrap 66 vst3 = fetchFromGitHub { 67 owner = "robbert-vdh"; 68 repo = "vst3sdk"; 69 - rev = "v3.7.7_build_19-patched"; 70 fetchSubmodules = true; 71 sha256 = "sha256-LsPHPoAL21XOKmF1Wl/tvLJGzjaCLjaDAcUtDvXdXSU="; 72 }; 73 - in multiStdenv.mkDerivation rec { 74 pname = "yabridge"; 75 - version = "5.0.3"; 76 77 # NOTE: Also update yabridgectl's cargoHash when this is updated 78 src = fetchFromGitHub { 79 owner = "robbert-vdh"; 80 - repo = pname; 81 - rev = version; 82 - sha256 = "sha256-T3BU77BbVr6vlVoijUQy86eF0lCgM4S4d5VSnLE4pas="; 83 }; 84 85 # Unpack subproject sources ··· 104 105 # Patch the chainloader to search for libyabridge through NIX_PROFILES 106 ./libyabridge-from-nix-profiles.patch 107 - 108 - # Remove with next yabridge update 109 - (fetchpatch { 110 - name = "fix-for-wine-8.0.patch"; 111 - url = "https://github.com/robbert-vdh/yabridge/commit/29acd40a9add635e2cb40ecc54c88d65604a7a2a.patch"; 112 - sha256 = "sha256-hVxa/FqH7d938Z/VjHdhmYLCLPZoa9C4xKSKRKiVPSU="; 113 - includes = [ "meson.build" ]; 114 - }) 115 ]; 116 117 postPatch = '' ··· 166 167 meta = with lib; { 168 description = "A modern and transparent way to use Windows VST2 and VST3 plugins on Linux"; 169 - homepage = src.meta.homepage; 170 license = licenses.gpl3Plus; 171 maintainers = with maintainers; [ kira-bruneau ]; 172 platforms = [ "x86_64-linux" ]; 173 }; 174 - }
··· 3 , fetchFromGitHub 4 , substituteAll 5 , pkgsi686Linux 6 , dbus 7 , meson 8 , ninja ··· 17 asio = fetchFromGitHub { 18 owner = "chriskohlhoff"; 19 repo = "asio"; 20 + rev = "refs/tags/asio-1-22-1"; 21 sha256 = "sha256-UDLhx2yI6Txg0wP5H4oNIhgKIB2eMxUGCyT2x/7GgVg="; 22 }; 23 ··· 25 bitsery = fetchFromGitHub { 26 owner = "fraillt"; 27 repo = "bitsery"; 28 + rev = "refs/tags/v5.2.2"; 29 sha256 = "sha256-VwzVtxt+E/SVcxqIJw8BKPO2q7bu/hkhY+nB7FHrZpY="; 30 }; 31 ··· 33 clap = fetchFromGitHub { 34 owner = "free-audio"; 35 repo = "clap"; 36 + rev = "refs/tags/1.1.7"; 37 + sha256 = "sha256-WcMTxE+QCzlp4lhFdghZI8UI/5mdVeRvrl24Xynd0qk="; 38 }; 39 40 # Derived from subprojects/function2.wrap 41 function2 = fetchFromGitHub { 42 owner = "Naios"; 43 repo = "function2"; 44 + rev = "refs/tags/4.2.0"; 45 sha256 = "sha256-wrt+fCcM6YD4ZRZYvqqB+fNakCNmltdPZKlNkPLtgMs="; 46 }; 47 ··· 49 ghc_filesystem = fetchFromGitHub { 50 owner = "gulrak"; 51 repo = "filesystem"; 52 + rev = "refs/tags/v1.5.12"; 53 sha256 = "sha256-j4RE5Ach7C7Kef4+H9AHSXa2L8OVyJljDwBduKcC4eE="; 54 }; 55 ··· 57 tomlplusplus = fetchFromGitHub { 58 owner = "marzer"; 59 repo = "tomlplusplus"; 60 + rev = "refs/tags/v3.3.0"; 61 + sha256 = "sha256-INX8TOEumz4B5coSxhiV7opc3rYJuQXT2k1BJ3Aje1M="; 62 }; 63 64 # Derived from vst3.wrap 65 vst3 = fetchFromGitHub { 66 owner = "robbert-vdh"; 67 repo = "vst3sdk"; 68 + rev = "refs/tags/v3.7.7_build_19-patched"; 69 fetchSubmodules = true; 70 sha256 = "sha256-LsPHPoAL21XOKmF1Wl/tvLJGzjaCLjaDAcUtDvXdXSU="; 71 }; 72 + in 73 + multiStdenv.mkDerivation (finalAttrs: { 74 pname = "yabridge"; 75 + version = "5.0.4"; 76 77 # NOTE: Also update yabridgectl's cargoHash when this is updated 78 src = fetchFromGitHub { 79 owner = "robbert-vdh"; 80 + repo = "yabridge"; 81 + rev = "refs/tags/${finalAttrs.version}"; 82 + sha256 = "sha256-15WTCXMvghoU5TkE8yuQJrxj9cwVjczDKGKWjoUS6SI="; 83 }; 84 85 # Unpack subproject sources ··· 104 105 # Patch the chainloader to search for libyabridge through NIX_PROFILES 106 ./libyabridge-from-nix-profiles.patch 107 ]; 108 109 postPatch = '' ··· 158 159 meta = with lib; { 160 description = "A modern and transparent way to use Windows VST2 and VST3 plugins on Linux"; 161 + homepage = "https://github.com/robbert-vdh/yabridge"; 162 license = licenses.gpl3Plus; 163 maintainers = with maintainers; [ kira-bruneau ]; 164 platforms = [ "x86_64-linux" ]; 165 }; 166 + })
+3 -3
pkgs/tools/audio/yabridge/hardcode-dependencies.patch
··· 1 diff --git a/meson.build b/meson.build 2 - index bfab6361..9085db0f 100644 3 --- a/meson.build 4 +++ b/meson.build 5 - @@ -187,7 +187,7 @@ if is_64bit_system 6 xcb_64bit_dep = dependency('xcb') 7 endif 8 if with_32bit_libraries or with_bitbridge ··· 12 13 # These are all headers-only libraries, and thus won't require separate 32-bit 14 diff --git a/src/plugin/utils.cpp b/src/plugin/utils.cpp 15 - index acd431bc..8566281c 100644 16 --- a/src/plugin/utils.cpp 17 +++ b/src/plugin/utils.cpp 18 @@ -93,7 +93,7 @@ std::string PluginInfo::wine_version() const {
··· 1 diff --git a/meson.build b/meson.build 2 + index f76f5acf..045e9d40 100644 3 --- a/meson.build 4 +++ b/meson.build 5 + @@ -221,7 +221,7 @@ if is_64bit_system 6 xcb_64bit_dep = dependency('xcb') 7 endif 8 if with_32bit_libraries or with_bitbridge ··· 12 13 # These are all headers-only libraries, and thus won't require separate 32-bit 14 diff --git a/src/plugin/utils.cpp b/src/plugin/utils.cpp 15 + index 8d6236ad..ea5c1396 100644 16 --- a/src/plugin/utils.cpp 17 +++ b/src/plugin/utils.cpp 18 @@ -93,7 +93,7 @@ std::string PluginInfo::wine_version() const {
+1 -1
pkgs/tools/audio/yabridge/libyabridge-from-nix-profiles.patch
··· 1 diff --git a/src/chainloader/utils.cpp b/src/chainloader/utils.cpp 2 - index ccd65d33..c7136b37 100644 3 --- a/src/chainloader/utils.cpp 4 +++ b/src/chainloader/utils.cpp 5 @@ -29,8 +29,10 @@
··· 1 diff --git a/src/chainloader/utils.cpp b/src/chainloader/utils.cpp 2 + index c43e5693..b8352adf 100644 3 --- a/src/chainloader/utils.cpp 4 +++ b/src/chainloader/utils.cpp 5 @@ -29,8 +29,10 @@
+2 -2
pkgs/tools/audio/yabridgectl/chainloader-from-nix-profiles.patch
··· 1 diff --git a/tools/yabridgectl/src/config.rs b/tools/yabridgectl/src/config.rs 2 - index 76075938..4f69642f 100644 3 --- a/tools/yabridgectl/src/config.rs 4 +++ b/tools/yabridgectl/src/config.rs 5 @@ -22,6 +22,7 @@ use serde_derive::{Deserialize, Serialize}; ··· 58 )); 59 } 60 diff --git a/tools/yabridgectl/src/main.rs b/tools/yabridgectl/src/main.rs 61 - index e5618575..72b730f1 100644 62 --- a/tools/yabridgectl/src/main.rs 63 +++ b/tools/yabridgectl/src/main.rs 64 @@ -135,7 +135,7 @@ fn main() -> Result<()> {
··· 1 diff --git a/tools/yabridgectl/src/config.rs b/tools/yabridgectl/src/config.rs 2 + index 53200bd5..ef8a781d 100644 3 --- a/tools/yabridgectl/src/config.rs 4 +++ b/tools/yabridgectl/src/config.rs 5 @@ -22,6 +22,7 @@ use serde_derive::{Deserialize, Serialize}; ··· 58 )); 59 } 60 diff --git a/tools/yabridgectl/src/main.rs b/tools/yabridgectl/src/main.rs 61 + index 8dcd7dc8..bddca534 100644 62 --- a/tools/yabridgectl/src/main.rs 63 +++ b/tools/yabridgectl/src/main.rs 64 @@ -135,7 +135,7 @@ fn main() -> Result<()> {
+3 -3
pkgs/tools/audio/yabridgectl/default.nix
··· 5 , wine 6 }: 7 8 - rustPlatform.buildRustPackage rec { 9 pname = "yabridgectl"; 10 version = yabridge.version; 11 12 src = yabridge.src; 13 sourceRoot = "source/tools/yabridgectl"; 14 - cargoSha256 = "sha256-X7YcIjKLzuts7d9VD6hLFCiEBrY4opi8nInjPs9jAh0="; 15 16 patches = [ 17 # Patch yabridgectl to search for the chainloader through NIX_PROFILES ··· 34 35 meta = with lib; { 36 description = "A small, optional utility to help set up and update yabridge for several directories at once"; 37 - homepage = "${src.meta.homepage}/tree/${version}/tools/yabridgectl"; 38 license = licenses.gpl3Plus; 39 maintainers = with maintainers; [ kira-bruneau ]; 40 platforms = yabridge.meta.platforms;
··· 5 , wine 6 }: 7 8 + rustPlatform.buildRustPackage { 9 pname = "yabridgectl"; 10 version = yabridge.version; 11 12 src = yabridge.src; 13 sourceRoot = "source/tools/yabridgectl"; 14 + cargoSha256 = "sha256-qr6obmabcO3n+DxMxkj3mbpzR/Wn6eOg2J99/FarMVs="; 15 16 patches = [ 17 # Patch yabridgectl to search for the chainloader through NIX_PROFILES ··· 34 35 meta = with lib; { 36 description = "A small, optional utility to help set up and update yabridge for several directories at once"; 37 + homepage = "${yabridge.src.meta.homepage}/tree/${yabridge.version}/tools/yabridgectl"; 38 license = licenses.gpl3Plus; 39 maintainers = with maintainers; [ kira-bruneau ]; 40 platforms = yabridge.meta.platforms;
+1 -1
pkgs/tools/audio/yabridgectl/remove-dependency-verification.patch
··· 1 diff --git a/tools/yabridgectl/src/actions.rs b/tools/yabridgectl/src/actions.rs 2 - index 03617c4d..19ade93e 100644 3 --- a/tools/yabridgectl/src/actions.rs 4 +++ b/tools/yabridgectl/src/actions.rs 5 @@ -835,14 +835,6 @@ pub fn do_sync(config: &mut Config, options: &SyncOptions) -> Result<()> {
··· 1 diff --git a/tools/yabridgectl/src/actions.rs b/tools/yabridgectl/src/actions.rs 2 + index 25857753..59590e38 100644 3 --- a/tools/yabridgectl/src/actions.rs 4 +++ b/tools/yabridgectl/src/actions.rs 5 @@ -835,14 +835,6 @@ pub fn do_sync(config: &mut Config, options: &SyncOptions) -> Result<()> {