Add SQLITE3 option
This commit is contained in:
parent
cc6d276d14
commit
22ecc41fd7
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=321817
1 changed files with 9 additions and 2 deletions
|
@ -37,11 +37,11 @@ SUB_FILES= pkg-message
|
|||
|
||||
OPTIONS_DEFINE= ID3TAG IPV6 FLAC VORBIS WAV FFMPEG TREMOR AAC \
|
||||
MUSEPACK MIKMOD MODPLUG ARCHIVE MMS LASTFM AO PULSEAUDIO \
|
||||
JACK SHOUTCAST SNDFILE LAME HTTPD SAMPLERATE CUE
|
||||
JACK SHOUTCAST SNDFILE LAME HTTPD SAMPLERATE CUE SQLITE3
|
||||
OPTIONS_RADIO= ZEROCONF
|
||||
OPTIONS_RADIO_ZEROCONF= AVAHI MDNSRESPONDER
|
||||
|
||||
OPTIONS_DEFAULT=ID3TAG IPV6 FLAC VORBIS WAV FFMPEG SNDFILE
|
||||
OPTIONS_DEFAULT=ID3TAG IPV6 FLAC VORBIS WAV FFMPEG SNDFILE
|
||||
LAME_DESC= Support for MP3 Icecast Streams
|
||||
|
||||
MPDDIR?= /var/mpd
|
||||
|
@ -242,6 +242,13 @@ LIB_DEPENDS+= cue:${PORTSDIR}/textproc/libcue
|
|||
CONFIGURE_ARGS+=--disable-cue
|
||||
.endif
|
||||
|
||||
.if ${PORT_OPTIONS:MSQLITE3}
|
||||
LIB_DEPENDS+= sqlite3:${PORTSDIR}/databases/sqlite3
|
||||
CONFIGURE_ARGS+=--enable-sqlite
|
||||
.else
|
||||
CONFIGURE_ARGS+=--disable-sqlite
|
||||
.endif
|
||||
|
||||
post-patch:
|
||||
# Replace ~/ with MPDDIR and make musicpd run as mpd by default
|
||||
@${REINPLACE_CMD} -e 's,^#\([^"]*"\)~/,\1${MPDDIR}/,g' \
|
||||
|
|
Loading…
Reference in a new issue