2012-10-06 12:42:36 +02:00
|
|
|
# Created by: Juha Nygard <juha.nygard1@netikka.fi>
|
2003-12-04 12:51:39 +01:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= fluidsynth
|
2018-06-01 23:44:32 +02:00
|
|
|
DISTVERSIONPREFIX= v
|
2020-04-09 06:24:14 +02:00
|
|
|
DISTVERSION= 2.1.2
|
2003-12-04 12:51:39 +01:00
|
|
|
CATEGORIES= audio
|
|
|
|
|
2007-06-25 01:12:45 +02:00
|
|
|
MAINTAINER= multimedia@FreeBSD.org
|
2003-12-04 12:51:39 +01:00
|
|
|
COMMENT= Real-time software synthesizer based on the SoundFont 2 specifications
|
|
|
|
|
2018-06-01 23:44:32 +02:00
|
|
|
LICENSE= LGPL21
|
|
|
|
LICENSE_FILE= ${WRKSRC}/LICENSE
|
|
|
|
|
2019-03-02 17:46:58 +01:00
|
|
|
USES= cmake gnome pkgconfig
|
|
|
|
USE_GITHUB= yes
|
2018-06-01 23:44:32 +02:00
|
|
|
GH_ACCOUNT= FluidSynth
|
2019-03-02 17:46:58 +01:00
|
|
|
USE_GNOME= glib20
|
|
|
|
USE_LDCONFIG= yes
|
|
|
|
|
2019-12-02 07:36:12 +01:00
|
|
|
# would require unreleased libinstpatch >= 1.1.0
|
|
|
|
CMAKE_OFF= enable-libinstpatch enable-midishare
|
2019-03-02 17:46:58 +01:00
|
|
|
LDFLAGS+= -lpthread
|
2011-11-18 21:07:20 +01:00
|
|
|
|
2019-12-02 07:36:12 +01:00
|
|
|
OPTIONS_DEFINE= ALSA DBUS JACK LADSPA LASH PORTAUDIO PULSEAUDIO \
|
|
|
|
READLINE SDL SNDFILE SNDIO
|
2017-03-04 13:08:58 +01:00
|
|
|
OPTIONS_DEFAULT= JACK READLINE
|
2006-02-22 20:53:23 +01:00
|
|
|
|
2016-04-01 15:29:15 +02:00
|
|
|
JACK_LIB_DEPENDS= libjack.so:audio/jack
|
2018-05-07 15:55:33 +02:00
|
|
|
JACK_CMAKE_BOOL= enable-jack
|
2013-10-04 18:57:30 +02:00
|
|
|
|
2016-04-01 15:29:15 +02:00
|
|
|
ALSA_LIB_DEPENDS= libasound.so:audio/alsa-lib
|
2018-05-07 15:55:33 +02:00
|
|
|
ALSA_CMAKE_BOOL= enable-alsa
|
2013-10-04 18:57:30 +02:00
|
|
|
|
2016-04-01 15:29:15 +02:00
|
|
|
DBUS_LIB_DEPENDS= libdbus-1.so:devel/dbus
|
2018-05-07 15:55:33 +02:00
|
|
|
DBUS_CMAKE_BOOL= enable-dbus
|
2013-10-04 18:57:30 +02:00
|
|
|
|
2016-04-01 15:29:15 +02:00
|
|
|
LADSPA_BUILD_DEPENDS= ${LOCALBASE}/include/ladspa.h:audio/ladspa
|
|
|
|
LADSPA_RUN_DEPENDS= ${LOCALBASE}/include/ladspa.h:audio/ladspa
|
2020-02-22 12:53:16 +01:00
|
|
|
LADSPA_USES= localbase
|
2018-05-07 15:55:33 +02:00
|
|
|
LADSPA_CMAKE_BOOL= enable-ladspa
|
2013-10-04 18:57:30 +02:00
|
|
|
|
2016-04-01 15:29:15 +02:00
|
|
|
LASH_LIB_DEPENDS= liblash.so:audio/lash
|
2018-05-07 15:55:33 +02:00
|
|
|
LASH_CMAKE_BOOL= enable-lash
|
2013-10-04 18:57:30 +02:00
|
|
|
|
2016-04-01 15:29:15 +02:00
|
|
|
PORTAUDIO_LIB_DEPENDS= libportaudio.so:audio/portaudio
|
2018-05-07 15:55:33 +02:00
|
|
|
PORTAUDIO_CMAKE_BOOL= enable-portaudio
|
2013-10-04 18:57:30 +02:00
|
|
|
|
2016-04-01 15:29:15 +02:00
|
|
|
PULSEAUDIO_LIB_DEPENDS= libpulse.so:audio/pulseaudio
|
2018-05-07 15:55:33 +02:00
|
|
|
PULSEAUDIO_CMAKE_BOOL= enable-pulseaudio
|
2013-10-04 18:57:30 +02:00
|
|
|
|
2017-03-04 13:08:58 +01:00
|
|
|
READLINE_USES= readline
|
2018-05-07 15:55:33 +02:00
|
|
|
READLINE_CMAKE_BOOL= enable-readline
|
2017-03-04 13:08:58 +01:00
|
|
|
|
2019-12-02 07:36:12 +01:00
|
|
|
SDL_USES= sdl
|
|
|
|
SDL_USE= SDL=sdl2
|
|
|
|
SDL_CMAKE_BOOL= enable-sdl2
|
|
|
|
|
2016-04-01 15:29:15 +02:00
|
|
|
SNDFILE_LIB_DEPENDS= libsndfile.so:audio/libsndfile
|
2018-05-07 15:55:33 +02:00
|
|
|
SNDFILE_CMAKE_BOOL= enable-libsndfile
|
2010-01-05 00:14:28 +01:00
|
|
|
|
2016-12-17 14:41:32 +01:00
|
|
|
SNDIO_LIB_DEPENDS= libsndio.so:audio/sndio
|
2018-05-07 15:55:33 +02:00
|
|
|
SNDIO_CMAKE_BOOL= enable-sndio
|
2016-12-17 14:41:32 +01:00
|
|
|
|
2003-12-04 12:51:39 +01:00
|
|
|
post-patch:
|
2016-12-17 14:41:32 +01:00
|
|
|
${CP} ${FILESDIR}/fluid_sndio.c ${WRKSRC}/src/drivers/
|
2003-12-04 12:51:39 +01:00
|
|
|
|
2013-10-04 18:57:30 +02:00
|
|
|
.include <bsd.port.mk>
|