54 lines
1.5 KiB
Ruby
54 lines
1.5 KiB
Ruby
class Ardour < Formula
|
|
desc "A digital audio workstation"
|
|
homepage "https://ardour.org/"
|
|
url "https://community.ardour.org/download"
|
|
version "8.1"
|
|
sha256 "43a689c8499ffccccb6f30940da0453bb9ad16b82aa106e16af80c590acbf2e5"
|
|
head "https://github.com/Ardour/ardour.git"
|
|
|
|
depends_on "aubio"
|
|
depends_on "boost"
|
|
depends_on "fftw"
|
|
depends_on "glib"
|
|
depends_on "glibmm"
|
|
depends_on "jack"
|
|
depends_on "libarchive"
|
|
depends_on "liblo"
|
|
depends_on "libsndfile"
|
|
depends_on "libusb"
|
|
depends_on "lrdf"
|
|
depends_on "lv2"
|
|
depends_on "pangomm"
|
|
depends_on "pkg-config" => :build
|
|
depends_on "rubberband"
|
|
depends_on "serd"
|
|
depends_on "sord"
|
|
depends_on "sratom"
|
|
depends_on "gtkmm"
|
|
depends_on "lilv"
|
|
depends_on "taglib"
|
|
depends_on "vamp-plugin-sdk"
|
|
|
|
def install
|
|
system "./waf", "configure", "--prefix=#{prefix}", "--with-backends=jack"
|
|
system "./waf", "install"
|
|
|
|
cd "./tools/osx_packaging" do
|
|
system "./osx_build", "--help"
|
|
end
|
|
end
|
|
|
|
test do
|
|
# `test do` will create, run in and delete a temporary directory.
|
|
#
|
|
# This test will fail and we won't accept that! For Homebrew/homebrew-core
|
|
# this will need to be a test that verifies the functionality of the
|
|
# software. Run the test with `brew test ardour`. Options passed
|
|
# to `brew install` such as `--HEAD` also need to be provided to `brew test`.
|
|
#
|
|
# The installed folder is not in the path, so use the entire path to any
|
|
# executables being tested: `system "#{bin}/program", "do", "something"`.
|
|
system "false"
|
|
end
|
|
end
|