36 lines
1.1 KiB
Bash
36 lines
1.1 KiB
Bash
# Template file for 'libsndfile'
|
|
pkgname=libsndfile
|
|
version=1.2.0
|
|
revision=1
|
|
build_style=gnu-configure
|
|
configure_args="--enable-static"
|
|
hostmakedepends="pkg-config python3"
|
|
makedepends="alsa-lib-devel libvorbis-devel libflac-devel sqlite-devel opus-devel mpg123-devel lame-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/"
|
|
changelog="https://github.com/libsndfile/libsndfile/raw/master/CHANGELOG.md"
|
|
distfiles="https://github.com/libsndfile/libsndfile/releases/download/${version}/libsndfile-${version}.tar.xz"
|
|
checksum=0e30e7072f83dc84863e2e55f299175c7e04a5902ae79cfb99d4249ee8f6d60a
|
|
|
|
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
|
|
}
|
|
}
|