default_configure &&

list_remove MPV_OPTS '--enable-radio-capture' &&
list_remove MPV_OPTS '--disable-radio-capture' &&

config_query_option MPV_OPTS "Compile-in debugging information?" y \
                             "--enable-debug-build" \
                             "--disable-debug-build" &&

config_query_option MPV_OPTS "Enable Joystick input support?" n \
                             "--enable-joystick" \
                             "--disable-joystick" &&

config_query_option MPV_OPTS "Enable encoding functionality?" y \
                             "--enable-encoding" \
                             "--disable-encoding" &&

config_query_option MPV_OPTS "Enable DVB (Digital Video Broadcast) support?" y \
                             "--enable-dvb" \
                             "--disable-dvb" &&

if list_find "$MPV_OPTS" "--enable-dvb"; then
  config_query_option MPV_OPTS "Enable DVB input module?" y \
                               "--enable-dvbin" \
                               "--disable-dvbin"
else
  list_add MPV_OPTS "--disable-dvbin"
fi
