Skip to content

Commit

Permalink
fluidsynth: Update to 2.0.7
Browse files Browse the repository at this point in the history
Switched to github for upstream, build system now uses cmake.

Changes in major release 2.0.0:

New Features

    implement polyphonic key pressure (#185, thanks to @mawe42)
    add API for manipulating default modulators (#265, #164, #71, thanks to @mawe42)
    add midi.autoconnect setting for automatically connecting fluidsynth with available MIDI Input ports (currently only for alsa_seq thanks to @tomcucinotta)
    add seek support to midi-player (#261, thanks to @loki666)
    add support for text and lyrics midi events (#111)
    add support for 24 bit sample soundfonts (#301, #329)
    consider "important midi channels" during overflow calculation synth.overflow.important-channels (#294, thanks to @mawe42)
    add a custom default modulator for MIDI CC8 to support proper stereo balance (#317, thanks to @mawe42)
    add support for an additional custom high-pass filter (#331, thanks to @mawe42)
    incorporate JJC's polymono patch (#306, #236, #158)
        add basic channel support
        implement MIDI modes Omni On, Omni Off, Poly, Mono
        implement portamento control
        implement legato control
        implement breath control
    add support soundfont loading from memory (#241)
    add a profiling command interface (#345, thanks to @jjceresa)
    add support on demand sample loading (#366, thanks to @mawe42)
    add reverb and chorus settings (#49)
    allow using the midi router to manipulate midi files when playing from command line
    fluid_synth_process() received a new proper implementation
    synth.effects-groups allows to render effects of all MIDI channels to separate audio channels

General

    CMake 3.1.0 or later is required for building
    consider channel pressure, key pressure and pitch wheel for lower attenuation boundary calculation (#163, thanks to @mawe42)
    complete rewrite of the LADSPA subsystem (#227, #235, thanks to @mawe42)
    complete rewrite of the Soundfont Loader API (#334, #309)
    avoid reverb amplitude growing exponentially (#279, thanks to @jjceresa)
    removed deprecated autotools build system
    a minimal build of fluidsynth without requiring pkg-config is supported
    remove deprecated LADCCA support
    use unique device names for the audio.portaudio.device setting (#284, thanks to @jjceresa)
    documentation of the settings moved to http://www.fluidsynth.org/api/fluidsettings.xml
    adjust MIDI Pan and Balance calculations as outlined by MIDI Recommended Practice (RP-036) (#317, thanks to @mawe42)
    make network support compile-time optional (#307, thanks to @carlo-bramini)
    speed up calculation of chorus modulation waveforms for devices without FPU (#321, thanks to @carlo-bramini)
    cleanup internal audio rendering and mixing engine (#197)
    reduce memory consumption of loaded soundfonts (#370, thanks to @mawe42)
  • Loading branch information
alarixnia committed Oct 6, 2019
1 parent 79370c2 commit 78f8f16
Show file tree
Hide file tree
Showing 8 changed files with 38 additions and 191 deletions.
42 changes: 28 additions & 14 deletions audio/fluidsynth/Makefile
Original file line number Diff line number Diff line change
@@ -1,32 +1,46 @@
# $NetBSD: Makefile,v 1.26 2019/07/06 18:52:06 nia Exp $
# $NetBSD: Makefile,v 1.27 2019/10/06 17:29:33 nia Exp $

DISTNAME= fluidsynth-1.1.6
PKGREVISION= 2
DISTNAME= fluidsynth-2.0.7
CATEGORIES= audio
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=fluidsynth/}
EXTRACT_SUFX= .tar.bz2
MASTER_SITES= ${MASTER_SITE_GITHUB:=FluidSynth/}
GITHUB_TAG= v${PKGVERSION_NOREV}

MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://www.fluidsynth.org/
COMMENT= Software synthesizer based on SoundFont2
LICENSE= gnu-lgpl-v2

USE_LIBTOOL= yes
USE_TOOLS+= pkg-config
GNU_CONFIGURE= yes
PKGCONFIG_OVERRIDE= fluidsynth.pc.in
PTHREAD_AUTO_VARS= yes
USE_CMAKE= yes
USE_TOOLS+= pkg-config

CPPFLAGS+= -DDEVOSSAUDIO="\"${DEVOSSAUDIO}\""
LDFLAGS+= ${LIBOSSAUDIO}
CMAKE_ARGS+= -DMAN_INSTALL_DIR=${PREFIX}/${PKGMANDIR}/man1
CMAKE_ARGS+= -DLIB_SUFFIX=""

PKGCONFIG_OVERRIDE= fluidsynth.pc.in

CPPFLAGS.SunOS+= -Du_int8_t=uint8_t -Du_int16_t=uint16_t
CPPFLAGS.SunOS+= -Du_int32_t=uint32_t -Du_int64_t=uint64_t
CPPFLAGS.SunOS+= -DSOUND_PCM_WRITE_CHANNELS=SNDCTL_DSP_CHANNELS
LIBS.SunOS+= -lsocket
LDFLAGS.SunOS+= -lsocket

.include "../../devel/glib2/buildlink3.mk"
.include "../../mk/bsd.prefs.mk"
.include "../../mk/oss.buildlink3.mk"

.if ${OSS_TYPE} != "none"
LDFLAGS+= ${LIBOSSAUDIO}
SUBST_CLASSES+= oss
SUBST_STAGE.oss= pre-configure
SUBST_MESSAGE.oss= Correcting the path to the OSS device.
SUBST_FILES.oss+= src/drivers/fluid_oss.c
SUBST_SED.oss+= -e "s,/dev/dsp,${DEVOSSAUDIO},g"
. if ${OPSYS} == "NetBSD"
SUBST_SED.oss+= -e "s,/dev/midi,/dev/rmidi0,g"
. endif
.endif

.include "../../audio/libsndfile/buildlink3.mk"
.include "../../devel/libgetopt/buildlink3.mk"
.include "../../devel/glib2/buildlink3.mk"
.include "../../mk/readline.buildlink3.mk"
.include "../../mk/oss.buildlink3.mk"
.include "../../mk/pthread.buildlink3.mk"
Expand Down
8 changes: 5 additions & 3 deletions audio/fluidsynth/PLIST
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
@comment $NetBSD: PLIST,v 1.2 2009/06/14 17:32:08 joerg Exp $
@comment $NetBSD: PLIST,v 1.3 2019/10/06 17:29:33 nia Exp $
bin/fluidsynth
include/fluidsynth.h
include/fluidsynth/audio.h
include/fluidsynth/event.h
include/fluidsynth/gen.h
include/fluidsynth/ladspa.h
include/fluidsynth/log.h
include/fluidsynth/midi.h
include/fluidsynth/misc.h
include/fluidsynth/mod.h
include/fluidsynth/ramsfont.h
include/fluidsynth/seq.h
include/fluidsynth/seqbind.h
include/fluidsynth/settings.h
Expand All @@ -18,6 +18,8 @@ include/fluidsynth/synth.h
include/fluidsynth/types.h
include/fluidsynth/version.h
include/fluidsynth/voice.h
lib/libfluidsynth.la
lib/libfluidsynth.so
lib/libfluidsynth.so.2
lib/libfluidsynth.so.2.2.0
lib/pkgconfig/fluidsynth.pc
man/man1/fluidsynth.1
14 changes: 5 additions & 9 deletions audio/fluidsynth/distinfo
Original file line number Diff line number Diff line change
@@ -1,10 +1,6 @@
$NetBSD: distinfo,v 1.14 2015/11/03 01:12:31 agc Exp $
$NetBSD: distinfo,v 1.15 2019/10/06 17:29:33 nia Exp $

SHA1 (fluidsynth-1.1.6.tar.bz2) = 1d45fc3263d85f867efd809bdacb5d6116243c35
RMD160 (fluidsynth-1.1.6.tar.bz2) = 27b17e1e097004dd3cf8fb88d8e4499eeb339ea8
SHA512 (fluidsynth-1.1.6.tar.bz2) = 0ead8bf86c0edf6d98044eb16b52b85fac8bc3bdeb9c1478d0bceb4f5b38ca28218fcf2cd18cdd5608190dc70b7c39bde681765d01787bc84bc97c6ab3bbf946
Size (fluidsynth-1.1.6.tar.bz2) = 823783 bytes
SHA1 (patch-aa) = 16279c3f937b903cdfbc1a26b67606500e33a546
SHA1 (patch-ac) = 81ca2243404a4fd1a3f93da82116c276db7fb42c
SHA1 (patch-ad) = edb221360d033804d04c15560a80e9d08e8406bc
SHA1 (patch-ae) = a536d0d16e7b4a138e69b0b0d91f2926e0675e45
SHA1 (fluidsynth-2.0.7.tar.gz) = fd92957fbb915598361cb16249f190ce0f01416c
RMD160 (fluidsynth-2.0.7.tar.gz) = 3f71d90e4f46609cd3eae32ae7916be098b7b161
SHA512 (fluidsynth-2.0.7.tar.gz) = c939c77277767541b90ae8bc24687cd9cd11b375264e6b5017658f5fd9c5637a3ce09bc4ad837a349e4a63883fe5ecbe80e65dd91d2cbf71072bcbcfc068614e
Size (fluidsynth-2.0.7.tar.gz) = 1315250 bytes
10 changes: 0 additions & 10 deletions audio/fluidsynth/hacks.mk

This file was deleted.

67 changes: 0 additions & 67 deletions audio/fluidsynth/patches/patch-aa

This file was deleted.

22 changes: 0 additions & 22 deletions audio/fluidsynth/patches/patch-ac

This file was deleted.

13 changes: 0 additions & 13 deletions audio/fluidsynth/patches/patch-ad

This file was deleted.

53 changes: 0 additions & 53 deletions audio/fluidsynth/patches/patch-ae

This file was deleted.

0 comments on commit 78f8f16

Please sign in to comment.