yabridge, yabridgectl: 5.0.3 → 5.0.4

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