2011-03-10 05:11:03 +00:00
|
|
|
class Chuck < Formula
|
2015-05-19 00:00:59 +00:00
|
|
|
desc "Concurrent, on-the-fly audio programming language"
|
2014-05-23 18:27:49 +00:00
|
|
|
homepage "http://chuck.cs.princeton.edu/"
|
2015-07-07 05:29:23 +00:00
|
|
|
url "http://chuck.cs.princeton.edu/release/files/chuck-1.3.5.1.tgz"
|
|
|
|
sha256 "d141ca61547131edd2b29bdb88183835e4133ef09807674bfa33a4e6e09d1f53"
|
ChucK 1.2.1.3
A new (and developing) audio programming language for real-time synthesis,
composition, performance, and now, analysis - fully supported on MacOS X,
Windows, and Linux.
ChucK presents a new time-based, concurrent programming model that's highly
precise and expressive (we call this strongly-timed), as well as dynamic
control rates, and the ability to add and modify code on-the-fly.
In addition, ChucK supports MIDI, OSC, HID device, and multi-channel audio.
It's fun and easy to learn, and offers composers, researchers, and performers
a powerful programming tool for building and experimenting with complex audio
synthesis/analysis programs, and real-time interactive control.
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2010-07-20 19:26:22 +00:00
|
|
|
|
2014-11-14 19:31:10 +00:00
|
|
|
bottle do
|
|
|
|
cellar :any
|
2015-08-03 03:54:10 +00:00
|
|
|
revision 1
|
|
|
|
sha256 "e90d7190c6f06ba2107d4f3bf85ca798840642f00c6bb1f3872cc0a05efa3b83" => :yosemite
|
|
|
|
sha256 "ae23a194badab407ea3489991314f295f2ec7c6942dd60f0e81925eb94333dec" => :mavericks
|
|
|
|
sha256 "87d6cc4e3a3b868ee1a98f2e148060ed4a69d2cd593944ebed83fe887c7cd080" => :mountain_lion
|
2014-11-14 19:31:10 +00:00
|
|
|
end
|
|
|
|
|
2015-08-03 03:30:45 +00:00
|
|
|
# Fixes OS X version detection to include 10.11 through (thinking ahead) 10.13
|
|
|
|
patch :DATA
|
|
|
|
|
ChucK 1.2.1.3
A new (and developing) audio programming language for real-time synthesis,
composition, performance, and now, analysis - fully supported on MacOS X,
Windows, and Linux.
ChucK presents a new time-based, concurrent programming model that's highly
precise and expressive (we call this strongly-timed), as well as dynamic
control rates, and the ability to add and modify code on-the-fly.
In addition, ChucK supports MIDI, OSC, HID device, and multi-channel audio.
It's fun and easy to learn, and offers composers, researchers, and performers
a powerful programming tool for building and experimenting with complex audio
synthesis/analysis programs, and real-time interactive control.
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2010-07-20 19:26:22 +00:00
|
|
|
def install
|
2014-05-23 18:27:49 +00:00
|
|
|
system "make", "-C", "src", "osx"
|
|
|
|
bin.install "src/chuck"
|
2015-07-31 15:36:37 +00:00
|
|
|
pkgshare.install "examples"
|
ChucK 1.2.1.3
A new (and developing) audio programming language for real-time synthesis,
composition, performance, and now, analysis - fully supported on MacOS X,
Windows, and Linux.
ChucK presents a new time-based, concurrent programming model that's highly
precise and expressive (we call this strongly-timed), as well as dynamic
control rates, and the ability to add and modify code on-the-fly.
In addition, ChucK supports MIDI, OSC, HID device, and multi-channel audio.
It's fun and easy to learn, and offers composers, researchers, and performers
a powerful programming tool for building and experimenting with complex audio
synthesis/analysis programs, and real-time interactive control.
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2010-07-20 19:26:22 +00:00
|
|
|
end
|
2015-02-13 21:45:22 +00:00
|
|
|
|
|
|
|
test do
|
|
|
|
assert_match /probe \[success\]/m, shell_output("#{bin}/chuck --probe 2>&1")
|
|
|
|
end
|
ChucK 1.2.1.3
A new (and developing) audio programming language for real-time synthesis,
composition, performance, and now, analysis - fully supported on MacOS X,
Windows, and Linux.
ChucK presents a new time-based, concurrent programming model that's highly
precise and expressive (we call this strongly-timed), as well as dynamic
control rates, and the ability to add and modify code on-the-fly.
In addition, ChucK supports MIDI, OSC, HID device, and multi-channel audio.
It's fun and easy to learn, and offers composers, researchers, and performers
a powerful programming tool for building and experimenting with complex audio
synthesis/analysis programs, and real-time interactive control.
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2010-07-20 19:26:22 +00:00
|
|
|
end
|
2015-08-03 03:30:45 +00:00
|
|
|
|
|
|
|
__END__
|
|
|
|
diff --git a/src/makefile.osx b/src/makefile.osx
|
|
|
|
index a2c06ba..ac95278 100644
|
|
|
|
--- a/src/makefile.osx
|
|
|
|
+++ b/src/makefile.osx
|
|
|
|
@@ -1,7 +1,7 @@
|
|
|
|
# uncomment the following to force 32-bit compilation
|
|
|
|
# FORCE_M32=-m32
|
|
|
|
|
|
|
|
-ifneq ($(shell sw_vers -productVersion | egrep '10\.(6|7|8|9|10)(\.[0-9]+)?'),)
|
|
|
|
+ifneq ($(shell sw_vers -productVersion | egrep '10\.(6|7|8|9|10|11|12|13)(\.[0-9]+)?'),)
|
|
|
|
SDK=$(shell xcodebuild -sdk macosx -version | grep '^Path:' | sed 's/Path: \(.*\)/\1/')
|
|
|
|
ISYSROOT=-isysroot $(SDK)
|
|
|
|
LINK_EXTRAS=-F/System/Library/PrivateFrameworks \
|