mirror of
https://github.com/chromebrew/chromebrew.git
synced 2026-01-09 15:37:56 -05:00
ffmpeg => 6.0 (#8014)
* ffmpeg => 6.0 * rebuild ffmpeg with installation of man pages * rebuild with libjxl * rebuild ffmpeg with libjxl * ffmpeg 6 update * mpv rebuild * rebuild ffmpegthumbnailer * update alsa packages * cleanup * update waypipe * rebuild chromaprint * update qtbase * fix dir creation for downloads with nodebrew * update qtdeclarative, qtwebchannel * update peek * update spacefm * update qtfm * update shotcut * update qtlocation * add opusfile, update cmus * add cjson * add openh264 * update qttools * update freerdp * update qtquickcontrols * update qtwayland and qtx11extras * update gegl * update poppler_data, gstreamer * update qtmultimedia * update poppler * update libvncserver * rebuild gegl * add qtwebengine builds * add filelist * add get_iplayer * fixup nodebrew postinstall * add filelists * lint * suggested changes * suggested changes
This commit is contained in:
committed by
GitHub
parent
8425bd29ec
commit
4cd9e4e294
@@ -3,35 +3,34 @@ require 'package'
|
||||
class Alsa_lib < Package
|
||||
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.4'
|
||||
version '1.2.9'
|
||||
license 'LGPL-2.1'
|
||||
compatibility 'all'
|
||||
compatibility 'x86_64 aarch64 armv7l'
|
||||
source_url "https://github.com/alsa-project/alsa-lib/archive/v#{version}.tar.gz"
|
||||
source_sha256 '0c6ab052d7ea980a01d0208da5e5e10849bd16c4c9961bbd5d2665083b74a6c0'
|
||||
source_sha256 '95bbac3c04e7a722439e0c282232881e8657562ae55a90b85e58a8f5aa140ac0'
|
||||
|
||||
binary_url({
|
||||
aarch64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/alsa_lib/1.2.4_armv7l/alsa_lib-1.2.4-chromeos-armv7l.tar.xz',
|
||||
armv7l: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/alsa_lib/1.2.4_armv7l/alsa_lib-1.2.4-chromeos-armv7l.tar.xz',
|
||||
i686: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/alsa_lib/1.2.4_i686/alsa_lib-1.2.4-chromeos-i686.tar.xz',
|
||||
x86_64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/alsa_lib/1.2.4_x86_64/alsa_lib-1.2.4-chromeos-x86_64.tar.xz'
|
||||
aarch64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/alsa_lib/1.2.9_armv7l/alsa_lib-1.2.9-chromeos-armv7l.tar.zst',
|
||||
armv7l: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/alsa_lib/1.2.9_armv7l/alsa_lib-1.2.9-chromeos-armv7l.tar.zst',
|
||||
x86_64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/alsa_lib/1.2.9_x86_64/alsa_lib-1.2.9-chromeos-x86_64.tar.zst'
|
||||
})
|
||||
binary_sha256({
|
||||
aarch64: '07cb624cc829dc5f17dcc5d6a9f0a7ea67798bdbc4c27a7a4e075149be91143f',
|
||||
armv7l: '07cb624cc829dc5f17dcc5d6a9f0a7ea67798bdbc4c27a7a4e075149be91143f',
|
||||
i686: '3baa9db99ab259ba52b8769fd5720da076620a30981133b4143b9e5907698227',
|
||||
x86_64: '20132936d9c3ba6fa0126aad6926996f47886ace79548be152cb8aa6975c626d'
|
||||
aarch64: 'f872050fc0f77633fe2d6860328ec13e7bc43a3c3e4de41bf8daefa68fe6f91e',
|
||||
armv7l: 'f872050fc0f77633fe2d6860328ec13e7bc43a3c3e4de41bf8daefa68fe6f91e',
|
||||
x86_64: '58437d5b0c77fb495e4f354c7b19c73dd98b8aff781cb7ea83e4339b36ba2b88'
|
||||
})
|
||||
|
||||
depends_on 'python3'
|
||||
depends_on 'python3' # L
|
||||
depends_on 'glibc' # R
|
||||
|
||||
def self.build
|
||||
@py_ver = `python -c "import sys; version = '.'.join(map(str, sys.version_info[:2])) ; print(version)"`.chomp
|
||||
system 'autoreconf -fiv'
|
||||
system "./configure #{CREW_OPTIONS} \
|
||||
--with-alsalconfdir=#{CREW_PREFIX}/etc/alsa/conf.d \
|
||||
system "mold -run ./configure #{CREW_OPTIONS} \
|
||||
--without-debug \
|
||||
--disable-maintainer-mode \
|
||||
--with-pythonlibs=-lpython3.9 \
|
||||
--with-pythonincludes=-I#{CREW_PREFIX}/include/python3.9"
|
||||
--with-pythonlibs=-lpython#{@py_ver} \
|
||||
--with-pythonincludes=-I#{CREW_PREFIX}/include/python#{@py_ver}"
|
||||
system 'make'
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user