2018-09-19 02:46:20 +00:00
|
|
|
# Template file for 'libopusenc'
|
|
|
|
pkgname=libopusenc
|
2018-10-08 23:07:55 +00:00
|
|
|
version=0.2.1
|
2018-09-19 02:46:20 +00:00
|
|
|
revision=1
|
|
|
|
build_style=gnu-configure
|
|
|
|
hostmakedepends="pkg-config"
|
|
|
|
makedepends="opus-devel"
|
|
|
|
short_desc="Library for encoding .opus files"
|
|
|
|
maintainer="maxice8 <thinkabit.ukim@gmail.com>"
|
|
|
|
license="BSD-3-Clause"
|
|
|
|
homepage="https://git.xiph.org/?p=libopusenc.git"
|
|
|
|
distfiles="https://archive.mozilla.org/pub/opus/libopusenc-${version}.tar.gz"
|
2018-10-08 23:07:55 +00:00
|
|
|
checksum=8298db61a8d3d63e41c1a80705baa8ce9ff3f50452ea7ec1c19a564fe106cbb9
|
2018-09-19 02:46:20 +00:00
|
|
|
|
|
|
|
post_install() {
|
|
|
|
vlicense COPYING
|
|
|
|
}
|
|
|
|
|
|
|
|
libopusenc-devel_package() {
|
|
|
|
depends="opus-devel libopusenc-${version}_${revision}"
|
|
|
|
short_desc+=" - development files"
|
|
|
|
pkg_install() {
|
|
|
|
vmove usr/include
|
|
|
|
vmove usr/lib/pkgconfig
|
|
|
|
vmove "usr/lib/*.so"
|
|
|
|
vmove "usr/lib/*.a"
|
|
|
|
}
|
|
|
|
}
|