31 lines
816 B
Bash
31 lines
816 B
Bash
# Template file for 'libebur128'
|
|
pkgname=libebur128
|
|
version=1.2.4
|
|
revision=2
|
|
build_style=cmake
|
|
configure_args="-DCMAKE_BUILD_TYPE=None"
|
|
short_desc="Implementation of the EBU R 128 standard for loudness normalisation"
|
|
maintainer="Frank Steinborn <steinex@nognu.de>"
|
|
license="MIT"
|
|
homepage="https://github.com/jiixyj/libebur128"
|
|
distfiles="https://github.com/jiixyj/libebur128/archive/v${version}.tar.gz"
|
|
checksum=2ee41a3a5ae3891601ae975d5ec2642b997d276ef647cf5c5b363b6127f7add8
|
|
|
|
if [ "$XBPS_TARGET_LIBC" = musl ]; then
|
|
makedepends="musl-legacy-compat"
|
|
fi
|
|
|
|
post_install() {
|
|
vlicense COPYING
|
|
}
|
|
|
|
libebur128-devel_package() {
|
|
short_desc+=" - development files"
|
|
depends="${sourcepkg}>=${version}_${revision}"
|
|
pkg_install() {
|
|
vmove usr/include
|
|
vmove usr/lib/*.a
|
|
vmove usr/lib/*.so
|
|
vmove usr/lib/pkgconfig
|
|
}
|
|
}
|