aboutsummaryrefslogtreecommitdiff
path: root/multimedia/audacious-plugins
diff options
context:
space:
mode:
authorSam Lawrance <lawrance@FreeBSD.org>2006-10-31 08:28:03 +0000
committerSam Lawrance <lawrance@FreeBSD.org>2006-10-31 08:28:03 +0000
commit2bf383fdc5b7c0bd0bad67a734d4b1b04c561394 (patch)
treee38ac14f0347c8981cc665ca78f3fd13aa09174d /multimedia/audacious-plugins
parent5aa5e311940770ddd0fe992e7b92e4409582fc13 (diff)
downloadports-2bf383fdc5b7c0bd0bad67a734d4b1b04c561394.tar.gz
ports-2bf383fdc5b7c0bd0bad67a734d4b1b04c561394.zip
Notes
Diffstat (limited to 'multimedia/audacious-plugins')
-rw-r--r--multimedia/audacious-plugins/Makefile14
-rw-r--r--multimedia/audacious-plugins/pkg-plist1
2 files changed, 13 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=""
diff --git a/multimedia/audacious-plugins/pkg-plist b/multimedia/audacious-plugins/pkg-plist
index e306a329003f..3ecd72af0071 100644
--- a/multimedia/audacious-plugins/pkg-plist
+++ b/multimedia/audacious-plugins/pkg-plist
@@ -29,6 +29,7 @@ lib/audacious/Input/libaac.so
lib/audacious/Input/libtimidity.so
%%VORBISPLUGIN%%lib/audacious/Input/libvorbis.so
%%MODPLUG%%lib/audacious/Input/libmodplug.so
+%%FLACPLUGIN%%lib/audacious/Input/libflac.so
%%MPCPLUGIN%%lib/audacious/Input/libmpc.so
%%SIDPLUGIN%%lib/audacious/Input/libsid.so
lib/audacious/Input/libwav.so