aboutsummaryrefslogtreecommitdiffstats
path: root/multimedia/audacious-plugins/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'multimedia/audacious-plugins/Makefile')
-rw-r--r--multimedia/audacious-plugins/Makefile14
1 files changed, 12 insertions, 2 deletions
diff --git a/multimedia/audacious-plugins/Makefile b/multimedia/audacious-plugins/Makefile
index 3913ae658971..04dde100af07 100644
--- a/multimedia/audacious-plugins/Makefile
+++ b/multimedia/audacious-plugins/Makefile
@@ -31,8 +31,8 @@ CONFIGURE_ENV= LDFLAGS="-L${LOCALBASE}/lib -lstdc++" \
INPUT_PLUGINS="${INPUT_PLUGINS}" \
OUTPUT_PLUGINS="${OUTPUT_PLUGINS}" \
VISUALIZATION_PLUGINS="${VISUALIZATION_PLUGINS}"
-CONFIGURE_ARGS= --disable-jack --disable-flc --disable-adplug \
- --disable-lirc --disable-alsa --disable-amidiplug --disable-arts --disable-wma
+CONFIGURE_ARGS= --disable-jack --disable-adplug --disable-lirc \
+--disable-alsa --disable-amidiplug --disable-arts --disable-wma
MAN1= audacious.1
@@ -45,6 +45,7 @@ VISUALIZATION_PLUGINS= blur_scope
OPTIONS= VORBIS "Enable Ogg Vorbis input" on \
MODPLUG "Enable modplug input" off \
+ FLAC "Enable FLAC input" off \
SID "Enable sid input" off \
MPC "Enable mpc input" off \
ESOUND "Enable Esound output" off \
@@ -75,6 +76,15 @@ PLIST_SUB+= MODPLUG="@comment "
CONFIGURE_ARGS+= --disable-modplug
.endif
+.if !defined(WITHOUT_FLAC)
+INPUT_PLUGINS+= flac
+PLIST_SUB+= FLACPLUGIN=""
+LIB_DEPENDS+= FLAC.7:${PORTSDIR}/audio/flac
+.else
+PLIST_SUB+= FLACPLUGIN="@comment "
+CONFIGURE_ARGS+= --disable-flac
+.endif
+
.if !defined(WITHOUT_SID)
INPUT_PLUGINS+= sid
PLIST_SUB+= SIDPLUGIN=""