void-packages/srcpkgs/libsndfile/template
2021-01-26 12:18:43 -03:00

33 lines
1,006 B
Bash

# Template file for 'libsndfile'
pkgname=libsndfile
version=1.0.31
revision=1
build_style=gnu-configure
hostmakedepends="pkg-config python3"
makedepends="alsa-lib-devel libvorbis-devel libflac-devel sqlite-devel opus-devel"
short_desc="C library for reading and writing files containing sampled sound"
maintainer="Orphaned <orphan@voidlinux.org>"
license="LGPL-2.1-or-later"
homepage="https://libsndfile.github.io/libsndfile/"
distfiles="https://github.com/libsndfile/${pkgname}/releases/download/${version}/${pkgname}-${version}.tar.bz2"
checksum=a8cfb1c09ea6e90eff4ca87322d4168cdbe5035cb48717b40bf77e751cc02163
libsndfile-progs_package() {
short_desc+=" - bundled cmdline apps"
pkg_install() {
vmove usr/bin
vmove usr/share/man
}
}
libsndfile-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"
vmove usr/share/doc
}
}