python3Packages.orjson: Disable failing tests on 32 bit
[NixPkgs.git] / pkgs / tools / audio / yabridge / hardcode-dependencies.patch
blobe54ba1e9386d89eca5e9a8e5ea004b4d60016e5c
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
9 - xcb_32bit_dep = winegcc.find_library('xcb')
10 + xcb_32bit_dep = winegcc.find_library('xcb', dirs: ['@libxcb32@/lib'])
11 endif
13 # These are all headers-only libraries, and thus won't require separate 32-bit
14 diff --git a/src/common/notifications.cpp b/src/common/notifications.cpp
15 index da27a1bf..18482e06 100644
16 --- a/src/common/notifications.cpp
17 +++ b/src/common/notifications.cpp
18 @@ -49,7 +49,7 @@ bool send_notification(const std::string& title,
22 - Process process("notify-send");
23 + Process process("@libnotify@/bin/notify-send");
24 process.arg("--urgency=normal");
25 process.arg("--app-name=yabridge");
26 process.arg(title);
27 diff --git a/src/plugin/utils.cpp b/src/plugin/utils.cpp
28 index acd431bc..8566281c 100644
29 --- a/src/plugin/utils.cpp
30 +++ b/src/plugin/utils.cpp
31 @@ -93,7 +93,7 @@ std::string PluginInfo::wine_version() const {
32 // The '*.exe' scripts generated by winegcc allow you to override the binary
33 // used to run Wine, so will will handle this in the same way for our Wine
34 // version detection. We'll be using `execvpe`
35 - std::string wine_path = "wine";
36 + std::string wine_path = "@wine@/bin/wine";
37 // NOLINTNEXTLINE(concurrency-mt-unsafe)
38 if (const char* wineloader_path = getenv("WINELOADER");
39 wineloader_path && access(wineloader_path, X_OK) == 0) {