pkgsrc/audio/csound6/Makefile
mrg 7ff70f84f6 update to csound 6.03.2. changes include:
o   printks2: Prints a new value every time a control variable changes using
	a printf() style syntax.
    o   mp3sr mp3bitrate and mp3nchnls to get information on mp3 files
    o   New score opcode y sets the random seed (for ~) at read time
    o   A bug in CsOptions; the last argument was missed being read (issue #296)
    o   For ogg output it is possible to specify a VBR (variable bit rate)
	quality.
    o   Many array operations now available for i-arrays as well as k-arrays.
    o   fillarray will work for string arrays
    o   Displays of FFT (via dispfft) improved with scaling/zooming options
    o   Signal flow graph opcodes are now working with a-rate array signals.
    o   New command-line option --devices[=in|out] gives a list of available
	audio devices and then exit
    o   fixed the bug when tables were replaced but the size did not change
    o   A number of bugs in --sample-accurate have been detected and fixed.
	This includes opcodes out, outn, and line.
    o   A number of bugs in grain3 were fixed#
    o   Bug in str_chanel could cause a crash; fixed
    o   Error in resize opcode corrected
    o   A number of bugs/untidiness fixed in GEN23
    o   Array bound checks fixed
    o   strings channels were not correctly set for dynamic-size strings
    o   memory allocation for string formatting in printfsk was fixed
    o   strcat safe against overflow
    o   error in compilation of arrays fixed (issue #293)
    o   GetPvsChannel fixed against a crash
    o   turnoff opcode now checks that the instrument being affected is active
    o   lenarray can accept any array type
    o   there is a new possible section in a csd file called <CsFile...> which
	is like csFileB but with unencoded text.
    o   The whole system has been checked by the Coverity static checker which
        identified a number of (mainly minor) problems.  These have been
	reviewed and checked.  In particular better use of printing and string
	copying should prevent overflows.
    o   The type and variable system has been extensively rewritten; this allows
        better array and UDO support.  This means that UDOs now allow any array
	type to be used.
    o   Alignment of variables got right in all cases
    o   array copying is now using the type system to copy values; fixes issues
        with copying string arrays, f-sigs, etc.
2014-08-06 06:17:07 +00:00

52 lines
1.7 KiB
Makefile

# $NetBSD: Makefile,v 1.5 2014/08/06 06:17:07 mrg Exp $
DISTNAME= Csound${CSOUND_VERSION}
PKGNAME= csound6-${CSOUND_VERSION}
PKGREVISION= 1
CATEGORIES= audio
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=csound/csound6/Csound6.03/}
WRKSRC= ${WRKDIR}/Csound${CSOUND_VERSION}
MAINTAINER= mrg@eterna.com.au
HOMEPAGE= http://sourceforge.net/projects/csound/
COMMENT= Software synthesizer and sequencer
LICENSE= gnu-lgpl-v2.1 # or later
CSOUND_VERSION= 6.03.2
USE_LANGUAGES= c c++
USE_TOOLS+= bison
CFLAGS+= -g -D__PKGSRC_PREFIX__=\"${PREFIX}/\" -DBETA
USE_CMAKE= yes
CMAKE_ARGS+= -DUSE_PORTAUDIO:BOOL=ON
CMAKE_ARGS+= -DBUILD_RELEASE=1 -DCMAKE_BUILD_TYPE=Release
# CMAKE_INSTALL_RPATH doesn't work for some reason, so do it here.
LDFLAGS+= ${COMPILER_RPATH_FLAG}${PREFIX}/lib/csound6
# Has long files our tar doesn't understand.
EXTRACT_USING= gtar
PYTHON_VERSIONS_INCOMPATIBLE= 33 34 # not yet ported as of 5.01
INSTALLATION_DIRS= bin
CHECK_PORTABILITY_SKIP+= installer/misc/makedeb.sh \
installer/macosx/release-build-10.8.sh \
frontends/max_csound_tilde/installer/build-installer.sh
.include "../../mk/bsd.prefs.mk"
post-install:
cd ${DESTDIR}${PREFIX} && ${LN} -s ../lib/csound6/csound bin/csound6
.include "../../audio/fluidsynth/buildlink3.mk"
.include "../../audio/libsndfile/buildlink3.mk"
.include "../../audio/portaudio-devel/buildlink3.mk"
.include "../../mk/jpeg.buildlink3.mk"
.include "../../devel/boost-libs/buildlink3.mk"
.include "../../graphics/png/buildlink3.mk"
PYTHON_FOR_BUILD_ONLY= yes
.include "../../lang/python/application.mk"
.include "../../x11/fltk/buildlink3.mk"
.include "../../www/curl/buildlink3.mk"
.include "../../mk/pthread.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"