openbsd-ports/audio/normalize/patches/patch-src_normalize-mp3_in
kili 87ae9779c9 Update to normalize-0.7.7.
From new maintainer Vlad Glagolev (stelzy at gmail dot com).
The sparc64 workaround is no longer required (noticed by Stuart
Henderson, confirmed by sturm@).
2007-07-15 19:37:04 +00:00

22 lines
784 B
Plaintext

--- src/normalize-mp3.in.orig Mon Sep 12 09:31:15 2005
+++ src/normalize-mp3.in Sat Jul 7 22:44:02 2007
@@ -26,12 +26,12 @@
# %b becomes bitrate of re-encoded file, as specified by the -b option
# Example: $OGGENCODE="oggenc -Q -b %b -o %m %w"
-$MP3DECODE = "@MP3DECODE@";
-$MP3ENCODE = "@MP3ENCODE@";
-$OGGDECODE = "@OGGDECODE@";
-$OGGENCODE = "@OGGENCODE@";
-$FLACDECODE = "@FLACDECODE@";
-$FLACENCODE = "@FLACENCODE@";
+$MP3DECODE = "mpg321 -q -w %w %m";
+$MP3ENCODE = "lame --quiet -h -b %b %w %m";
+$OGGDECODE = "ogg123 -q -d wav -f %w %m";
+$OGGENCODE = "oggenc -Q -b %b -o %m %w";
+$FLACDECODE = "flac -d -o %w";
+$FLACENCODE = "flac -o %m %w";
# The %w etc. substitutions should *not* be used in the following, as
# this script knows about their options already.