Files
chromebrew/packages/faad2.rb
Maximilian Downey Twiss f6dc1d8d4e Derive binary_url in package.rb (#7082)
* Add binary_compression value to each package

* Remove binary_url values and arrays

* Handle packages with empty binary_sha256 arrays (either missing binaries or not compiled by us)
2024-01-25 11:03:31 -05:00

32 lines
943 B
Ruby

require 'package'
class Faad2 < Package
description 'Freeware Advanced Audio (AAC) Decoder'
homepage 'https://faac.sourceforge.net/'
version '2.10.1'
license 'GPL2 custom'
compatibility 'all'
source_url 'https://github.com/knik0/faad2/archive/2.10.1.tar.gz'
source_sha256 '4c16c71295ca0cbf7c3dfe98eb11d8fa8d0ac3042e41604cfd6cc11a408cf264'
binary_compression 'tar.zst'
binary_sha256({
aarch64: '389a358f4514844f9ba7d50d7472b34e403707fb195dd8075e6dd2d0c3178d50',
armv7l: '389a358f4514844f9ba7d50d7472b34e403707fb195dd8075e6dd2d0c3178d50',
i686: 'b0ca855b9f06e9bd4f3d5ec04877605f93b3a2daac4e930235bb10e2996759a8',
x86_64: '9c9290c676d3c77a86b0f45e1b4cdd6aa32cd75c149c260a30e281cdd58870ec'
})
depends_on 'glibc'
def self.build
system './bootstrap'
system "./configure #{CREW_OPTIONS}"
system 'make'
end
def self.install
system "make DESTDIR=#{CREW_DEST_DIR} install"
end
end