mirror of
https://github.com/chromebrew/chromebrew.git
synced 2026-01-08 15:13:56 -05:00
* 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)
37 lines
1.1 KiB
Ruby
37 lines
1.1 KiB
Ruby
require 'package'
|
|
|
|
class Audacious_plugins < Package
|
|
description 'Audacious is an open source audio player.'
|
|
homepage 'https://audacious-media-player.org/'
|
|
version '3.10.1'
|
|
license 'GPL-2'
|
|
compatibility 'all'
|
|
source_url 'https://distfiles.audacious-media-player.org/audacious-plugins-3.10.1.tar.bz2'
|
|
source_sha256 'eec3177631f99729bf0e94223b627406cc648c70e6646e35613c7b55040a2642'
|
|
binary_compression 'tar.xz'
|
|
|
|
binary_sha256({
|
|
aarch64: '200f784576d153da7d23ee308f32587957faf8e9108b197991c841d3cac46f18',
|
|
armv7l: '200f784576d153da7d23ee308f32587957faf8e9108b197991c841d3cac46f18',
|
|
i686: '271778d167bccc497751f7bbcb34cacbf2ab600f3acafe04b7290e9fdf64c08b',
|
|
x86_64: '5a9c46fceaa2c6307fd4791b4bb68133d412a27ba013105345ab64f0964f6e0b'
|
|
})
|
|
|
|
depends_on 'audacious'
|
|
depends_on 'flac'
|
|
depends_on 'mpg123'
|
|
depends_on 'neon'
|
|
depends_on 'wavpack'
|
|
|
|
def self.build
|
|
system './configure',
|
|
"--prefix=#{CREW_PREFIX}",
|
|
"--libdir=#{CREW_LIB_PREFIX}"
|
|
system 'make'
|
|
end
|
|
|
|
def self.install
|
|
system 'make', "DESTDIR=#{CREW_DEST_DIR}", 'install'
|
|
end
|
|
end
|