pkgsrc/audio/fluidsynth/Makefile
wiz 6b5bd8d27a Revbump for
a) tiff update to 4.0 (shlib major change)
b) glib2 update 2.30.2 (adds libffi dependency to buildlink3.mk)

Enjoy.
2012-02-06 12:39:17 +00:00

35 lines
1 KiB
Makefile

# $NetBSD: Makefile,v 1.18 2012/02/06 12:39:21 wiz Exp $
DISTNAME= fluidsynth-1.1.5
PKGREVISION= 1
CATEGORIES= audio
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=fluidsynth/}
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://www.fluidsynth.org/
COMMENT= Software synthesizer based on SoundFont2
LICENSE= gnu-lgpl-v2
PKG_INSTALLATION_TYPES= overwrite pkgviews
PKG_DESTDIR_SUPPORT= user-destdir
USE_LIBTOOL= yes
USE_TOOLS+= pkg-config
GNU_CONFIGURE= yes
PKGCONFIG_OVERRIDE= fluidsynth.pc.in
PTHREAD_AUTO_VARS= yes
CFLAGS+= -DDEVOSSAUDIO="\"${DEVOSSAUDIO}\""
LDFLAGS+= ${LIBOSSAUDIO}
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
.include "../../devel/glib2/buildlink3.mk"
.include "../../devel/libgetopt/buildlink3.mk"
.include "../../devel/readline/buildlink3.mk"
.include "../../mk/oss.buildlink3.mk"
.include "../../mk/pthread.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"