Merge pull request #99199 from AluisioASG/aasg/r128gain-1.0.3
r128gain: 1.0.1 -> 1.0.3
This commit is contained in:
commit
1f87da9754
@ -1,6 +1,8 @@
|
||||
{ lib
|
||||
, fetchFromGitHub
|
||||
, genericUpdater
|
||||
, substituteAll
|
||||
, common-updater-scripts
|
||||
, ffmpeg_3
|
||||
, python3Packages
|
||||
, sox
|
||||
@ -8,13 +10,13 @@
|
||||
|
||||
python3Packages.buildPythonApplication rec {
|
||||
pname = "r128gain";
|
||||
version = "1.0.1";
|
||||
version = "1.0.3";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "desbma";
|
||||
repo = "r128gain";
|
||||
rev = version;
|
||||
sha256 = "0fnxis2g7mw8mb0cz9bws909lrndli7ml54nnzda49vc2fhbjwxr";
|
||||
sha256 = "0w2i2szajv1vcmc96w0fczdr8xc28ijcf1gdg180f21gi6yh96sc";
|
||||
};
|
||||
|
||||
patches = [
|
||||
@ -33,6 +35,13 @@ python3Packages.buildPythonApplication rec {
|
||||
# sandbox to be disabled.
|
||||
doCheck = false;
|
||||
|
||||
passthru = {
|
||||
updateScript = genericUpdater {
|
||||
inherit pname version;
|
||||
versionLister = "${common-updater-scripts}/bin/list-git-tags ${src.meta.homepage}";
|
||||
};
|
||||
};
|
||||
|
||||
meta = with lib; {
|
||||
description = "Fast audio loudness scanner & tagger (ReplayGain v2 / R128)";
|
||||
homepage = "https://github.com/desbma/r128gain";
|
||||
|
@ -1,5 +1,3 @@
|
||||
diff --git i/r128gain/__init__.py w/r128gain/__init__.py
|
||||
index 53fc3ef..f144e15 100755
|
||||
--- i/r128gain/__init__.py
|
||||
+++ w/r128gain/__init__.py
|
||||
@@ -78,7 +78,7 @@ def get_ffmpeg_lib_versions(ffmpeg_path=None):
|
||||
@ -14,7 +12,7 @@ index 53fc3ef..f144e15 100755
|
||||
@@ -156,7 +156,7 @@ def get_r128_loudness(audio_filepaths, *, calc_peak=True, enable_ffmpeg_threadin
|
||||
os.devnull,
|
||||
**additional_ffmpeg_args,
|
||||
f="null"),
|
||||
f="null").global_args("-hide_banner", "-nostats"),
|
||||
- cmd=ffmpeg_path or "ffmpeg")
|
||||
+ cmd=ffmpeg_path or "@ffmpeg@/bin/ffmpeg")
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user