whipper: Configure FLAC compression level
This commit is contained in:
parent
78bacbd0b5
commit
cdc1dbadab
2 changed files with 8 additions and 1 deletions
|
@ -92,7 +92,7 @@ in
|
|||
version = "≥1.88"; # Required by volkerdobler.insertnums
|
||||
gappsWrapperArgs = "--unset NIXOS_OZONE_WL"; # Workaround for mangled keybindings
|
||||
};
|
||||
whipper.patch = [ ../packages/resources/whipper_speed.patch ../packages/resources/whipper_detect-tty.patch ];
|
||||
whipper.patch = [ ../packages/resources/whipper_flac-level.patch ../packages/resources/whipper_speed.patch ../packages/resources/whipper_detect-tty.patch ];
|
||||
yaru-theme.patch = ../packages/resources/yaru-theme_font.patch; # Set GNOME Shell font
|
||||
ydotool.patch = ../packages/resources/ydotool-halmakish.patch; # Pending ReimuNotMoe/ydotool#177
|
||||
zsh-abbr.condition = z: !z.meta.unfree;
|
||||
|
|
7
packages/resources/whipper_flac-level.patch
Normal file
7
packages/resources/whipper_flac-level.patch
Normal file
|
@ -0,0 +1,7 @@
|
|||
--- a/whipper/program/flac.py
|
||||
+++ b/whipper/program/flac.py
|
||||
@@ -16,3 +16,3 @@ def encode(infile, outfile):
|
||||
check_call(['flac', '--silent', '--verify', '-o', outfile,
|
||||
- '-f', infile])
|
||||
+ '-f', '--compression-level-5', infile])
|
||||
except CalledProcessError:
|
Loading…
Reference in a new issue