95884bae22
Closes Homebrew/homebrew#42407. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
32 lines
1.2 KiB
Ruby
32 lines
1.2 KiB
Ruby
class Ogmtools < Formula
|
|
desc "OGG media streams manipulation tools"
|
|
homepage "http://www.bunkus.org/videotools/ogmtools/"
|
|
url "http://www.bunkus.org/videotools/ogmtools/ogmtools-1.5.tar.bz2"
|
|
sha256 "c8d61d1dbceb981dc7399c1a85e43b509fd3d071fb8d3ca89ea9385e6e40fdea"
|
|
|
|
depends_on "libogg"
|
|
depends_on "libvorbis"
|
|
depends_on "libdvdread" => :optional
|
|
|
|
# Borrow patch from MacPorts
|
|
patch :p0 do
|
|
url "https://trac.macports.org/export/87593/trunk/dports/multimedia/ogmtools/files/common.h.diff"
|
|
sha256 "2dd18dea6de0d2820221bde8dfea163101d0037196cb2e94cd910808d10119c0"
|
|
end
|
|
|
|
def install
|
|
system "./configure", "--disable-debug", "--disable-dependency-tracking",
|
|
"--prefix=#{prefix}",
|
|
"--mandir=#{man}"
|
|
system "make", "install"
|
|
end
|
|
|
|
# Borrow warning from MacPorts
|
|
def caveats; <<-EOS.undent
|
|
Ogmtools has not been updated since 2004 and is no longer being developed,
|
|
maintained or supported. There are several issues, especially on 64-bit
|
|
architectures, which the author will not fix or accept patches for.
|
|
Keep this in mind when deciding whether to use this software.
|
|
EOS
|
|
end
|
|
end
|