Commit f889796a authored by Chris Thurber's avatar Chris Thurber Committed by GitHub

Merge pull request #2788 from uberhacker/update-alsa-packages

Update alsa_lib and alsa_plugins from 1.1.5 to 1.1.7
parents 658b21c7 3cb47f34
...@@ -3,21 +3,21 @@ require 'package' ...@@ -3,21 +3,21 @@ require 'package'
class Alsa_lib < Package class Alsa_lib < Package
description 'The Advanced Linux Sound Architecture (ALSA) provides audio and MIDI functionality to the Linux operating system.' description 'The Advanced Linux Sound Architecture (ALSA) provides audio and MIDI functionality to the Linux operating system.'
homepage 'https://www.alsa-project.org/main/index.php/Main_Page' homepage 'https://www.alsa-project.org/main/index.php/Main_Page'
version '1.1.5' version '1.1.7'
source_url 'ftp://ftp.alsa-project.org/pub/lib/alsa-lib-1.1.5.tar.bz2' source_url 'ftp://ftp.alsa-project.org/pub/lib/alsa-lib-1.1.7.tar.bz2'
source_sha256 'f4f68ad3c6da36b0b5241ac3c798a7a71e0e97d51f972e9f723b3f20a9650ae6' source_sha256 '9d6000b882a3b2df56300521225d69717be6741b71269e488bb20a20783bdc09'
binary_url ({ binary_url ({
aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/alsa_lib-1.1.5-chromeos-armv7l.tar.xz', aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/alsa_lib-1.1.7-chromeos-armv7l.tar.xz',
armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/alsa_lib-1.1.5-chromeos-armv7l.tar.xz', armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/alsa_lib-1.1.7-chromeos-armv7l.tar.xz',
i686: 'https://dl.bintray.com/chromebrew/chromebrew/alsa_lib-1.1.5-chromeos-i686.tar.xz', i686: 'https://dl.bintray.com/chromebrew/chromebrew/alsa_lib-1.1.7-chromeos-i686.tar.xz',
x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/alsa_lib-1.1.5-chromeos-x86_64.tar.xz', x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/alsa_lib-1.1.7-chromeos-x86_64.tar.xz',
}) })
binary_sha256 ({ binary_sha256 ({
aarch64: '10b105f4ca993f0d24035fe6bdcec6e8637c768be301757d4040e6dd166d235c', aarch64: '4b382a9eaed1d08d1c7ba1906a4b155476c691c9ee1d8f9852af655a933b3c59',
armv7l: '10b105f4ca993f0d24035fe6bdcec6e8637c768be301757d4040e6dd166d235c', armv7l: '4b382a9eaed1d08d1c7ba1906a4b155476c691c9ee1d8f9852af655a933b3c59',
i686: '4be56a32b5149e53aa05e15a87a50da8d3b8a25eafbabe2fd3ea436ba2fa0df5', i686: 'cb22d0641935cc10dcf4d01838e2eed3a8e8f690b1ccb0741da87336fa29a43b',
x86_64: '82a8be3966832edbcd42306d5d3920fe3bbcb1cdcb594e375f6f8f4335030abf', x86_64: '0e5b6e000aedc2ffc9264eb62bf0afb03e06a86a7803c6105489758b14e822f5',
}) })
def self.build def self.build
......
...@@ -3,28 +3,37 @@ require 'package' ...@@ -3,28 +3,37 @@ require 'package'
class Alsa_plugins < Package class Alsa_plugins < Package
description 'alsa-plugins contains plugins for various ALSA needs (e.g. Jack).' description 'alsa-plugins contains plugins for various ALSA needs (e.g. Jack).'
homepage 'https://www.alsa-project.org/main/index.php/Main_Page' homepage 'https://www.alsa-project.org/main/index.php/Main_Page'
version '1.1.5' version '1.1.7'
source_url 'ftp://ftp.alsa-project.org/pub/plugins/alsa-plugins-1.1.5.tar.bz2' source_url 'ftp://ftp.alsa-project.org/pub/plugins/alsa-plugins-1.1.7.tar.bz2'
source_sha256 '797da5f8f53379fbea28817bc466de16affd2c07849e84f1af8d5e22f7bb7f1c' source_sha256 'a74b405ab6d9e346e6908a853d5e7631cc61038d9b265bc7f37fab16e827da47'
binary_url ({ binary_url ({
aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/alsa_plugins-1.1.5-chromeos-armv7l.tar.xz', aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/alsa_plugins-1.1.7-chromeos-armv7l.tar.xz',
armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/alsa_plugins-1.1.5-chromeos-armv7l.tar.xz', armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/alsa_plugins-1.1.7-chromeos-armv7l.tar.xz',
i686: 'https://dl.bintray.com/chromebrew/chromebrew/alsa_plugins-1.1.5-chromeos-i686.tar.xz', i686: 'https://dl.bintray.com/chromebrew/chromebrew/alsa_plugins-1.1.7-chromeos-i686.tar.xz',
x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/alsa_plugins-1.1.5-chromeos-x86_64.tar.xz', x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/alsa_plugins-1.1.7-chromeos-x86_64.tar.xz',
}) })
binary_sha256 ({ binary_sha256 ({
aarch64: '68e9c4e6a6a98a34f716dd95a0297ba074d4313ea9a5daedb09c47b4b4baaf5c', aarch64: '1abb05f8e9fd533ee3d334b3572903cd191393a8ce96d4fb3158574580874571',
armv7l: '68e9c4e6a6a98a34f716dd95a0297ba074d4313ea9a5daedb09c47b4b4baaf5c', armv7l: '1abb05f8e9fd533ee3d334b3572903cd191393a8ce96d4fb3158574580874571',
i686: 'a768db04382ffd8850095e2c5667402002a38d30901dd1a5d4a3aa379ab4e9dd', i686: 'caa7cb34ef9b3817cd045e4bd528f02662f32ff9c5b613ffefc3e169d934e062',
x86_64: 'a5c465a12e4bedc10d7f9989d20c81aeac3834635cd12d1d1205f9438658b7e0', x86_64: '7cba5116274f0988618eceeb11e9cfebef90805e1ba6aec2b402c486ca68dbd9',
}) })
depends_on 'alsa_lib' depends_on 'alsa_lib'
depends_on 'pulseaudio'
def self.build def self.build
system "./configure --prefix=#{CREW_PREFIX} --libdir=#{CREW_LIB_PREFIX}" system './configure',
system "make" "--prefix=#{CREW_PREFIX}",
"--libdir=#{CREW_LIB_PREFIX}",
'--disable-maintainer-mode'
system "for f in \$(find . -name Makefile); do
sed -i 's,/etc/alsa,#{CREW_PREFIX}/etc/alsa,g' \$f
sed -i 's,/usr/local/lib,#{CREW_LIB_PREFIX},g' \$f
sed -i 's,/usr/local,#{CREW_PREFIX},g' \$f
done"
system 'make'
end end
def self.install def self.install
......
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