From ae19b15ad9e181c661e5446e7c2e492ee8a5e8ef Mon Sep 17 00:00:00 2001 From: Adrien Destugues Date: Sat, 13 Sep 2014 17:54:26 +0200 Subject: [PATCH] Add recipe for libreplaygain. --- .../libreplaygain/libreplaygain-r475.recipe | 56 +++++++++++++++++++ 1 file changed, 56 insertions(+) create mode 100644 media-libs/libreplaygain/libreplaygain-r475.recipe diff --git a/media-libs/libreplaygain/libreplaygain-r475.recipe b/media-libs/libreplaygain/libreplaygain-r475.recipe new file mode 100644 index 000000000..c07c259be --- /dev/null +++ b/media-libs/libreplaygain/libreplaygain-r475.recipe @@ -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 +}