代码拉取完成,页面将自动刷新
Name: openal-soft
Version: 1.23.1
Release: 1
Summary: A software implementation of the OpenAL 3D audio API
License: LGPL-2.0-or-later AND BSD-3-Clause
URL: https://openal-soft.org/
Source0: https://openal-soft.org/openal-releases/openal-soft-%{version}.tar.bz2
BuildRequires: alsa-lib-devel cmake fluidsynth-devel portaudio-devel pulseaudio-libs-devel
BuildRequires: qt5-devel SDL-devel
BuildRequires: libmysofa-devel libsndfile-devel gcc gcc-c++
Obsoletes: openal <= 0.0.10
Provides: openal = %{version}
%description
OpenAL Soft is an LGPL-licensed, cross-platform, software implementation of the OpenAL 3D
audio API. It's forked from the open-sourced Windows version available originally from
openal.org's SVN repository (now defunct).
OpenAL provides capabilities for playing audio in a virtual 3D environment. Distance attenuation,
doppler shift, and directional sound emitters are among the features handled by the API.
More advanced effects, including air absorption, occlusion, and environmental reverb, are available
through the EFX extension. It also facilitates streaming audio, multi-channel buffers, and audio capture.
%package devel
Summary: Development package for %{name}
Requires: %{name} = %{version}-%{release}
Obsoletes: openal-devel <= 0.0.10 %{name}-examples < %{version}-%{release}
Provides: openal-devel = %{version} %{name}-examples = %{version}-%{release}
%description devel
This package contains some libraries and header files for the development
use of %{name}. It also contains some sample applications for %{name}.
%package qt
Summary: Qt frontend for configuring %{name}
Requires: %{name} = %{version}-%{release}
%description qt
This package contains a Qt-based tool, alsoft-config,
for configuring %{name} features.
%prep
%autosetup -p1
%build
%cmake -DALSOFT_CPUEXT_NEON:BOOL=OFF .
%make_build
%install
%make_install
%delete_la
install -Dpm644 alsoftrc.sample %{buildroot}%{_sysconfdir}/openal/alsoft.conf
sed -i 's/#allow-moves = false/allow-moves = true/' %{buildroot}%{_sysconfdir}/openal/alsoft.conf
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%files
%doc COPYING
%{_libdir}/libopenal.so.*
%{_bindir}/openal-info
%dir %{_sysconfdir}/openal
%config(noreplace) %{_sysconfdir}/openal/alsoft.conf
%{_datadir}/openal
%exclude %{_datadir}/openal/alsoftrc.sample
%exclude %{_datadir}/openal/presets/presets.txt
%files devel
%{_bindir}/{makemhr,alhrtf,allatency,almultireverb,alplay}
%{_bindir}/{alloopback,alrecord,alreverb,alstream,altonegen}
%{_includedir}/*
%{_libdir}/libopenal.so
%{_libdir}/pkgconfig/openal.pc
%{_libdir}/cmake/OpenAL
%files qt
%{_bindir}/alsoft-config
%changelog
* Fri Mar 15 2024 yaoxin <yao_xin001@hoperun.com> - 1.23.1-1
- Upgrade to 1.23.1
* Sat Nov 16 2019 huzhiyu <huzhiyu1@huawei.com> - 1.18.2-7
- Package init
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。