From 31b818d2527f7652bffb131bcce81940587340ef Mon Sep 17 00:00:00 2001 From: Nikolai Rodionov Date: Mon, 13 Nov 2023 18:50:46 +0100 Subject: [PATCH] Update ardour --- Formula/ardour.rb | 53 +++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 53 insertions(+) create mode 100644 Formula/ardour.rb diff --git a/Formula/ardour.rb b/Formula/ardour.rb new file mode 100644 index 0000000..86c164f --- /dev/null +++ b/Formula/ardour.rb @@ -0,0 +1,53 @@ +class Ardour < Formula + desc "A digital audio workstation" + homepage "https://ardour.org/" + url "https://community.ardour.org/download" + version "8.1" + sha256 "9138fb9913f6ead7516ac58d24ca81c795c225b9" + 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