30 lines
981 B
Bash
30 lines
981 B
Bash
# Template file for 'sox'
|
|
pkgname=sox
|
|
version=14.4.2
|
|
revision=5
|
|
build_style=gnu-configure
|
|
configure_args="--with-distro=Void"
|
|
hostmakedepends="pkg-config"
|
|
makedepends="lame-devel libao-devel libgomp-devel libid3tag-devel libltdl-devel
|
|
libmad-devel libpng-devel libsndfile-devel opusfile-devel pulseaudio-devel
|
|
sndio-devel wavpack-devel"
|
|
short_desc="Sound eXchange, the Swiss Army knife of audio manipulation"
|
|
maintainer="Leah Neukirchen <leah@vuxu.org>"
|
|
license="GPL-2.0-or-later, LGPL-2.1-or-later"
|
|
homepage="http://sox.sourceforge.net/"
|
|
distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.bz2"
|
|
checksum=81a6956d4330e75b5827316e44ae381e6f1e8928003c6aa45896da9041ea149c
|
|
|
|
post_extract() {
|
|
sed -i '/error FIX NEEDED HERE/d' src/formats.c
|
|
}
|
|
sox-devel_package() {
|
|
depends="${sourcepkg}>=${version}_${revision}"
|
|
short_desc+=" -- development files"
|
|
pkg_install() {
|
|
vmove usr/share/man/man3
|
|
vmove usr/include
|
|
vmove "usr/lib/*.a"
|
|
vmove usr/lib/pkgconfig
|
|
}
|
|
}
|