Commit 7323d1a3 authored by Ed Reel's avatar Ed Reel Committed by GitHub

Add ecasound package (#3867)

Add dependencies to ecasound

Add libaudiofile package

Add pre-built binaries
parent 5050da73
require 'package'
class Ecasound < Package
description 'Ecasound is a software package designed for multitrack audio processing.'
homepage 'https://ecasound.seul.org/ecasound/'
version '1.0.21'
source_url 'https://nosignal.fi/download/ecasound-2.9.3.tar.gz'
source_sha256 '468bec44566571043c655c808ddeb49ae4f660e49ab0072970589fd5a493f6d4'
binary_url ({
aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/ecasound-1.0.21-chromeos-armv7l.tar.xz',
armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/ecasound-1.0.21-chromeos-armv7l.tar.xz',
i686: 'https://dl.bintray.com/chromebrew/chromebrew/ecasound-1.0.21-chromeos-i686.tar.xz',
x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/ecasound-1.0.21-chromeos-x86_64.tar.xz',
})
binary_sha256 ({
aarch64: '8bbf7d4b25da6f034a519a8bbb213acd9e4d328c8be0ffcb1ef7973faf1932ea',
armv7l: '8bbf7d4b25da6f034a519a8bbb213acd9e4d328c8be0ffcb1ef7973faf1932ea',
i686: '1cce14a38401659698c2500e9d09aaf732c46343438601745d46cbf162fcd5cf',
x86_64: 'f8242a29cdc5a9a3abcabb1455a457c39ed08d195b7aa17df859f0ad845ca6d4',
})
depends_on 'libaudiofile'
depends_on 'libsndfile'
depends_on 'python27'
def self.patch
# Fix ./configure: line 8777: /usr/bin/file: No such file or directory
system 'filefix'
end
def self.build
system "CPPFLAGS=-I#{CREW_PREFIX}/include/readline ./configure --prefix=#{CREW_PREFIX} --libdir=#{CREW_LIB_PREFIX}"
system 'make'
end
def self.check
system 'make', 'check'
end
def self.install
system 'make', "DESTDIR=#{CREW_DEST_DIR}", 'install'
end
end
require 'package'
class Libaudiofile < Package
description 'The Audio File Library is a C-based library for reading and writing audio files in many common formats.'
homepage 'https://audiofile.68k.org/'
version 'b62c90'
source_url 'https://github.com/mpruett/audiofile/archive/b62c902dd258125cac86cd2df21fc898035a43d3.tar.gz'
source_sha256 '808aff989a24ee3b60d3f08897d90ca45a031c95c42fe22d4fd913042c1ce307'
binary_url ({
aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/libaudiofile-b62c90-chromeos-armv7l.tar.xz',
armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/libaudiofile-b62c90-chromeos-armv7l.tar.xz',
i686: 'https://dl.bintray.com/chromebrew/chromebrew/libaudiofile-b62c90-chromeos-i686.tar.xz',
x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/libaudiofile-b62c90-chromeos-x86_64.tar.xz',
})
binary_sha256 ({
aarch64: '4d4f7ea006f09f5777c2998775f6dd49e4ddf91ac40c3cdad09e94b5f1016ddc',
armv7l: '4d4f7ea006f09f5777c2998775f6dd49e4ddf91ac40c3cdad09e94b5f1016ddc',
i686: '0302ccfddd315e8fcbc58c2139463b03da3352dacc83a4e424130d15fdca1da1',
x86_64: 'f74fa54401206607f94c5c76e8ba8bcedc13b202ed64262785b2ab11d7eb87db',
})
depends_on 'flac'
def self.build
system './autogen.sh'
# Fix ./configure: line 7237: /usr/bin/file: No such file or directory
system 'filefix'
system './configure',
"--prefix=#{CREW_PREFIX}",
"--libdir=#{CREW_LIB_PREFIX}",
'--disable-docs'
system 'make'
end
def self.check
system 'make', 'check'
end
def self.install
system 'make', "DESTDIR=#{CREW_DEST_DIR}", 'install'
end
end
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment