74563a8fa1
The CELT codec is a compression algorithm for audio. Like MP3, Vorbis, and AAC it is suitable for transmitting music with high quality. Unlike these formats CELT imposes very little delay on the signal, even less than is typical for speech centric formats like Speex, GSM, or G.729.
18 lines
434 B
Ruby
18 lines
434 B
Ruby
require 'formula'
|
|
|
|
class Celt <Formula
|
|
url 'http://downloads.xiph.org/releases/celt/celt-0.7.0.tar.gz'
|
|
homepage 'http://www.celt-codec.org/'
|
|
md5 '0bb72abec367f4ef12551f79dda11b23'
|
|
|
|
depends_on 'libogg'
|
|
|
|
def install
|
|
# 1 Test failed with llvm-gcc
|
|
ENV.gcc_4_2
|
|
|
|
system "./configure", "--prefix=#{prefix}", "--disable-debug", "--disable-dependency-tracking"
|
|
system "make check"
|
|
system "make install"
|
|
end
|
|
end
|