mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-09 05:10:05 +02:00
Add recipe for libreplaygain.
This commit is contained in:
56
media-libs/libreplaygain/libreplaygain-r475.recipe
Normal file
56
media-libs/libreplaygain/libreplaygain-r475.recipe
Normal file
@@ -0,0 +1,56 @@
|
||||
SUMMARY="Replay Gain library from Musepack"
|
||||
DESCRIPTION="libreplaygain calculates the perceived loudness of audio and \
|
||||
suggests dB adjustments according to the ReplayGain standard.
|
||||
"
|
||||
ARCHITECTURES="x86_gcc2"
|
||||
REVISION="1"
|
||||
HOMEPAGE="https://www.musepack.net"
|
||||
LICENSE="GNU LGPL v2.1"
|
||||
COPYRIGHT="1997-2011 Musepack Project"
|
||||
|
||||
SRC_URI="http://files.musepack.net/source/libreplaygain_r475.tar.gz"
|
||||
SOURCE_DIR="libreplaygain_r475"
|
||||
CHECKSUM_SHA256="8258bf785547ac2cda43bb195e07522f0a3682f55abe97753c974609ec232482"
|
||||
|
||||
PROVIDES="
|
||||
libreplaygain = $portVersion
|
||||
lib:libreplaygain = 1.0.0 compat = 1
|
||||
"
|
||||
|
||||
REQUIRES="
|
||||
haiku >= $haikuVersion
|
||||
"
|
||||
|
||||
BUILD_PREREQUIRES="
|
||||
haiku_devel >= $haikuVersion
|
||||
cmd:cmake
|
||||
cmd:gcc
|
||||
cmd:make
|
||||
"
|
||||
|
||||
PROVIDES_devel="
|
||||
libreplaygain_devel = $portVersion
|
||||
devel:libreplaygain
|
||||
"
|
||||
|
||||
REQUIRES_devel="
|
||||
libreplaygain == $portVersion base
|
||||
"
|
||||
|
||||
BUILD()
|
||||
{
|
||||
cmake . -DCMAKE_INSTALL_PREFIX=$prefix
|
||||
make $jobArgs
|
||||
}
|
||||
|
||||
INSTALL()
|
||||
{
|
||||
make install
|
||||
|
||||
mkdir -p $includeDir
|
||||
cp -r include/replaygain $includeDir
|
||||
|
||||
prepareInstalledDevelLib libreplaygain
|
||||
|
||||
packageEntries devel $developDir
|
||||
}
|
||||
Reference in New Issue
Block a user