29 lines
739 B
Bash
29 lines
739 B
Bash
# Template file for 'opus'
|
|
pkgname=opus
|
|
version=1.3
|
|
revision=1
|
|
build_style=gnu-configure
|
|
configure_args="--enable-float-approx"
|
|
short_desc="Totally open, royalty-free, highly versatile audio codec"
|
|
maintainer="maxice8 <thinkabit.ukim@gmail.com>"
|
|
license="BSD-3-Clause"
|
|
homepage="https://www.opus-codec.org/"
|
|
distfiles="https://archive.mozilla.org/pub/opus/opus-${version}.tar.gz"
|
|
checksum=4f3d69aefdf2dbaf9825408e452a8a414ffc60494c70633560700398820dc550
|
|
|
|
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
|
|
}
|
|
}
|