mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-08 21:00:05 +02:00
x86_64 is used as a baseline: the "x86_64" entry, whatever status it has, is transformed into "all", and then the other entries in ARCHITECTURES either dropped or rearranged appropriately.
56 lines
1.4 KiB
Bash
56 lines
1.4 KiB
Bash
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="5cc04732ef32850d5878b28fbd8b85798d979a025990654aceeaa379bcc9596d"
|
|
SOURCE_FILENAME="mp3gain-${portVersion//./_}-src.zip"
|
|
SOURCE_DIR=""
|
|
|
|
ARCHITECTURES="all"
|
|
|
|
PROVIDES="
|
|
mp3gain = $portVersion
|
|
cmd:mp3gain = $portVersion
|
|
"
|
|
REQUIRES="
|
|
haiku
|
|
lib:libmpg123
|
|
"
|
|
|
|
BUILD_REQUIRES="
|
|
haiku_devel
|
|
devel:libmpg123
|
|
"
|
|
BUILD_PREREQUIRES="
|
|
cmd:gcc
|
|
cmd:make
|
|
"
|
|
|
|
BUILD()
|
|
{
|
|
make OSTYPE=beos
|
|
}
|
|
|
|
INSTALL()
|
|
{
|
|
install -d $binDir
|
|
install -t $binDir --strip mp3gain
|
|
}
|