FreeBSD Bugzilla – Attachment 185265 Details for
Bug 221387
[NEW PORT] audio/stk: Synthesis ToolKit in C++
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
shar archive
stk.shar (text/plain), 8.29 KB, created by
Yuri Victorovich
on 2017-08-11 05:59:28 UTC
(
hide
)
Description:
shar archive
Filename:
MIME Type:
Creator:
Yuri Victorovich
Created:
2017-08-11 05:59:28 UTC
Size:
8.29 KB
patch
obsolete
># This is a shell archive. Save it in a file, remove anything before ># this line, and then unpack it by entering "sh file". Note, it may ># create directories; files and directories will be owned by you and ># have default permissions. ># ># This archive contains: ># ># audio/stk ># audio/stk/distinfo ># audio/stk/Makefile ># audio/stk/pkg-descr ># audio/stk/pkg-plist ># audio/stk/files ># audio/stk/files/patch-configure.ac ># audio/stk/files/patch-src_RtAudio.cpp ># >echo c - audio/stk >mkdir -p audio/stk > /dev/null 2>&1 >echo x - audio/stk/distinfo >sed 's/^X//' >audio/stk/distinfo << 'bb844f62186f341611b44e25877b04f0' >XTIMESTAMP = 1502358993 >XSHA256 (stk-4.5.1.tar.gz) = 3466860901a181120d3bd0407e4aeb5ab24127a4350c314af106778c1db88594 >XSIZE (stk-4.5.1.tar.gz) = 2413113 >bb844f62186f341611b44e25877b04f0 >echo x - audio/stk/Makefile >sed 's/^X//' >audio/stk/Makefile << '667e590caed4e7ed7e0b5d743aafd540' >X# Created by: Yuri Victorovich <yuri@rawbw.com> >X# $FreeBSD$ >X >XPORTNAME= stk >XPORTVERSION= 4.5.1 >XCATEGORIES= audio >XMASTER_SITES= http://ccrma.stanford.edu/software/stk/release/ >X >XMAINTAINER= yuri@rawbw.com >XCOMMENT= Synthesis ToolKit in C++ >X >XLICENSE= MIT >XLICENSE_FILE= ${WRKSRC}/LICENSE >X >XLIB_DEPENDS= libjack.so:audio/jack >X >XUSES= autoreconf gmake pkgconfig localbase >XGNU_CONFIGURE= yes >XCONFIGURE_ARGS+=--with-jack >XUSE_LDCONFIG= yes >X >Xpost-install: >X @${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libstk-${PORTVERSION}.so >X >X.include <bsd.port.mk> >667e590caed4e7ed7e0b5d743aafd540 >echo x - audio/stk/pkg-descr >sed 's/^X//' >audio/stk/pkg-descr << '6da20f1c81143b0bb9a2efd74c7f3bb2' >XThe Synthesis ToolKit in C++ (STK) is a set of open source audio signal >Xprocessing and algorithmic synthesis classes written in the C++ programming >Xlanguage. >X >XWWW: https://ccrma.stanford.edu/software/stk/ >6da20f1c81143b0bb9a2efd74c7f3bb2 >echo x - audio/stk/pkg-plist >sed 's/^X//' >audio/stk/pkg-plist << '8f025d9a1ef18efd305acd2278344b71' >Xinclude/stk/ADSR.h >Xinclude/stk/Asymp.h >Xinclude/stk/BandedWG.h >Xinclude/stk/BeeThree.h >Xinclude/stk/BiQuad.h >Xinclude/stk/Blit.h >Xinclude/stk/BlitSaw.h >Xinclude/stk/BlitSquare.h >Xinclude/stk/BlowBotl.h >Xinclude/stk/BlowHole.h >Xinclude/stk/BowTable.h >Xinclude/stk/Bowed.h >Xinclude/stk/Brass.h >Xinclude/stk/Chorus.h >Xinclude/stk/Clarinet.h >Xinclude/stk/Cubic.h >Xinclude/stk/Delay.h >Xinclude/stk/DelayA.h >Xinclude/stk/DelayL.h >Xinclude/stk/Drummer.h >Xinclude/stk/Echo.h >Xinclude/stk/Effect.h >Xinclude/stk/Envelope.h >Xinclude/stk/FM.h >Xinclude/stk/FMVoices.h >Xinclude/stk/FileLoop.h >Xinclude/stk/FileRead.h >Xinclude/stk/FileWrite.h >Xinclude/stk/FileWvIn.h >Xinclude/stk/FileWvOut.h >Xinclude/stk/Filter.h >Xinclude/stk/Fir.h >Xinclude/stk/Flute.h >Xinclude/stk/FormSwep.h >Xinclude/stk/FreeVerb.h >Xinclude/stk/Function.h >Xinclude/stk/Generator.h >Xinclude/stk/Granulate.h >Xinclude/stk/Guitar.h >Xinclude/stk/HevyMetl.h >Xinclude/stk/Iir.h >Xinclude/stk/InetWvIn.h >Xinclude/stk/InetWvOut.h >Xinclude/stk/Instrmnt.h >Xinclude/stk/JCRev.h >Xinclude/stk/JetTable.h >Xinclude/stk/LentPitShift.h >Xinclude/stk/Mandolin.h >Xinclude/stk/Mesh2D.h >Xinclude/stk/Messager.h >Xinclude/stk/MidiFileIn.h >Xinclude/stk/Modal.h >Xinclude/stk/ModalBar.h >Xinclude/stk/Modulate.h >Xinclude/stk/Moog.h >Xinclude/stk/Mutex.h >Xinclude/stk/NRev.h >Xinclude/stk/Noise.h >Xinclude/stk/OnePole.h >Xinclude/stk/OneZero.h >Xinclude/stk/PRCRev.h >Xinclude/stk/PercFlut.h >Xinclude/stk/Phonemes.h >Xinclude/stk/PitShift.h >Xinclude/stk/Plucked.h >Xinclude/stk/PoleZero.h >Xinclude/stk/ReedTable.h >Xinclude/stk/Resonate.h >Xinclude/stk/Rhodey.h >Xinclude/stk/RtAudio.h >Xinclude/stk/RtMidi.h >Xinclude/stk/RtWvIn.h >Xinclude/stk/RtWvOut.h >Xinclude/stk/SKINImsg.h >Xinclude/stk/SKINItbl.h >Xinclude/stk/Sampler.h >Xinclude/stk/Saxofony.h >Xinclude/stk/Shakers.h >Xinclude/stk/Simple.h >Xinclude/stk/SineWave.h >Xinclude/stk/SingWave.h >Xinclude/stk/Sitar.h >Xinclude/stk/Skini.h >Xinclude/stk/Socket.h >Xinclude/stk/Sphere.h >Xinclude/stk/StifKarp.h >Xinclude/stk/Stk.h >Xinclude/stk/TapDelay.h >Xinclude/stk/TcpClient.h >Xinclude/stk/TcpServer.h >Xinclude/stk/Thread.h >Xinclude/stk/TubeBell.h >Xinclude/stk/Twang.h >Xinclude/stk/TwoPole.h >Xinclude/stk/TwoZero.h >Xinclude/stk/UdpSocket.h >Xinclude/stk/Vector3D.h >Xinclude/stk/VoicForm.h >Xinclude/stk/Voicer.h >Xinclude/stk/Whistle.h >Xinclude/stk/Wurley.h >Xinclude/stk/WvIn.h >Xinclude/stk/WvOut.h >Xlib/libstk-4.5.1.so >Xlib/libstk.so >8f025d9a1ef18efd305acd2278344b71 >echo c - audio/stk/files >mkdir -p audio/stk/files > /dev/null 2>&1 >echo x - audio/stk/files/patch-configure.ac >sed 's/^X//' >audio/stk/files/patch-configure.ac << '9a9d70c563fd054735c7597a4346aa68' >X--- configure.ac.orig 2016-02-23 01:51:06 UTC >X+++ configure.ac >X@@ -85,7 +85,6 @@ if test "$debug" = "yes"; then >X else >X AC_SUBST( debug, [no] ) >X AC_SUBST( cppflag, [] ) >X- AC_SUBST( cxxflag, [-O3] ) >X AC_SUBST( object_path, [Release] ) >X fi >X AC_MSG_RESULT($debug) >X@@ -100,7 +99,7 @@ fi >X CPPFLAGS="$CPPFLAGS $cppflag" >X >X # For debugging and optimization ... overwrite default because it has both -g and -O2 >X-CXXFLAGS="$cxxflag" >X+CXXFLAGS+="$cxxflag" >X >X # Check compiler and use -Wall if gnu. >X if [test $GXX = "yes" ;] then >X@@ -127,31 +126,31 @@ if test $realtime = yes; then >X # Checks for package options and external software >X AC_MSG_CHECKING(for audio API) >X case $host in >X- *-*-linux*) >X+ *-*-freebsd*) >X AC_ARG_WITH(jack, [ --with-jack = choose JACK server support (mac and linux only)], [ >X api="$api -D__UNIX_JACK__" >X AC_MSG_RESULT(using JACK) >X AC_CHECK_LIB(jack, jack_client_open, , AC_MSG_ERROR(JACK support requires the jack library!)) >X- AC_CHECK_LIB(asound, snd_pcm_open, , AC_MSG_ERROR(Jack support also requires the asound library!))], ) >X+ #AC_CHECK_LIB(asound, snd_pcm_open, , AC_MSG_ERROR(Jack support also requires the asound library!))], ) >X >X # Look for ALSA flag >X- AC_ARG_WITH(alsa, [ --with-alsa = choose native ALSA API support (linux only)], [ >X- api="$api -D__LINUX_ALSA__" >X- AC_MSG_RESULT(using ALSA) >X- AC_CHECK_LIB(asound, snd_pcm_open, , AC_MSG_ERROR(ALSA support requires the asound library!))], ) >X+ #AC_ARG_WITH(alsa, [ --with-alsa = choose native ALSA API support (linux only)], [ >X+ #api="$api -D__LINUX_ALSA__" >X+ #AC_MSG_RESULT(using ALSA) >X+ #AC_CHECK_LIB(asound, snd_pcm_open, , AC_MSG_ERROR(ALSA support requires the asound library!))], ) >X >X # Look for OSS flag >X- AC_ARG_WITH(oss, [ --with-oss = choose OSS API support (linux only)], [ >X- api="$api -D__LINUX_OSS__ -D__LINUX_ALSA__" >X- AC_MSG_RESULT(using OSS) >X- AC_CHECK_LIB(asound, snd_pcm_open, , AC_MSG_ERROR(OSS support requires ALSA for RtMidi!))], ) >X+ #AC_ARG_WITH(oss, [ --with-oss = choose OSS API support (linux only)], [ >X+ #api="$api -D__LINUX_OSS__" >X+ #AC_MSG_RESULT(using OSS) >X+ #AC_CHECK_LIB(asound, snd_pcm_open, , AC_MSG_ERROR(OSS support requires ALSA for RtMidi!))], ) >X >X # If no audio api flags specified, use ALSA >X- if [test "$api" == "";] then >X- AC_MSG_RESULT(using ALSA) >X- AC_SUBST( api, [-D__LINUX_ALSA__] ) >X- AC_CHECK_LIB(asound, snd_pcm_open, , AC_MSG_ERROR(ALSA support requires the asound library!)) >X- fi >X+ #if [test "$api" == "";] then >X+ # AC_MSG_RESULT(using ALSA) >X+ # AC_SUBST( api, [-D__LINUX_ALSA__] ) >X+ # AC_CHECK_LIB(asound, snd_pcm_open, , AC_MSG_ERROR(ALSA support requires the asound library!)) >X+ #fi >X >X AC_CHECK_LIB(pthread, pthread_create, , AC_MSG_ERROR(RtAudio requires the pthread library!)) >X ;; >9a9d70c563fd054735c7597a4346aa68 >echo x - audio/stk/files/patch-src_RtAudio.cpp >sed 's/^X//' >audio/stk/files/patch-src_RtAudio.cpp << '2f8ec9a80ffa113a3fba789a039ff19b' >X--- src/RtAudio.cpp.orig 2016-02-23 01:51:06 UTC >X+++ src/RtAudio.cpp >X@@ -47,6 +47,12 @@ >X #include <climits> >X #include <algorithm> >X >X+enum { >X+ AFMT_FLOAT = 0x00004000, >X+ AFMT_S32_LE = 0x00001000, >X+ AFMT_S32_BE = 0x00002000, >X+}; >X+ >X // Static variable definitions. >X const unsigned int RtApi::MAX_SAMPLE_RATES = 14; >X const unsigned int RtApi::SAMPLE_RATES[] = { >X@@ -9023,7 +9029,7 @@ bool RtApiOss :: probeDeviceOpen( unsign >X } >X >X // Verify the sample rate setup worked. >X- if ( abs( srate - sampleRate ) > 100 ) { >X+ if ( abs( (int)(srate - sampleRate) ) > 100 ) { >X close( fd ); >X errorStream_ << "RtApiOss::probeDeviceOpen: device (" << ainfo.name << ") does not support sample rate (" << sampleRate << ")."; >X errorText_ = errorStream_.str(); >2f8ec9a80ffa113a3fba789a039ff19b >exit >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 221387
:
185228
|
185265
|
185501