mirror of
https://github.com/yann64/haikuports.git
synced 2026-05-05 06:28:55 +02:00
Update enca-1.15.recipe Update libpaper-1.1.24.recipe Update libedit-2014_10_30_3.1.recipe Update faad2-2.7.recipe Update libebur128-1.0.1.recipe Update pnglite-0.1.17.recipe Update libircclient-1.8.recipe Update glu-9.0.0.recipe Update polarssl-1.3.9.recipe Update libpaper-1.1.24.recipe Update libedit-2014_10_30_3.1.recipe Update faad2-2.7.recipe Update libebur128-1.0.1.recipe Update libebur128-1.0.1.recipe Update libsdl2-2.0.1.recipe Update libircclient-1.8.recipe Update libpaper-1.1.24.recipe
71 lines
1.6 KiB
Bash
71 lines
1.6 KiB
Bash
SUMMARY="A library implementing the EBU R128 loudness standard"
|
|
DESCRIPTION="libebur128 is a library that implements the EBU R 128 standard for loudness \
|
|
normalisation. It supports all samplerates by recalculation of the filter coefficients."
|
|
HOMEPAGE="https://github.com/jiixyj/libebur128"
|
|
COPYRIGHT="2011 Jan Kokemüller"
|
|
LICENSE="MIT"
|
|
REVISION="1"
|
|
SOURCE_URI="https://github.com/jiixyj/libebur128/archive/v$portVersion.tar.gz"
|
|
CHECKSUM_SHA256="01aa7aed90c593944eeb3087a6f965557dc708de360bf1a589b3babb021e7336"
|
|
SOURCE_FILENAME="$portVersionedName.tar.gz"
|
|
|
|
ARCHITECTURES="x86_gcc2 ?x86 ?x86_64"
|
|
SECONDARY_ARCHITECTURES="?x86_gcc2 x86"
|
|
|
|
PROVIDES="
|
|
libebur128$secondaryArchSuffix = $portVersion
|
|
lib:libebur128$secondaryArchSuffix = 1.0.1 compat >= 1
|
|
"
|
|
REQUIRES="
|
|
haiku$secondaryArchSuffix
|
|
"
|
|
# lib:libspeexdsp$secondaryArchSuffix
|
|
|
|
PROVIDES_devel="
|
|
libebur128${secondaryArchSuffix}_devel = $portVersion
|
|
devel:libebur128$secondaryArchSuffix = 1.0.1 compat >= 1
|
|
"
|
|
REQUIRES_devel="
|
|
libebur128$secondaryArchSuffix == $portVersion
|
|
"
|
|
|
|
BUILD_REQUIRES="
|
|
# devel:libspeexdsp$secondaryArchSuffix
|
|
"
|
|
BUILD_PREREQUIRES="
|
|
haiku${secondaryArchSuffix}_devel
|
|
cmd:gcc$secondaryArchSuffix
|
|
cmd:ld$secondaryArchSuffix
|
|
cmd:cmake
|
|
cmd:make
|
|
cmd:pkg_config$secondaryArchSuffix
|
|
cmd:sed
|
|
"
|
|
|
|
PATCH()
|
|
{
|
|
sed -i 's,include)','"develop/headers")', ebur128/CMakeLists.txt
|
|
}
|
|
|
|
BUILD()
|
|
{
|
|
rm -Rf build
|
|
mkdir build
|
|
cd build
|
|
cmake -DENABLE_INTERNAL_QUEUE_H=1 -DCMAKE_INSTALL_PREFIX:PATH=$prefix ..
|
|
make $jobArgs VERBOSE=1
|
|
}
|
|
|
|
INSTALL()
|
|
{
|
|
cd build
|
|
make install
|
|
|
|
prepareInstalledDevelLibs libebur128
|
|
fixPkgconfig
|
|
|
|
# devel package
|
|
packageEntries devel \
|
|
$developDir
|
|
}
|