41109a27f3
This moves a buffer (currently 36 KiB) to the heap, avoiding stack overflow on musl.
24 lines
902 B
Bash
24 lines
902 B
Bash
# Template file for 'moc'
|
|
pkgname=moc
|
|
version=2.5.2
|
|
revision=2
|
|
build_style=gnu-configure
|
|
hostmakedepends="pkg-config"
|
|
makedepends="db-devel ncurses-devel libcurl-devel popt-devel ffmpeg-devel
|
|
jack-devel alsa-lib-devel libltdl-devel libflac-devel libvorbis-devel
|
|
libmad-devel libmpcdec-devel libmodplug-devel libid3tag-devel faad2-devel
|
|
taglib-devel libsndfile-devel wavpack-devel speex-devel"
|
|
short_desc="Console-based audio player"
|
|
maintainer="necrophcodr <necrophcodr@necrophcodr.me>"
|
|
license="GPL-2"
|
|
homepage="http://moc.daper.net"
|
|
distfiles="http://ftp.daper.net/pub/soft/${pkgname}/stable/${pkgname}-${version}.tar.bz2"
|
|
checksum=f3a68115602a4788b7cfa9bbe9397a9d5e24c68cb61a57695d1c2c3ecf49db08
|
|
|
|
pre_configure() {
|
|
sed -i -e "s|^ac_cpp='\$CPP |&-P |g" configure
|
|
}
|
|
|
|
# REMARKS:
|
|
# License used to be marked here as 3-clause-BSD but on bumping ffmpeg I could
|
|
# not find the BSD license to vlicense.
|