[BACK]Return to Makefile CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / pkgsrc / audio / fluidsynth

File: [cvs.NetBSD.org] / pkgsrc / audio / fluidsynth / Makefile (download)

Revision 1.32, Sun Dec 1 12:51:57 2019 UTC (7 weeks, 1 day ago) by nia
Branch: MAIN
Changes since 1.31: +2 -2 lines

fluidsynth: Update to 2.1.0

New features

    new, less "ringing" reverb engine (#380, thanks to @jjceresa)
    new, stereophonic chorus engine (#548, thanks to @jjceresa)
    support for Downloadable Sounds (DLS) files was added (#320, requires libinstpatch)
    improved integrity checking of SoundFont modulators (#467, thanks to @jjceresa)
    rendering to stdout is now possible (#553, thanks to @mawe42)
    the following Audio Drivers have been added:
        Oboe (#464, tested on Android, thanks to @atsushieno)
        OpenSLES (#464, tested on Android, thanks to @atsushieno)
        SDL2 (#478, thanks to @carlo-bramini)
        WaveOut (#466, tested on Win98, WinNT4.0, WinXP, thanks to @carlo-bramini)
    various performance improvements (#543, #545, #547, #569, #573)

Bug fixes

    generator modEnvAttack now has a convex shape according to SoundFont spec (#153)
    the default MIDI Pitch Wheel to Initial Pitch modulator now uses Fine Tune as destination generator, allowing it to be overridden by the soundfont designer (#154, thanks to @jjceresa)

# $NetBSD: Makefile,v 1.32 2019/12/01 12:51:57 nia Exp $

DISTNAME=	fluidsynth-2.1.0
CATEGORIES=	audio
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_CMAKE=	yes
USE_TOOLS+=	pkg-config

CMAKE_ARGS+=	-DMAN_INSTALL_DIR=${PREFIX}/${PKGMANDIR}/man1
CMAKE_ARGS+=	-DLIB_SUFFIX=""
CMAKE_ARGS+=	-Denable-framework=OFF

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
LDFLAGS.SunOS+=		-lsocket

.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 "options.mk"
.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"
.include "../../mk/bsd.pkg.mk"