29 lines
741 B
Bash
29 lines
741 B
Bash
# Template file for 'opus'
|
|
pkgname=opus
|
|
version=1.3.1
|
|
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=65b58e1e25b2a114157014736a3d9dfeaad8d41be1c8179866f144a2fb44ff9d
|
|
|
|
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
|
|
}
|
|
}
|