29 lines
809 B
Text
29 lines
809 B
Text
# Template file for 'opusfile'
|
|
pkgname=opusfile
|
|
version=0.6
|
|
revision=3
|
|
build_style=gnu-configure
|
|
hostmakedepends="pkg-config"
|
|
makedepends="libogg-devel opus-devel libressl-devel>=2.1.2"
|
|
short_desc="Library for opening, seeking, and decoding .opus files"
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
|
homepage="http://www.opus-codec.org/"
|
|
license="BSD"
|
|
distfiles="http://downloads.xiph.org/releases/opus/${pkgname}-${version}.tar.gz"
|
|
checksum=2428717b356e139f18ed2fdb5ad990b5654a238907a0058200b39c46a7d03ea6
|
|
|
|
post_install() {
|
|
rm -rf ${DESTDIR}/usr/share
|
|
vlicense COPYING
|
|
}
|
|
|
|
opusfile-devel_package() {
|
|
depends="${makedepends} ${sourcepkg}>=${version}_${revision}"
|
|
short_desc+=" - development files"
|
|
pkg_install() {
|
|
vmove usr/include
|
|
vmove usr/lib/pkgconfig
|
|
vmove "usr/lib/*.a"
|
|
vmove "usr/lib/*.so"
|
|
}
|
|
}
|