mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-28 05:29:48 +00:00
Stop autodetecting libsndfile --> now an OPTION, on by default
PR: ports/158999 Submitted by: David Demelier <demelier.david@gmail.com> Approved by: rene (mentor, implicit)
This commit is contained in:
parent
372fb60029
commit
b2db9733bc
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=277867
@ -7,6 +7,7 @@
|
||||
|
||||
PORTNAME= musicpd
|
||||
PORTVERSION= 0.16.3
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= audio ipv6
|
||||
MASTER_SITES= SF/${PORTNAME}/mpd/${PORTVERSION}
|
||||
DISTNAME= mpd-${PORTVERSION}
|
||||
@ -57,6 +58,7 @@ OPTIONS= ID3TAG "Support ID3 v1/v2 tags" on \
|
||||
PULSEAUDIO "Support PulseAudio sound server" off \
|
||||
JACK "Support JACK audio server" off \
|
||||
SHOUTCAST "Support for OGG Icecast and Shoutcast" off \
|
||||
SNDFILE "Adds support for libsndfile" on \
|
||||
LAME "Support for MP3 Icecast Streams" off \
|
||||
HTTPD "Support for httpd output streaming" off \
|
||||
SAMPLERATE "Support sample rate conversion" off
|
||||
@ -223,6 +225,13 @@ CONFIGURE_ARGS+=--enable-vorbis-encoder \
|
||||
CONFIGURE_ARGS+=--disable-shout
|
||||
.endif
|
||||
|
||||
.if defined(WITH_SNDFILE)
|
||||
LIB_DEPENDS+= sndfile.1:${PORTSDIR}/audio/libsndfile
|
||||
CONFIGURE_ARGS+= --enable-sndfile
|
||||
.else
|
||||
CONFIGURE_ARGS+= --disable-sndfile
|
||||
.endif
|
||||
|
||||
.if defined(WITHOUT_SAMPLERATE)
|
||||
CONFIGURE_ARGS+=--disable-lsr
|
||||
.else
|
||||
|
Loading…
Reference in New Issue
Block a user