class SdlSound < Formula desc "Library to decode several popular sound file formats" homepage "https://icculus.org/SDL_sound/" url "https://icculus.org/SDL_sound/downloads/SDL_sound-1.0.3.tar.gz" mirror "https://deb.debian.org/debian/pool/main/s/sdl-sound1.2/sdl-sound1.2_1.0.3.orig.tar.gz" sha256 "3999fd0bbb485289a52be14b2f68b571cb84e380cc43387eadf778f64c79e6df" revision 1 bottle do sha256 cellar: :any, arm64_monterey: "3d4f5a23c1903de8dd7af9d9c736213c0d9acc103b842b87bced96d4d1f271aa" sha256 cellar: :any, arm64_big_sur: "2da102c4035e6cd0138668695cbee5eed9f730077a78e7221e73cb2a047d915c" sha256 cellar: :any, monterey: "a80556c4832609ffdf4d082e2b29e3737fbf04b3bceb13bc82993d0a4c734537" sha256 cellar: :any, big_sur: "8a2c07271bbc94a345cd8951ed897e9d12edda47d713c247a77e3186780247fc" sha256 cellar: :any, catalina: "b8ac8b382c94d4a92032a8bc9c93d777fac1367851bd3df382089f747c347f05" sha256 cellar: :any, mojave: "3661daa8d14b8b8ab613a5fb449ad6b3f758739eb3b69700b23c0ccdc49068b6" sha256 cellar: :any, high_sierra: "c571e007bcbb022e6fd0042e506ce6cd47a26d814de06f348b13231fc95a1581" sha256 cellar: :any, sierra: "0e692b6c08600d6d7014fc582b5a351e8a4eea42ce95d231ef39a0c07c41c71b" sha256 cellar: :any, el_capitan: "fd93d8be366bfe3f16839f50d11ab1149cc725c6bf6248befe90feae25c0e052" sha256 cellar: :any_skip_relocation, x86_64_linux: "0b903c9b2b33a7c0ebf036d178f86d06adbc23ef8be891d49ed97312bc928d88" end head do url "https://github.com/icculus/SDL_sound.git", branch: "stable-1.0" depends_on "autoconf" => :build depends_on "automake" => :build depends_on "libtool" => :build end # SDL 1.2 is deprecated, unsupported, and not recommended for new projects. # Commented out while this formula still has dependents. # deprecate! date: "2013-08-17", because: :deprecated_upstream depends_on "pkg-config" => :build depends_on "libogg" depends_on "libvorbis" depends_on "sdl" def install system "./autogen.sh" if build.head? system "./configure", "--disable-dependency-tracking", "--prefix=#{prefix}", "--disable-sdltest" system "make" system "make", "install" end end