View | Details | Raw Unified | Return to bug 142312
Collapse All | Expand All

(-)audio/fluidsynth/Makefile (-12 / +36 lines)
Lines 6-35 Link Here
6
#
6
#
7
7
8
PORTNAME=	fluidsynth
8
PORTNAME=	fluidsynth
9
PORTVERSION=	1.0.8
9
PORTVERSION=	1.1.1
10
CATEGORIES=	audio
10
CATEGORIES=	audio
11
MASTER_SITES=	${MASTER_SITE_SAVANNAH}
11
MASTER_SITES=	SAVANNAH/fluid
12
MASTER_SITE_SUBDIR=	fluid
13
12
14
MAINTAINER=	multimedia@FreeBSD.org
13
MAINTAINER=	multimedia@FreeBSD.org
15
COMMENT=	Real-time software synthesizer based on the SoundFont 2 specifications
14
COMMENT=	Real-time software synthesizer based on the SoundFont 2 specifications
16
15
17
WRKSRC=		${WRKDIR}/${PORTNAME}-${PORTVERSION:S/a//}
16
OPTIONS=	JACK "Enable Jack audio support" On \
17
		LADSPA "Enable LADSPA audio support" Off \
18
		PORTAUDIO "Enable PortAudio support" Off \
19
		PULSEAUDIO "Enable PulseAudio support" Off \
20
		SNDFILE "Enable Libsndfile support" Off
18
21
19
USE_GNOME=	gnomehack gnometarget pkgconfig
22
USE_GNOME=	glib20 gnomehack pkgconfig
20
USE_GMAKE=	yes
23
USE_GMAKE=	yes
21
GNU_CONFIGURE=	yes
24
USE_AUTOTOOLS=	libtool:22
22
CONFIGURE_ENV=	CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
25
CONFIGURE_ENV=	CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
23
CONFIGURE_ARGS=	--disable-lash --disable-ladcca
26
CONFIGURE_ARGS=	--disable-alsa-support --disable-midishare \
27
		--disable-coreaudio --disable-coremidi \
28
		--disable-dart --disable-lash \
29
		--disable-ladcca
24
USE_LDCONFIG=	yes
30
USE_LDCONFIG=	yes
25
31
26
MAN1=		fluidsynth.1
32
MAN1=		fluidsynth.1
27
33
28
CPPFLAGS=	-I${LOCALBASE}/include ${PTHREAD_CFLAGS}
34
CPPFLAGS=	${PA2_CFLAGS} -I${LOCALBASE}/include ${PTHREAD_CFLAGS}
29
LDFLAGS=	-L${LOCALBASE}/lib ${PTHREAD_LIBS}
35
LDFLAGS=	${PA2_LIBS} -L${LOCALBASE}/lib ${PTHREAD_LIBS}
30
31
OPTIONS=	JACK "Enable Jack audio support" On \
32
		LADSPA "Enable LADSPA audio support" Off
33
36
34
.include <bsd.port.pre.mk>
37
.include <bsd.port.pre.mk>
35
38
Lines 45-50 Link Here
45
CONFIGURE_ARGS+=	--enable-ladspa
48
CONFIGURE_ARGS+=	--enable-ladspa
46
.endif
49
.endif
47
50
51
.if defined(WITH_PORTAUDIO)
52
BUILD_DEPENDS+=	${LOCALBASE}/include/portaudio2/portaudio.h:${PORTSDIR}/audio/portaudio2
53
RUN_DEPENDS+=	${LOCALBASE}/include/portaudio2/portaudio.h:${PORTSDIR}/audio/portaudio2
54
PA2_CFLAGS=	`pkg-config --cflags-only-I portaudio-2.0`
55
PA2_LIBS=	`pkg-config --libs-only-L portaudio-2.0`
56
.else
57
CONFIGURE_ARGS+=	--disable-portaudio-support
58
.endif
59
60
.if defined(WITH_PULSEAUDIO)
61
LIB_DEPENDS+=	pulse.0:${PORTSDIR}/audio/pulseaudio
62
.else
63
CONFIGURE_ARGS+=	--disable-pulse-support
64
.endif
65
66
.if defined(WITH_SNDFILE)
67
LIB_DEPENDS+=	sndfile.1:${PORTSDIR}/audio/libsndfile
68
.else
69
CONFIGURE_ARGS+=	--disable-libsndfile-support
70
.endif
71
48
post-patch:
72
post-patch:
49
	@${REINPLACE_CMD} -e 's| -O2 | |g ; \
73
	@${REINPLACE_CMD} -e 's| -O2 | |g ; \
50
		 s|== "yes"|= "yes"|g' ${WRKSRC}/configure
74
		 s|== "yes"|= "yes"|g' ${WRKSRC}/configure
(-)audio/fluidsynth/distinfo (-3 / +3 lines)
Lines 1-3 Link Here
1
MD5 (fluidsynth-1.0.8.tar.gz) = e2abfd2e69fd8b28d965df968d7d44ee
1
MD5 (fluidsynth-1.1.1.tar.gz) = 0db3da78028d255026230809c6e21b44
2
SHA256 (fluidsynth-1.0.8.tar.gz) = 45e7c9967d0fb0344f4da539ab343fb979384b36a429a8594c94cf466dff4320
2
SHA256 (fluidsynth-1.1.1.tar.gz) = 55638cb04f39f4df76c081e22ca7feeea58ddd20ebf779a7db2d38b1ff374cd6
3
SIZE (fluidsynth-1.0.8.tar.gz) = 1267922
3
SIZE (fluidsynth-1.1.1.tar.gz) = 756184
(-)audio/fluidsynth/files/patch-src__Makefile.in (+22 lines)
Line 0 Link Here
1
--- src/Makefile.in.orig	2009-10-31 04:23:15.000000000 +0900
2
+++ src/Makefile.in	2009-11-03 15:44:55.000000000 +0900
3
@@ -397,13 +397,15 @@
4
 	fluid_filerenderer.c \
5
 	fluid_aufile.c 
6
 
7
-INCLUDES = -I$(top_srcdir)/include $(LASH_CFLAGS) $(LADCCA_CFLAGS) \
8
+INCLUDES = -I$(top_srcdir)/include \
9
+  $(PORTAUDIO_CFLAGS) $(LASH_CFLAGS) $(LADCCA_CFLAGS) \
10
   $(READLINE_CFLAGS) $(JACK_CFLAGS) $(ALSA_CFLAGS) $(PULSE_CFLAGS) \
11
-  $(PORTAUDIO_CFLAGS) $(DART_CFLAGS) $(GLIB_CFLAGS) $(LIBSNDFILE_CFLAGS)
12
+  $(DART_CFLAGS) $(GLIB_CFLAGS) $(LIBSNDFILE_CFLAGS)
13
 
14
-libfluidsynth_la_LIBADD = $(LIBFLUID_LIBS) $(LASH_LIBS) $(LADCCA_LIBS) \
15
+libfluidsynth_la_LIBADD = $(LIBFLUID_LIBS) \
16
+  $(PORTAUDIO_LIBS) $(LASH_LIBS) $(LADCCA_LIBS) \
17
   $(READLINE_LIBS) $(COREAUDIO_LIBS) $(COREMIDI_LIBS) $(JACK_LIBS) \
18
-  $(ALSA_LIBS) $(PULSE_LIBS) $(PORTAUDIO_LIBS) $(DART_LIBS)  \
19
+  $(ALSA_LIBS) $(PULSE_LIBS) $(DART_LIBS)  \
20
   $(GLIB_LIBS) $(LIBSNDFILE_LIBS)
21
 
22
 libfluidsynth_la_LDFLAGS = \
(-)audio/fluidsynth/pkg-plist (-1 / +1 lines)
Lines 20-25 Link Here
20
lib/libfluidsynth.a
20
lib/libfluidsynth.a
21
lib/libfluidsynth.la
21
lib/libfluidsynth.la
22
lib/libfluidsynth.so
22
lib/libfluidsynth.so
23
lib/libfluidsynth.so.2
23
lib/libfluidsynth.so.4
24
libdata/pkgconfig/fluidsynth.pc
24
libdata/pkgconfig/fluidsynth.pc
25
@dirrm include/fluidsynth
25
@dirrm include/fluidsynth

Return to bug 142312