Commit 6a940027 authored by Ed Reel's avatar Ed Reel Committed by Chris Thurber

Add audacious package and dependencies (#3357)

Dependencies include audacious_plugins, neon and wavpack

Add configure postinstall message

Add pre-built binaries
parent 4fc23a68
require 'package'
class Audacious < Package
description 'Audacious is an open source audio player.'
homepage 'https://audacious-media-player.org/'
version '3.10.1'
source_url 'https://distfiles.audacious-media-player.org/audacious-3.10.1.tar.bz2'
source_sha256 '8366e840bb3c9448c2cf0cf9a0800155b0bd7cc212a28ba44990c3d2289c6b93'
binary_url ({
aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/audacious-3.10.1-chromeos-armv7l.tar.xz',
armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/audacious-3.10.1-chromeos-armv7l.tar.xz',
i686: 'https://dl.bintray.com/chromebrew/chromebrew/audacious-3.10.1-chromeos-i686.tar.xz',
x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/audacious-3.10.1-chromeos-x86_64.tar.xz',
})
binary_sha256 ({
aarch64: '6597ca2c03a630bc4da5ff6f0543e2dc5a4d7621b9bcdb2828fe49fc3889df9d',
armv7l: '6597ca2c03a630bc4da5ff6f0543e2dc5a4d7621b9bcdb2828fe49fc3889df9d',
i686: '7176161f5e71887d35338b7e18bc5524b907d9c334454ea6409e043eb5527806',
x86_64: '5660d4bbee7230c4b2698973b2a82a45e20461dba246fb22fcdbf91be74b9793',
})
depends_on 'audacious_plugins' => :runtime
depends_on 'gdbm'
depends_on 'gtk2'
depends_on 'qtbase'
depends_on 'mpg123'
depends_on 'xdg_base'
depends_on 'sommelier'
def self.build
system './configure',
"--prefix=#{CREW_PREFIX}",
"--libdir=#{CREW_LIB_PREFIX}",
'--disable-dbus',
'--enable-qt'
system 'make'
end
def self.install
system "make", "DESTDIR=#{CREW_DEST_DIR}", "install"
end
def self.postinstall
puts
puts "To configure, execute the following:".lightblue
puts "Type 'audacious' to launch the music player.".lightblue
puts "From the menu, select 'Output' > 'Audio Settings'.".lightblue
puts "Select 'ALSA Output' for the 'Output plugin'.".lightblue
puts "Click 'Settings' to the right of 'ALSA Output'.".lightblue
puts "Select 'sysdefault - Default control device' for 'Mixer device'.".lightblue
puts "Click 'Close' and 'Close' again to save.".lightblue
puts
puts "To completely remove, execute the following:".lightblue
puts "crew remove audacious audacious_plugins".lightblue
puts "rm -rf ~/.config/audacious".lightblue
puts
end
end
require 'package'
class Audacious_plugins < Package
description 'Audacious is an open source audio player.'
homepage 'https://audacious-media-player.org/'
version '3.10.1'
source_url 'https://distfiles.audacious-media-player.org/audacious-plugins-3.10.1.tar.bz2'
source_sha256 'eec3177631f99729bf0e94223b627406cc648c70e6646e35613c7b55040a2642'
binary_url ({
aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/audacious_plugins-3.10.1-chromeos-armv7l.tar.xz',
armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/audacious_plugins-3.10.1-chromeos-armv7l.tar.xz',
i686: 'https://dl.bintray.com/chromebrew/chromebrew/audacious_plugins-3.10.1-chromeos-i686.tar.xz',
x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/audacious_plugins-3.10.1-chromeos-x86_64.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
require 'package'
class Neon < Package
description 'neon is an HTTP and WebDAV client library, with a C interface.'
homepage 'http://www.webdav.org/neon/'
version '0.30.2'
source_url 'http://www.webdav.org/neon/neon-0.30.2.tar.gz'
source_sha256 'db0bd8cdec329b48f53a6f00199c92d5ba40b0f015b153718d1b15d3d967fbca'
binary_url ({
aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/neon-0.30.2-chromeos-armv7l.tar.xz',
armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/neon-0.30.2-chromeos-armv7l.tar.xz',
i686: 'https://dl.bintray.com/chromebrew/chromebrew/neon-0.30.2-chromeos-i686.tar.xz',
x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/neon-0.30.2-chromeos-x86_64.tar.xz',
})
binary_sha256 ({
aarch64: '788d09916ce56e217297af5f3e3ce86d131ab05be0f54f85bf24f86a85701989',
armv7l: '788d09916ce56e217297af5f3e3ce86d131ab05be0f54f85bf24f86a85701989',
i686: 'a6777a6aa2be12f78be08c1af13ec49116d44b0c0f2fe892dd8ebd443f6b26e6',
x86_64: '6ced539e58a179d141a242cea0a265a1d1897320346694639d192b5a83c1d59c',
})
def self.build
system './configure',
"--prefix=#{CREW_PREFIX}",
"--libdir=#{CREW_LIB_PREFIX}",
'--enable-shared=yes',
'--enable-static=no',
'--with-ssl=openssl'
system 'make'
end
def self.install
system "make", "DESTDIR=#{CREW_DEST_DIR}", "install"
FileUtils.ln_s "#{CREW_LIB_PREFIX}/libneon.so", "#{CREW_DEST_LIB_PREFIX}/neon.so"
end
end
require 'package'
class Wavpack < Package
description 'WavPack is a completely open audio compression format providing lossless, high-quality lossy, and a unique hybrid compression mode.'
homepage 'http://www.wavpack.com/'
version '5.1.0'
source_url 'https://github.com/dbry/WavPack/archive/5.1.0.tar.gz'
source_sha256 '1af7eaccbf560271013d4179d98ef6fc681a2bb3603382577eeba73d438785f4'
binary_url ({
aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/wavpack-5.1.0-chromeos-armv7l.tar.xz',
armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/wavpack-5.1.0-chromeos-armv7l.tar.xz',
i686: 'https://dl.bintray.com/chromebrew/chromebrew/wavpack-5.1.0-chromeos-i686.tar.xz',
x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/wavpack-5.1.0-chromeos-x86_64.tar.xz',
})
binary_sha256 ({
aarch64: '0de1c309b6e2ae6cad6ebf4d3c0bae4bfa46e28d37752946e560208bf873eeec',
armv7l: '0de1c309b6e2ae6cad6ebf4d3c0bae4bfa46e28d37752946e560208bf873eeec',
i686: '29efcd53890903576f4fca002ea829172ad50ec0b4f3fd1360d8efdfe5e128de',
x86_64: '956bf59eae3c4410bfc6ff95ea6f4e59513008fdcd0438dec586fa9bdfc208aa',
})
def self.build
system './autogen.sh'
system './configure',
"--prefix=#{CREW_PREFIX}",
"--libdir=#{CREW_LIB_PREFIX}",
'--disable-maintainer-mode'
system 'make'
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