freebsd-ports/audio/fluidsynth/Makefile

69 lines
1.7 KiB
Makefile
Raw Normal View History

# Created by: Juha Nygard <juha.nygard1@netikka.fi>
# $FreeBSD$
PORTNAME= fluidsynth
DISTVERSIONPREFIX= v
DISTVERSION= 2.1.2
CATEGORIES= audio
MAINTAINER= multimedia@FreeBSD.org
COMMENT= Real-time software synthesizer based on the SoundFont 2 specifications
LICENSE= LGPL21
LICENSE_FILE= ${WRKSRC}/LICENSE
USES= cmake gnome pkgconfig
USE_GITHUB= yes
GH_ACCOUNT= FluidSynth
USE_GNOME= glib20
USE_LDCONFIG= yes
# would require unreleased libinstpatch >= 1.1.0
CMAKE_OFF= enable-libinstpatch enable-midishare
LDFLAGS+= -lpthread
OPTIONS_DEFINE= ALSA DBUS JACK LADSPA LASH PORTAUDIO PULSEAUDIO \
READLINE SDL SNDFILE SNDIO
OPTIONS_DEFAULT= JACK READLINE
JACK_LIB_DEPENDS= libjack.so:audio/jack
JACK_CMAKE_BOOL= enable-jack
2013-10-04 18:57:30 +02:00
ALSA_LIB_DEPENDS= libasound.so:audio/alsa-lib
ALSA_CMAKE_BOOL= enable-alsa
2013-10-04 18:57:30 +02:00
DBUS_LIB_DEPENDS= libdbus-1.so:devel/dbus
DBUS_CMAKE_BOOL= enable-dbus
2013-10-04 18:57:30 +02:00
LADSPA_BUILD_DEPENDS= ${LOCALBASE}/include/ladspa.h:audio/ladspa
LADSPA_RUN_DEPENDS= ${LOCALBASE}/include/ladspa.h:audio/ladspa
LADSPA_USES= localbase
LADSPA_CMAKE_BOOL= enable-ladspa
2013-10-04 18:57:30 +02:00
LASH_LIB_DEPENDS= liblash.so:audio/lash
LASH_CMAKE_BOOL= enable-lash
2013-10-04 18:57:30 +02:00
PORTAUDIO_LIB_DEPENDS= libportaudio.so:audio/portaudio
PORTAUDIO_CMAKE_BOOL= enable-portaudio
2013-10-04 18:57:30 +02:00
PULSEAUDIO_LIB_DEPENDS= libpulse.so:audio/pulseaudio
PULSEAUDIO_CMAKE_BOOL= enable-pulseaudio
2013-10-04 18:57:30 +02:00
READLINE_USES= readline
READLINE_CMAKE_BOOL= enable-readline
SDL_USES= sdl
SDL_USE= SDL=sdl2
SDL_CMAKE_BOOL= enable-sdl2
SNDFILE_LIB_DEPENDS= libsndfile.so:audio/libsndfile
SNDFILE_CMAKE_BOOL= enable-libsndfile
SNDIO_LIB_DEPENDS= libsndio.so:audio/sndio
SNDIO_CMAKE_BOOL= enable-sndio
post-patch:
${CP} ${FILESDIR}/fluid_sndio.c ${WRKSRC}/src/drivers/
2013-10-04 18:57:30 +02:00
.include <bsd.port.mk>