diff options
author | oliver <oliver@FreeBSD.org> | 2010-06-08 19:26:27 +0800 |
---|---|---|
committer | oliver <oliver@FreeBSD.org> | 2010-06-08 19:26:27 +0800 |
commit | 4616db92aa4472425e8000e05ff7bd17bb9875cc (patch) | |
tree | 2710734b53c8c935e7d33146a9d3e4a260d92e1a /multimedia/audacious-plugins | |
parent | 3e7b5d76f8480fe23e62aa89e0aef73cddc3f5e3 (diff) | |
download | freebsd-ports-gnome-4616db92aa4472425e8000e05ff7bd17bb9875cc.tar.gz freebsd-ports-gnome-4616db92aa4472425e8000e05ff7bd17bb9875cc.tar.zst freebsd-ports-gnome-4616db92aa4472425e8000e05ff7bd17bb9875cc.zip |
Add option for amidi plugin to play MIDI files
PR: ports/147277
Submitted by: Denny Lin <dennylin93@hs.ntnu.edu.tw>
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 |