python3Packages.orjson: Disable failing tests on 32 bit
[NixPkgs.git] / pkgs / tools / video / replay-sorcery / hardcode-libnotify.patch
blob8ff42bec92fa78012c68af1c4b3e04f005acd3a8
1 diff --git a/src/config.c b/src/config.c
2 index 3af7455..12cb6b5 100644
3 --- a/src/config.c
4 +++ b/src/config.c
5 @@ -129,7 +129,7 @@ static const AVOption configOptions[] = {
6 CONFIG_CONST(alt, RS_CONFIG_KEYMOD_ALT, keyMods),
7 CONFIG_CONST(super, RS_CONFIG_KEYMOD_SUPER, keyMods),
8 CONFIG_STRING(outputFile, "~/Videos/ReplaySorcery_%F_%H-%M-%S.mp4"),
9 - CONFIG_STRING(outputCommand, "notify-send " RS_NAME " \"Saved replay as %s\""),
10 + CONFIG_STRING(outputCommand, "@libnotify@/bin/notify-send " RS_NAME " \"Saved replay as %s\""),
11 {NULL}};
13 static const AVClass configClass = {
14 diff --git a/sys/replay-sorcery.conf b/sys/replay-sorcery.conf
15 index 5cd0aa6..c600e7f 100644
16 --- a/sys/replay-sorcery.conf
17 +++ b/sys/replay-sorcery.conf
18 @@ -123,5 +123,5 @@ outputFile = ~/Videos/ReplaySorcery_%F_%H-%M-%S.mp4
20 # A command to run when a video is successfully saved
21 # Possible values: a printf formatted command
22 -# Default value: notify-send ReplaySorcery "Saved replay as %s"
23 -outputCommand = notify-send ReplaySorcery "Saved replay as %s"
24 +# Default value: @libnotify@/bin/notify-send ReplaySorcery "Saved replay as %s"
25 +outputCommand = @libnotify@/bin/notify-send ReplaySorcery "Saved replay as %s"