diff options
author | Martin Wilke <miwi@FreeBSD.org> | 2011-11-18 20:07:20 +0000 |
---|---|---|
committer | Martin Wilke <miwi@FreeBSD.org> | 2011-11-18 20:07:20 +0000 |
commit | 151664cac43b64d05fd9f315669d4b4bf2e67503 (patch) | |
tree | 339877a9f9d4a2b5a07e6adf1f5172f8cf3620d5 /audio/fluidsynth | |
parent | 42317424a2c61323f23a2007ea3caa37822bdbc4 (diff) | |
download | ports-151664cac43b64d05fd9f315669d4b4bf2e67503.tar.gz ports-151664cac43b64d05fd9f315669d4b4bf2e67503.zip |
- Update to 1.5.1
PR: 161631
Submitted by: Ports Fury
Feature safe: yes
Notes
Notes:
svn path=/head/; revision=286023
Diffstat (limited to 'audio/fluidsynth')
-rw-r--r-- | audio/fluidsynth/Makefile | 70 | ||||
-rw-r--r-- | audio/fluidsynth/distinfo | 4 | ||||
-rw-r--r-- | audio/fluidsynth/files/patch-src__Makefile.in | 22 | ||||
-rw-r--r-- | audio/fluidsynth/pkg-plist | 5 |
4 files changed, 51 insertions, 50 deletions
diff --git a/audio/fluidsynth/Makefile b/audio/fluidsynth/Makefile index 4e73aca0ae3c..1ee3c6bd69ed 100644 --- a/audio/fluidsynth/Makefile +++ b/audio/fluidsynth/Makefile @@ -6,71 +6,95 @@ # PORTNAME= fluidsynth -PORTVERSION= 1.1.1 +PORTVERSION= 1.1.5 CATEGORIES= audio -MASTER_SITES= SAVANNAH/fluid +MASTER_SITES= SF/${PORTNAME}/${PORTNAME}-${PORTVERSION} MAINTAINER= multimedia@FreeBSD.org COMMENT= Real-time software synthesizer based on the SoundFont 2 specifications +LICENSE= GPLv2 # (or later) +LICENSE_FILE= ${WRKSRC}/COPYING + OPTIONS= JACK "Enable Jack audio support" On \ + ALSA "Enable ALSA audio support" Off \ + DBUS "Enable D-Bus support" Off \ LADSPA "Enable LADSPA audio support" Off \ + LASH "Enable LASH audio support" Off \ PORTAUDIO "Enable PortAudio support" Off \ PULSEAUDIO "Enable PulseAudio support" Off \ SNDFILE "Enable Libsndfile support" Off -USE_GNOME= glib20 gnomehack pkgconfig -USE_GMAKE= yes -USE_AUTOTOOLS= libtool -CONFIGURE_ARGS= --disable-alsa-support --disable-midishare \ - --disable-coreaudio --disable-coremidi \ - --disable-dart --disable-lash \ - --disable-ladcca +USE_BZIP2= yes +USE_GNOME= glib20 pkgconfig +USE_CMAKE= yes +CMAKE_ARGS= -Denable-ladcca:BOOL=FALSE \ + -Denable-midishare:BOOL=FALSE USE_LDCONFIG= yes -MAN1= fluidsynth.1 +CFLAGS+= ${PTHREAD_CFLAGS} +LDFLAGS+= ${PTHREAD_LIBS} -CPPFLAGS+= ${PA2_CFLAGS} -I${LOCALBASE}/include ${PTHREAD_CFLAGS} -LDFLAGS+= ${PA2_LIBS} -L${LOCALBASE}/lib ${PTHREAD_LIBS} +MAN1= fluidsynth.1 .include <bsd.port.pre.mk> .if defined(WITH_JACK) LIB_DEPENDS+= jack.0:${PORTSDIR}/audio/jack .else -CONFIGURE_ARGS+= --disable-jack-support +CMAKE_ARGS+= -Denable-jack:BOOL=FALSE +.endif + +.if defined(WITH_ALSA) +LIB_DEPENDS+= asound.2:${PORTSDIR}/audio/alsa-lib +.else +CMAKE_ARGS+= -Denable-alsa:BOOL=FALSE +.endif + +.if defined(WITH_DBUS) +LIB_DEPENDS+= dbus-1.3:${PORTSDIR}/devel/dbus +.else +CMAKE_ARGS+= -Denable-dbus:BOOL=FALSE .endif .if defined(WITH_LADSPA) BUILD_DEPENDS+= ${LOCALBASE}/include/ladspa.h:${PORTSDIR}/audio/ladspa RUN_DEPENDS+= ${LOCALBASE}/include/ladspa.h:${PORTSDIR}/audio/ladspa -CONFIGURE_ARGS+= --enable-ladspa +CMAKE_ARGS+= -Denable-ladspa:BOOL=TRUE +.endif + +.if defined(WITH_LASH) +LIB_DEPENDS+= lash:${PORTSDIR}/audio/lash +.else +CMAKE_ARGS+= -Denable-lash:BOOL=FALSE .endif .if defined(WITH_PORTAUDIO) BUILD_DEPENDS+= ${LOCALBASE}/include/portaudio2/portaudio.h:${PORTSDIR}/audio/portaudio2 RUN_DEPENDS+= ${LOCALBASE}/include/portaudio2/portaudio.h:${PORTSDIR}/audio/portaudio2 -PA2_CFLAGS= `pkg-config --cflags-only-I portaudio-2.0` -PA2_LIBS= `pkg-config --libs-only-L portaudio-2.0` -.else -CONFIGURE_ARGS+= --disable-portaudio-support +CMAKE_ARGS+= -Denable-portaudio:BOOL=TRUE .endif .if defined(WITH_PULSEAUDIO) LIB_DEPENDS+= pulse.0:${PORTSDIR}/audio/pulseaudio .else -CONFIGURE_ARGS+= --disable-pulse-support +CMAKE_ARGS+= -Denable-pulseaudio:BOOL=FALSE .endif .if defined(WITH_SNDFILE) LIB_DEPENDS+= sndfile.1:${PORTSDIR}/audio/libsndfile .else -CONFIGURE_ARGS+= --disable-libsndfile-support +CMAKE_ARGS+= -Denable-libsndfile:BOOL=FALSE .endif post-patch: - @${REINPLACE_CMD} -e 's| -O2 | |g ; \ - s|== "yes"|= "yes"|g' ${WRKSRC}/configure - @${REINPLACE_CMD} -e '197 s/,/ /' ${WRKSRC}/include/fluidsynth/synth.h + @${REINPLACE_CMD} -e \ + '/Linux/s|^|#| ; \ + /_init_lib_suffix/s|"64"|""| ; \ + /CMAKE_C_FLAGS_RELEASE/s|-O2|| ; \ + s|enable_midishare|enable-midishare| ; \ + s|$${LIB_INSTALL_DIR}$${LIB_SUFFIX}/pkgconfig|$${CMAKE_INSTALL_PREFIX}/libdata/pkgconfig|' ${WRKSRC}/CMakeLists.txt + @${REINPLACE_CMD} -e \ + 's|share/man|man|' ${WRKSRC}/cmake_admin/DefaultDirs.cmake .include <bsd.port.post.mk> diff --git a/audio/fluidsynth/distinfo b/audio/fluidsynth/distinfo index 175ccf96d136..c1edb1e7e8a1 100644 --- a/audio/fluidsynth/distinfo +++ b/audio/fluidsynth/distinfo @@ -1,2 +1,2 @@ -SHA256 (fluidsynth-1.1.1.tar.gz) = 55638cb04f39f4df76c081e22ca7feeea58ddd20ebf779a7db2d38b1ff374cd6 -SIZE (fluidsynth-1.1.1.tar.gz) = 756184 +SHA256 (fluidsynth-1.1.5.tar.bz2) = 44b40ee28f0ed1718c924d8a175e30381431edfb9320026480d56daf7351e3f4 +SIZE (fluidsynth-1.1.5.tar.bz2) = 800195 diff --git a/audio/fluidsynth/files/patch-src__Makefile.in b/audio/fluidsynth/files/patch-src__Makefile.in deleted file mode 100644 index ec08afc27d51..000000000000 --- a/audio/fluidsynth/files/patch-src__Makefile.in +++ /dev/null @@ -1,22 +0,0 @@ ---- src/Makefile.in.orig 2009-10-31 04:23:15.000000000 +0900 -+++ src/Makefile.in 2009-11-03 15:44:55.000000000 +0900 -@@ -397,13 +397,15 @@ - fluid_filerenderer.c \ - fluid_aufile.c - --INCLUDES = -I$(top_srcdir)/include $(LASH_CFLAGS) $(LADCCA_CFLAGS) \ -+INCLUDES = -I$(top_srcdir)/include \ -+ $(PORTAUDIO_CFLAGS) $(LASH_CFLAGS) $(LADCCA_CFLAGS) \ - $(READLINE_CFLAGS) $(JACK_CFLAGS) $(ALSA_CFLAGS) $(PULSE_CFLAGS) \ -- $(PORTAUDIO_CFLAGS) $(DART_CFLAGS) $(GLIB_CFLAGS) $(LIBSNDFILE_CFLAGS) -+ $(DART_CFLAGS) $(GLIB_CFLAGS) $(LIBSNDFILE_CFLAGS) - --libfluidsynth_la_LIBADD = $(LIBFLUID_LIBS) $(LASH_LIBS) $(LADCCA_LIBS) \ -+libfluidsynth_la_LIBADD = $(LIBFLUID_LIBS) \ -+ $(PORTAUDIO_LIBS) $(LASH_LIBS) $(LADCCA_LIBS) \ - $(READLINE_LIBS) $(COREAUDIO_LIBS) $(COREMIDI_LIBS) $(JACK_LIBS) \ -- $(ALSA_LIBS) $(PULSE_LIBS) $(PORTAUDIO_LIBS) $(DART_LIBS) \ -+ $(ALSA_LIBS) $(PULSE_LIBS) $(DART_LIBS) \ - $(GLIB_LIBS) $(LIBSNDFILE_LIBS) - - libfluidsynth_la_LDFLAGS = \ diff --git a/audio/fluidsynth/pkg-plist b/audio/fluidsynth/pkg-plist index 29a8e1aa6ae7..53037850bdd7 100644 --- a/audio/fluidsynth/pkg-plist +++ b/audio/fluidsynth/pkg-plist @@ -17,9 +17,8 @@ include/fluidsynth/synth.h include/fluidsynth/types.h include/fluidsynth/version.h include/fluidsynth/voice.h -lib/libfluidsynth.a -lib/libfluidsynth.la lib/libfluidsynth.so -lib/libfluidsynth.so.4 +lib/libfluidsynth.so.1 +lib/libfluidsynth.so.1.5.1 libdata/pkgconfig/fluidsynth.pc @dirrm include/fluidsynth |