From 87ac95dd6ece0a0645088b3251e65bfa82dac952 Mon Sep 17 00:00:00 2001 From: Matheus Date: Thu, 28 May 2026 23:56:55 -0300 Subject: [PATCH] openal: add sndio backend --- recipes/openal | 4 +++- source-recipes/openal | 9 +++------ 2 files changed, 6 insertions(+), 7 deletions(-) diff --git a/recipes/openal b/recipes/openal index 5950ad47..c2a883f1 100644 --- a/recipes/openal +++ b/recipes/openal @@ -3,7 +3,7 @@ revision=1 from_source=openal imagedeps="build-essential" hostdeps="xgcc xbinutils libstdc++-v3 pkgconfig cmake" -deps="base alsa-lib" +deps="base sndio" configure() { cmake \ @@ -11,6 +11,8 @@ configure() { -DCMAKE_INSTALL_PREFIX=${prefix} \ -DCMAKE_BUILD_TYPE=Release \ -DCMAKE_INSTALL_LIBDIR=lib \ + -DALSOFT_BACKEND_SNDIO=ON \ + -DALSOFT_REQUIRE_SNDIO=ON \ ${source_dir} } diff --git a/source-recipes/openal b/source-recipes/openal index 455b5cf0..42adf9c4 100644 --- a/source-recipes/openal +++ b/source-recipes/openal @@ -1,8 +1,5 @@ name=openal -version=1.21.0 +version=1.25.2 source_method=tarball -tarball_url="https://github.com/kcat/openal-soft/archive/refs/tags/openal-soft-${version}.tar.gz" -tarball_sha512=0c8159e25d9776469478c5ec577fd123c87822a22fc1da978b4e99a7fc1a5ed29ea2a53dc975cc311f72660114a7f8ab75fd9b080d93ac2a280b424c1c66d497 -prepare() { - true -} +tarball_url="https://github.com/kcat/openal-soft/archive/refs/tags/${version}.tar.gz" +tarball_sha512=d3790aedce0bdb0b348b35f917dec0626de2486f5967c9160cf2d50d5c2a00ff264ff73133ac6a0aa9207e8e5042e5d4fcc663c1e733df8e733647e843c39b25