29 lines
740 B
Bash
29 lines
740 B
Bash
# Template file for 'opus'
|
|
pkgname=opus
|
|
version=1.4
|
|
revision=1
|
|
build_style=gnu-configure
|
|
configure_args="--enable-float-approx"
|
|
short_desc="Totally open, royalty-free, highly versatile audio codec"
|
|
maintainer="Orphaned <orphan@voidlinux.org>"
|
|
license="BSD-3-Clause"
|
|
homepage="https://www.opus-codec.org/"
|
|
distfiles="https://downloads.xiph.org/releases/opus/opus-${version}.tar.gz"
|
|
checksum=c9b32b4253be5ae63d1ff16eea06b94b5f0f2951b7a02aceef58e3a3ce49c51f
|
|
|
|
post_install() {
|
|
vlicense COPYING
|
|
}
|
|
|
|
opus-devel_package() {
|
|
depends="${sourcepkg}>=${version}_${revision}"
|
|
short_desc+=" - development files"
|
|
pkg_install() {
|
|
vmove usr/include
|
|
vmove usr/lib/pkgconfig
|
|
vmove "usr/lib/*.a"
|
|
vmove "usr/lib/*.so"
|
|
vmove usr/share/aclocal
|
|
}
|
|
}
|