summaryrefslogtreecommitdiff
path: root/libebur128/Pkgfile
blob: 1a8a0af8ae8f29b7ca2fe4fc2c370eb2260155e9 (plain)
    1 # Description: A library that implements the EBU R 128 standard for loudness normalisation.
    2 # URL: https://github.com/jiixyj/libebur128
    3 # Maintainer: Tim Biermann, tbier at posteo dot de
    4 # Depends on: cmake
    5 
    6 name=libebur128
    7 version=1.2.6
    8 release=1
    9 source=(https://github.com/jiixyj/libebur128/archive/v$version/$name-$version.tar.gz)
   10 
   11 build() {
   12   [[ -e /usr/bin/ninja ]] && PKGMK_LIBEBUR128+=' -G Ninja'
   13   cmake -S $name-$version -B build $PKGMK_LIBEBUR128 \
   14     -D CMAKE_INSTALL_PREFIX=/usr \
   15     -D CMAKE_INSTALL_LIBDIR=lib \
   16     -D CMAKE_BUILD_TYPE=Release \
   17     -D CMAKE_C_FLAGS_RELEASE="$CFLAGS" \
   18     -D BUILD_STATIC_LIBS=OFF \
   19     -Wno-dev
   20   cmake --build build
   21   DESTDIR=$PKG cmake --install build
   22 }

Generated by cgit