libebur128: build with -O2, fix build on musl

This commit is contained in:
Đoàn Trần Công Danh 2020-11-16 22:40:24 +07:00
parent 3b336d9b1b
commit 1eeba295d4

View file

@ -1,15 +1,20 @@
# Template file for 'libebur128'
pkgname=libebur128
version=1.2.4
revision=1
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, BSD-4-Clause-UC"
license="MIT"
homepage="https://github.com/jiixyj/libebur128"
distfiles="https://github.com/jiixyj/${pkgname}/archive/v${version}.tar.gz"
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
}