uboot: (firmwareOdroidC2/C4) don't invoke patch tool, use patches = [] instead
https://github.com/NixOS/nixpkgs/blob/master/pkgs/stdenv/generic/setup.sh#L948 this can do it nicely. Signed-off-by: Anton Arapov <anton@deadbeef.mx>
This commit is contained in:
commit
56de2bcd43
30691 changed files with 3076956 additions and 0 deletions
25
pkgs/tools/video/replay-sorcery/hardcode-libnotify.patch
Normal file
25
pkgs/tools/video/replay-sorcery/hardcode-libnotify.patch
Normal file
|
|
@ -0,0 +1,25 @@
|
|||
diff --git a/src/config.c b/src/config.c
|
||||
index 3af7455..12cb6b5 100644
|
||||
--- a/src/config.c
|
||||
+++ b/src/config.c
|
||||
@@ -129,7 +129,7 @@ static const AVOption configOptions[] = {
|
||||
CONFIG_CONST(alt, RS_CONFIG_KEYMOD_ALT, keyMods),
|
||||
CONFIG_CONST(super, RS_CONFIG_KEYMOD_SUPER, keyMods),
|
||||
CONFIG_STRING(outputFile, "~/Videos/ReplaySorcery_%F_%H-%M-%S.mp4"),
|
||||
- CONFIG_STRING(outputCommand, "notify-send " RS_NAME " \"Saved replay as %s\""),
|
||||
+ CONFIG_STRING(outputCommand, "@libnotify@/bin/notify-send " RS_NAME " \"Saved replay as %s\""),
|
||||
{NULL}};
|
||||
|
||||
static const AVClass configClass = {
|
||||
diff --git a/sys/replay-sorcery.conf b/sys/replay-sorcery.conf
|
||||
index 5cd0aa6..c600e7f 100644
|
||||
--- a/sys/replay-sorcery.conf
|
||||
+++ b/sys/replay-sorcery.conf
|
||||
@@ -123,5 +123,5 @@ outputFile = ~/Videos/ReplaySorcery_%F_%H-%M-%S.mp4
|
||||
|
||||
# A command to run when a video is successfully saved
|
||||
# Possible values: a printf formatted command
|
||||
-# Default value: notify-send ReplaySorcery "Saved replay as %s"
|
||||
-outputCommand = notify-send ReplaySorcery "Saved replay as %s"
|
||||
+# Default value: @libnotify@/bin/notify-send ReplaySorcery "Saved replay as %s"
|
||||
+outputCommand = @libnotify@/bin/notify-send ReplaySorcery "Saved replay as %s"
|
||||
Loading…
Add table
Add a link
Reference in a new issue