blob: 4130840ef45f7aad860296bfb3bc504f353dbb45 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
|
PORTNAME= fluidsynth
DISTVERSIONPREFIX= v
DISTVERSION= 2.4.1
CATEGORIES= audio
MAINTAINER= multimedia@FreeBSD.org
COMMENT= Real-time software synthesizer based on the SoundFont 2 specifications
WWW= https://www.fluidsynth.org/
LICENSE= LGPL21
LICENSE_FILE= ${WRKSRC}/LICENSE
USES= cmake cpe gnome pathfix pkgconfig
USE_GITHUB= yes
GH_ACCOUNT= FluidSynth
USE_GNOME= glib20
USE_LDCONFIG= yes
LDFLAGS+= -lpthread
# would require unreleased libinstpatch >= 1.1.0
CMAKE_OFF= enable-dsound \
enable-libinstpatch \
enable-midishare \
enable-waveout \
enable-winmidi
CMAKE_ON= CMAKE_DISABLE_FIND_PACKAGE_Doxygen \
CMAKE_DISABLE_FIND_PACKAGE_Git
OPTIONS_DEFINE= ALSA DBUS JACK LADSPA PIPEWIRE PORTAUDIO \
PULSEAUDIO READLINE SDL SNDFILE
OPTIONS_DEFAULT= JACK READLINE
SNDFILE_DESC= Support for SF3 files via libsndfile
ALSA_LIB_DEPENDS= libasound.so:audio/alsa-lib
ALSA_CMAKE_BOOL= enable-alsa
ALSA_CMAKE_OFF= -DCMAKE_DISABLE_FIND_PACKAGE_ALSA:BOOL=True
DBUS_LIB_DEPENDS= libdbus-1.so:devel/dbus
DBUS_CMAKE_BOOL= enable-dbus
DBUS_CMAKE_OFF= -DCMAKE_DISABLE_FIND_PACKAGE_DBus1:BOOL=True
JACK_LIB_DEPENDS= libjack.so:audio/jack
JACK_CMAKE_BOOL= enable-jack
JACK_CMAKE_OFF= -DCMAKE_DISABLE_FIND_PACKAGE_Jack:BOOL=True
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
PIPEWIRE_LIB_DEPENDS= libpipewire-0.3.so:multimedia/pipewire
PIPEWIRE_CMAKE_BOOL= enable-pipewire
PIPEWIRE_CMAKE_OFF= -DCMAKE_DISABLE_FIND_PACKAGE_PipeWire:BOOL=True
PORTAUDIO_LIB_DEPENDS= libportaudio.so:audio/portaudio
PORTAUDIO_CMAKE_BOOL= enable-portaudio
PORTAUDIO_CMAKE_OFF= -DCMAKE_DISABLE_FIND_PACKAGE_PortAudio:BOOL=True
PULSEAUDIO_LIB_DEPENDS= libpulse.so:audio/pulseaudio
PULSEAUDIO_CMAKE_BOOL= enable-pulseaudio
PULSEAUDIO_CMAKE_OFF= -DCMAKE_DISABLE_FIND_PACKAGE_PulseAudio:BOOL=True
READLINE_USES= readline
READLINE_CMAKE_BOOL= enable-readline
READLINE_CMAKE_OFF= -DCMAKE_DISABLE_FIND_PACKAGE_Readline:BOOL=True
SDL_USES= sdl
SDL_USE= SDL=sdl2
SDL_CMAKE_BOOL= enable-sdl2
SDL_CMAKE_OFF= -DCMAKE_DISABLE_FIND_PACKAGE_SDL2:BOOL=True
SNDFILE_LIB_DEPENDS= libsndfile.so:audio/libsndfile
SNDFILE_CMAKE_BOOL= enable-libsndfile
.include <bsd.port.mk>
|