31 lines
793 B
Bash
31 lines
793 B
Bash
# Template file for 'libebur128'
|
|
pkgname=libebur128
|
|
version=1.2.6
|
|
revision=1
|
|
build_style=cmake
|
|
configure_args="-DCMAKE_BUILD_TYPE=None"
|
|
short_desc="Implementation of the EBU R 128 standard for loudness normalisation"
|
|
maintainer="Orphaned <orphan@voidlinux.org>"
|
|
license="MIT"
|
|
homepage="https://github.com/jiixyj/libebur128"
|
|
distfiles="https://github.com/jiixyj/libebur128/archive/v${version}.tar.gz"
|
|
checksum=baa7fc293a3d4651e244d8022ad03ab797ca3c2ad8442c43199afe8059faa613
|
|
|
|
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/*.so
|
|
vmove usr/lib/pkgconfig
|
|
}
|
|
}
|