mirror of
https://github.com/yann64/haikuports.git
synced 2026-05-05 06:28:55 +02:00
musepack: add x86{,_64} to libcuefile, libreplaygain and musepack_tools.
* Add x86 and x86_64 to ARCHITECTURES as the recipe also works fine for these.
* Add x86_gcc2 to SECONDARY_ARCHITECTURES for use in x86 (gcc4) hybrid.
* Use $portVersion instead of the current version in SOURCE_{URI,DIR}.
* Drop the "r" prefix in version (r475 → 475) and ajust SOURCE_{URI,DIR}.
This commit is contained in:
56
media-libs/libreplaygain/libreplaygain-475.recipe
Normal file
56
media-libs/libreplaygain/libreplaygain-475.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."
|
||||
HOMEPAGE="https://www.musepack.net/"
|
||||
COPYRIGHT="1997-2011 Musepack Project"
|
||||
LICENSE="GNU LGPL v2.1"
|
||||
REVISION="1"
|
||||
SOURCE_URI="http://files.musepack.net/source/libreplaygain_r$portVersion.tar.gz"
|
||||
CHECKSUM_SHA256="8258bf785547ac2cda43bb195e07522f0a3682f55abe97753c974609ec232482"
|
||||
SOURCE_DIR="libreplaygain_r$portVersion"
|
||||
|
||||
ARCHITECTURES="x86_gcc2 x86 x86_64"
|
||||
SECONDARY_ARCHITECTURES="x86_gcc2 x86"
|
||||
|
||||
PROVIDES="
|
||||
libreplaygain$secondaryArchSuffix = $portVersion
|
||||
lib:libreplaygain$secondaryArchSuffix = 1.0.0 compat = 1
|
||||
"
|
||||
REQUIRES="
|
||||
haiku$secondaryArchSuffix
|
||||
"
|
||||
|
||||
PROVIDES_devel="
|
||||
libreplaygain${secondaryArchSuffix}_devel = $portVersion
|
||||
devel:libreplaygain$secondaryArchSuffix
|
||||
"
|
||||
REQUIRES_devel="
|
||||
libreplaygain$secondaryArchSuffix == $portVersion base
|
||||
"
|
||||
|
||||
BUILD_REQUIRES="
|
||||
haiku${secondaryArchSuffix}_devel
|
||||
"
|
||||
BUILD_PREREQUIRES="
|
||||
cmd:cmake
|
||||
cmd:gcc$secondaryArchSuffix
|
||||
cmd:make
|
||||
"
|
||||
|
||||
BUILD()
|
||||
{
|
||||
cmake . -DCMAKE_INSTALL_PREFIX=$prefix -DLIB_SUFFIX=$secondaryArchSubDir
|
||||
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