Commit 318ddad3 authored by Roman Haefeli's avatar Roman Haefeli
Browse files

add new formula for pd-tpf (pd for tpf)

parent f58ba704
class PdTpf < Formula
desc "realtime computer music and graphics system"
homepage "https://puredata.info/"
version "0.47-1"
url "https://sourceforge.net/code-snapshots/git/p/pu/pure-data/pure-data.git/pure-data-pure-data-637ef74e1745a658c0cfdc40d65de189b4fbf02a.zip"
sha256 "3dce82585f3e73e63ca689b8f27353959cea8b1c1153f929c9b279dc65a3bbb7"
depends_on "automake" => :build
depends_on "libtool" => :build
depends_on "jack2"
# jack2 from homebrew doesn't install Jackmp.framework, that's why
# we want to compile pd against the common (non-weak) library
patch :DATA
def install
system "./configure", "--enable-jack",
"--prefix=#{prefix}"
system "make", "-j"
system "make", "install"
end
test do
system "false"
end
end
__END__
diff --git a/src/Makefile.am b/src/Makefile.am
index 9c4e28e..d121341 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -139,7 +139,9 @@ pd_SOURCES += s_audio_jack.c
if MACOSX
# link to Jackmp on OSX
-pd_LDFLAGS += -weak_framework Jackmp
+#pd_LDFLAGS += -weak_framework Jackmp
+# for brew we want do actually use the lib
+pd_LDADD += -ljack
else
# link to Jack discovered by configure
pd_LDADD += @JACK_LIBS@
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment