21 lines
660 B
Plaintext
21 lines
660 B
Plaintext
# Description: A library that implements the EBU R 128 standard for loudness normalisation.
|
|
# URL: https://github.com/jiixyj/libebur128
|
|
# Maintainer: Tim Biermann, tbier at posteo dot de
|
|
# Depends on: cmake
|
|
|
|
name=libebur128
|
|
version=1.2.4
|
|
release=1
|
|
source=(https://github.com/jiixyj/libebur128/archive/v$version/$name-$version.tar.gz)
|
|
|
|
build() {
|
|
[[ -e /usr/bin/ninja ]] && PKGMK_LIBEBUR128_OPTIONS=' -GNinja'
|
|
cmake -S$name-$version -Bbuild $PKGMK_LIBEBUR128_OPTIONS \
|
|
-DCMAKE_INSTALL_PREFIX=/usr \
|
|
-DCMAKE_INSTALL_LIBDIR=lib \
|
|
-DCMAKE_BUILD_TYPE=Release \
|
|
-DBUILD_STATIC_LIBS=OFF
|
|
cmake --build build
|
|
DESTDIR=$PKG cmake --install build
|
|
}
|