mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-05 06:33:50 +02:00
timidity: build on musl without broken alsa audio
This commit is contained in:
parent
903c445712
commit
d7e614a47e
1 changed files with 9 additions and 8 deletions
|
@ -1,12 +1,10 @@
|
||||||
# Template file for 'timidity'
|
# Template file for 'timidity'
|
||||||
pkgname=timidity
|
pkgname=timidity
|
||||||
version=2.15.0
|
version=2.15.0
|
||||||
revision=1
|
revision=2
|
||||||
build_style=gnu-configure
|
build_style=gnu-configure
|
||||||
configure_args="--with-default-path=/etc/timidity
|
configure_args="--with-default-path=/etc/timidity --enable-server
|
||||||
--enable-audio=alsa,oss,ao,vorbis,flac --enable-server
|
--enable-alsaseq=yes --enable-network --enable-gtk --enable-ncurses"
|
||||||
--enable-alsaseq=yes --enable-network
|
|
||||||
--enable-gtk --enable-ncurses"
|
|
||||||
hostmakedepends="pkg-config"
|
hostmakedepends="pkg-config"
|
||||||
makedepends="alsa-lib-devel libvorbis-devel libao-devel libflac-devel
|
makedepends="alsa-lib-devel libvorbis-devel libao-devel libflac-devel
|
||||||
libX11-devel gtk+-devel ncurses-devel"
|
libX11-devel gtk+-devel ncurses-devel"
|
||||||
|
@ -17,9 +15,12 @@ homepage="http://timidity.sourceforge.net"
|
||||||
distfiles="${SOURCEFORGE_SITE}/timidity/TiMidity++-${version}.tar.xz"
|
distfiles="${SOURCEFORGE_SITE}/timidity/TiMidity++-${version}.tar.xz"
|
||||||
checksum=9eaf4fadb0e19eb8e35cd4ac16142d604c589e43d0e8798237333697e6381d39
|
checksum=9eaf4fadb0e19eb8e35cd4ac16142d604c589e43d0e8798237333697e6381d39
|
||||||
|
|
||||||
case "$XBPS_TARGET_MACHINE" in
|
# disable alsa audio on musl since it uses pcm_old.h, which depends on symbol versioning to work
|
||||||
*-musl) broken="uses alsa's pcm_old.h, which depends on symbol versioning to work";;
|
if [ "$XBPS_TARGET_LIBC" = "musl" ]; then
|
||||||
esac
|
configure_args+=" --enable-audio=oss,ao,vorbis,flac"
|
||||||
|
else
|
||||||
|
configure_args+=" --enable-audio=alsa,oss,ao,vorbis,flac"
|
||||||
|
fi
|
||||||
|
|
||||||
if [ "$CROSS_BUILD" ]; then
|
if [ "$CROSS_BUILD" ]; then
|
||||||
# check for va_copy runs test program; assume no for target
|
# check for va_copy runs test program; assume no for target
|
||||||
|
|
Loading…
Add table
Reference in a new issue