diff options
author | Oliver Lehmann <oliver@FreeBSD.org> | 2010-06-08 11:26:27 +0000 |
---|---|---|
committer | Oliver Lehmann <oliver@FreeBSD.org> | 2010-06-08 11:26:27 +0000 |
commit | a8ed9abd7f32fcbe528c38e1b9408a5dbcde1b9b (patch) | |
tree | 378dc98f83eaeee5bdab52a4182ed674e107e94e /multimedia/audacious-plugins | |
parent | 771ef4fe4c595bbdab2197c3a2b81087a359159d (diff) | |
download | ports-a8ed9abd7f32fcbe528c38e1b9408a5dbcde1b9b.tar.gz ports-a8ed9abd7f32fcbe528c38e1b9408a5dbcde1b9b.zip |
Add option for amidi plugin to play MIDI files
PR: ports/147277
Submitted by: Denny Lin <dennylin93@hs.ntnu.edu.tw>
Notes
Notes:
svn path=/head/; revision=256101
Diffstat (limited to 'multimedia/audacious-plugins')
-rw-r--r-- | multimedia/audacious-plugins/Makefile | 14 | ||||
-rw-r--r-- | multimedia/audacious-plugins/pkg-plist | 3 |
2 files changed, 15 insertions, 2 deletions
diff --git a/multimedia/audacious-plugins/Makefile b/multimedia/audacious-plugins/Makefile index a50ac27e764b..774cfab5cd84 100644 --- a/multimedia/audacious-plugins/Makefile +++ b/multimedia/audacious-plugins/Makefile @@ -23,7 +23,7 @@ USE_LDCONFIG= yes CONFIGURE_ENV+= LDFLAGS="-L${LOCALBASE}/lib" \ CFLAGS="-I${LOCALBASE}/include" \ CPP=${CPP} -CONFIGURE_ARGS= --disable-evdevplug --disable-alsa --disable-amidiplug \ +CONFIGURE_ARGS= --disable-evdevplug --disable-alsa --disable-ffaudio \ --disable-pulse --disable-projectm --disable-projectm-1.0 WANT_GNOME= yes WANT_EFL= yes @@ -63,7 +63,8 @@ OPTIONS= DBUS "Enable dbus support" on \ GNOME "Build with gnomevfs/gconf support" off \ NLS "Native Language Support" on \ SSE2 "Enable SSE2 support" on \ - RESAMPLE "Enable resample support" off + RESAMPLE "Enable resample support" off \ + AMIDI "Enable amidi support" off .include <bsd.port.pre.mk> @@ -335,6 +336,15 @@ CONFIGURE_ARGS+=--disable-nls PLIST_SUB+= NLS="@comment " .endif +.if defined(WITH_AMIDI) +LIB_DEPENDS+= fluidsynth.4:${PORTSDIR}/audio/fluidsynth +CONFIGURE_ARGS+=--enable-amidiplug --enable-amidiplug-flsyn +PLIST_SUB+= AMIDIPLUGIN="" +.else +CONFIGURE_ARGS+=--disable-amidiplug +PLIST_SUB+= AMIDIPLUGIN="@comment " +.endif + pre-everything:: .if defined(WITH_AUDIOCD) && !exists(${LOCALBASE}/lib/libcdio_cdda.so) @${ECHO_CMD} "" diff --git a/multimedia/audacious-plugins/pkg-plist b/multimedia/audacious-plugins/pkg-plist index 6d1e0f7bbc7a..b640a1802dfd 100644 --- a/multimedia/audacious-plugins/pkg-plist +++ b/multimedia/audacious-plugins/pkg-plist @@ -23,6 +23,8 @@ lib/audacious/General/streambrowser.so lib/audacious/General/vfstrace.so %%AACPLUGIN%%lib/audacious/Input/aac.so %%ADPLUGPLUGIN%%lib/audacious/Input/adplug.so +%%AMIDIPLUGIN%%lib/audacious/Input/amidi-plug/ap-fluidsynth.so +%%AMIDIPLUGIN%%lib/audacious/Input/amidi-plug.so %%CDAUDIOPLUGIN%%lib/audacious/Input/cdaudio-ng.so lib/audacious/Input/console.so %%FLACPLUGIN%%lib/audacious/Input/flacng.so @@ -322,6 +324,7 @@ share/audacious/Skins/TinyPlayer/volume.png @dirrm lib/audacious/Effect @dirrm lib/audacious/Container @dirrm lib/audacious/General +%%AMIDIPLUGIN%%@dirrm lib/audacious/Input/amidi-plug @dirrm lib/audacious/Input @dirrm lib/audacious/Output @dirrm lib/audacious/Transport |