Files
chromebrew/packages/alsa_lib.rb
github-actions[bot] eb92297280 AutoBuild: update-alsa-lib started at 2025-06-20-09UTC (#12084)
* alsa_lib => 1.2.14

Signed-off-by: SupeChicken666 <me@supechicken666.dev>

* Add built packages for linux/386 to update-alsa-lib

* Add built packages for linux/amd64 to update-alsa-lib

* Add built packages for linux/arm/v7 to update-alsa-lib

---------

Signed-off-by: SupeChicken666 <me@supechicken666.dev>
Co-authored-by: SupeChicken666 <supechicken666@gmail.com>
Co-authored-by: supechicken <supechicken@users.noreply.github.com>
2025-06-20 14:11:41 +00:00

30 lines
1.2 KiB
Ruby

require 'buildsystems/autotools'
class Alsa_lib < Autotools
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'
version "1.2.14-#{CREW_PY_VER}"
license 'LGPL-2.1'
compatibility 'all'
source_url "https://github.com/alsa-project/alsa-lib/archive/v#{version.split('-').first}.tar.gz"
source_sha256 'a7bc6c09f0e5a622ebc8afb63a194aa1396145b5c6433d3445363201d96c23c4'
binary_compression 'tar.zst'
binary_sha256({
aarch64: '78302d0876d08fcc588cfb699b333f5e096266665aa18d8de8d5bc3ec061ba1c',
armv7l: '78302d0876d08fcc588cfb699b333f5e096266665aa18d8de8d5bc3ec061ba1c',
i686: '53f68bdfb4df092d98b184335e0fba990c768268ae9789e0f12cc621721bf622',
x86_64: '8d117e4c7312481688ce50f455604fe46b70358d2855c9288aac357c02c92672'
})
depends_on 'glibc' # R
depends_on 'python3' # L
autotools_configure_options <<~OPT
--without-debug \
--disable-maintainer-mode \
--with-pythonlibs=-lpython#{CREW_PY_VER.delete_prefix('py')} \
--with-pythonincludes=-I#{CREW_PREFIX}/include/python#{CREW_PY_VER.delete_prefix('py')}
OPT
end