2011-07-10 09:53:53 +00:00
|
|
|
class Alure < Formula
|
2015-05-19 00:00:59 +00:00
|
|
|
desc "Manage common tasks with OpenAL applications"
|
2015-08-03 12:55:31 +00:00
|
|
|
homepage "http://kcat.strangesoft.net/alure.html"
|
|
|
|
url "http://kcat.strangesoft.net/alure-releases/alure-1.2.tar.bz2"
|
|
|
|
sha256 "465e6adae68927be3a023903764662d64404e40c4c152d160e3a8838b1d70f71"
|
2011-07-10 09:53:53 +00:00
|
|
|
|
2015-10-05 20:53:44 +00:00
|
|
|
bottle do
|
|
|
|
cellar :any
|
2016-09-26 11:08:05 +00:00
|
|
|
sha256 "2f13ff3eac6fa8d84047502e9cfc1659740c0c72fe2c529cfcfd7610d9b6ddfa" => :sierra
|
2015-10-05 20:53:44 +00:00
|
|
|
sha256 "271fbc61bdd430e8bc5f6624a2944bd3d0e2ffa8787f1899c3ae98b768fd229d" => :el_capitan
|
|
|
|
sha256 "79205290fb22706d0b5d855ad4067f08dbdaf3f93274eef7e900cbe7d4fd841f" => :yosemite
|
|
|
|
sha256 "8c388226c9c1544308895f9b8e6b5ff882e64431bfac00b342d13e045bb6e51a" => :mavericks
|
|
|
|
end
|
|
|
|
|
2015-10-06 02:59:27 +00:00
|
|
|
depends_on "pkg-config" => :build
|
|
|
|
depends_on "cmake" => :build
|
|
|
|
depends_on "flac" => :optional
|
2015-08-03 12:55:31 +00:00
|
|
|
depends_on "fluid-synth" => :optional
|
2015-10-06 02:59:27 +00:00
|
|
|
depends_on "libogg" => :optional
|
|
|
|
depends_on "libsndfile" => :optional
|
|
|
|
depends_on "libvorbis" => :optional
|
|
|
|
depends_on "mpg123" => :optional
|
2011-07-10 09:53:53 +00:00
|
|
|
|
|
|
|
def install
|
|
|
|
# fix a broken include flags line, which fixes a build error.
|
|
|
|
# Not reported upstream.
|
2013-12-14 18:13:11 +00:00
|
|
|
# https://github.com/Homebrew/homebrew/pull/6368
|
2014-06-22 20:31:19 +00:00
|
|
|
if build.with? "libvorbis"
|
|
|
|
inreplace "CMakeLists.txt", "${VORBISFILE_CFLAGS}",
|
2015-08-03 12:55:31 +00:00
|
|
|
`pkg-config --cflags vorbisfile`.chomp
|
2014-06-22 20:31:19 +00:00
|
|
|
end
|
2011-07-10 09:53:53 +00:00
|
|
|
|
|
|
|
cd "build" do
|
|
|
|
system "cmake", "..", *std_cmake_args
|
2015-08-03 12:55:31 +00:00
|
|
|
system "make", "install"
|
2011-07-10 09:53:53 +00:00
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|