From 1eeba295d4307b1c1c24099425551d817c093f74 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C4=90o=C3=A0n=20Tr=E1=BA=A7n=20C=C3=B4ng=20Danh?= Date: Mon, 16 Nov 2020 22:40:24 +0700 Subject: [PATCH] libebur128: build with -O2, fix build on musl --- srcpkgs/libebur128/template | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/srcpkgs/libebur128/template b/srcpkgs/libebur128/template index d61deee3385..2fd2f7001f7 100644 --- a/srcpkgs/libebur128/template +++ b/srcpkgs/libebur128/template @@ -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 " -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 }