mp3gain: Add recipe (#2123)

This commit is contained in:
tts2k
2018-01-16 18:34:38 +07:00
committed by fbrosson
parent 19b02a4f35
commit d69bab7f5d

View File

@@ -0,0 +1,53 @@
SUMMARY="Lossless mp3 normalizer with statistical analysis"
DESCRIPTION="MP3Gain analyzes and adjusts mp3 files so that they have the same \
volume. MP3Gain does not just do peak normalization, as many normalizers do. \
Instead, it does some statistical analysis (using the replaygain algorithm) to \
determine how loud the file actually sounds to the human ear.
MP3Gain can adjust the volume in a completely lossless way by modifying the \
mp3 file directly, without decoding and re-encoding. This works with all mp3 \
players, i.e. no support for a special tag is required."
HOMEPAGE="http://mp3gain.sourceforge.net/"
COPYRIGHT="1995-1997 Michael Hipp
1999 Mark Taylor
1999 Takehiro TOMINAGA
1999-2000 Albert L. Faber
2000 Don Melton
2001-2009 David Robinson and Glen Sawyer
2002 John Zitterkopf
2004-2009 David Lasker, Altos Design, Inc."
LICENSE="GNU GPL v2
GNU LGPL v2.1"
REVISION="1"
SOURCE_URI="https://downloads.sourceforge.net/mp3gain/mp3gain-${portVersion//./_}-src.zip"
CHECKSUM_SHA256="dbadc7a41a8a3b87d3a21a1989701cfe72d2090c3ead02b0b396a19a8acf6fca"
SOURCE_FILENAME="mp3gain-${portVersion//./_}-src.zip"
SOURCE_DIR=""
ARCHITECTURES="x86_gcc2 x86_64"
PROVIDES="
mp3gain = $portVersion
cmd:mp3gain = $portVersion
"
REQUIRES="
haiku
"
BUILD_REQUIRES="
haiku_devel
"
BUILD_PREREQUIRES="
cmd:gcc
cmd:make
"
BUILD()
{
make OSTYPE=beos
}
INSTALL()
{
install -d $binDir
install -t $binDir --strip mp3gain
}