28 lines
735 B
Bash
28 lines
735 B
Bash
# Template file for 'opus'
|
|
pkgname=opus
|
|
version=1.2
|
|
revision=1
|
|
build_style=gnu-configure
|
|
configure_args="--enable-float-approx"
|
|
short_desc="Totally open, royalty-free, highly versatile audio codec"
|
|
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
|
homepage="https://www.opus-codec.org/"
|
|
license="3-clause-BSD"
|
|
distfiles="https://archive.mozilla.org/pub/opus/opus-${version}.tar.gz"
|
|
checksum=77db45a87b51578fbc49555ef1b10926179861d854eb2613207dc79d9ec0a9a9
|
|
|
|
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
|
|
}
|
|
}
|