Files
chromebrew/packages/alsa_plugins.rb
Satadru Pramanik 665b38f135 X11 updates, and updates of packages which used to depend upon xorg_lib (#7634)
* initial updates

* mesa_utils -> 8.5.0

* libx11 -> 1.8.2

* mesa updates to support libglvnd

* more updates

* rev xorg_server

* more changes

* cleanup xhost

* tk -> 8.6.12

* add binaries

* add more binaries

* sound updates

* lint fixup

* adjust libsoup2

* fixup chromaprint deps

* change pulseaudio deps

* cleanup gstreamer deps

* rebuild libxrender

* make gsettings dep adjustments

* modify chromaprint deps

* modify alsa_plugins deps

* adjust libgconf deps

* pulseaudio -> 16.1

* cleanup libglu

* mpv -> 0.35.0

* modify sommelier mesa logic

* make llvm build dep of mesa

* cleanup more deps

* lint

* fix indentation
2022-11-15 11:04:24 -06:00

47 lines
1.8 KiB
Ruby

require 'package'
class Alsa_plugins < Package
description 'alsa-plugins contains plugins for various ALSA needs (e.g. Jack).'
homepage 'https://www.alsa-project.org/main/index.php/Main_Page'
version '1.2.2'
license 'GPL-2 and LGPL-2.1'
compatibility 'all'
source_url 'ftp://ftp.alsa-project.org/pub/plugins/alsa-plugins-1.2.2.tar.bz2'
source_sha256 '1c0f06450c928d711719686c9dbece2d480184f36fab11b8f0534cb7b41e337d'
binary_url({
aarch64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/alsa_plugins/1.2.2_armv7l/alsa_plugins-1.2.2-chromeos-armv7l.tar.xz',
armv7l: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/alsa_plugins/1.2.2_armv7l/alsa_plugins-1.2.2-chromeos-armv7l.tar.xz',
i686: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/alsa_plugins/1.2.2_i686/alsa_plugins-1.2.2-chromeos-i686.tar.xz',
x86_64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/alsa_plugins/1.2.2_x86_64/alsa_plugins-1.2.2-chromeos-x86_64.tar.xz'
})
binary_sha256({
aarch64: '6dfe0afc4137d689eda0c4693aac4016e66e9da74ccaf540ebd12cb2fd704103',
armv7l: '6dfe0afc4137d689eda0c4693aac4016e66e9da74ccaf540ebd12cb2fd704103',
i686: '2e363fbae56a4dc05af716316f6465b36655663a5953437af4c996e22eece8bc',
x86_64: '2c0108843697c8711160defebbf6db421a2b6fe1aa582b9567e8cbb9b124bf02'
})
depends_on 'alsa_lib' # R
depends_on 'dbus'
# depends_on 'ffmpeg'
depends_on 'pulseaudio' # R
depends_on 'speexdsp' # R
def self.build
system './configure',
"--prefix=#{CREW_PREFIX}",
"--libdir=#{CREW_LIB_PREFIX}",
"--with-alsalconfdir=#{CREW_PREFIX}/etc/alsa/conf.d"
system 'make'
end
def self.check
system 'make', 'check'
end
def self.install
system 'make', "DESTDIR=#{CREW_DEST_DIR}", 'install'
end
end