123 Star 0 Fork 10

src-openEuler/openal-soft

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
openal-soft.spec 2.85 KB
一键复制 编辑 原始数据 按行查看 历史
starlet_dx 提交于 2024-03-15 14:48 . Upgrade to 1.23.1
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
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/src-openeuler/openal-soft.git
git@gitee.com:src-openeuler/openal-soft.git
src-openeuler
openal-soft
openal-soft
master

搜索帮助

D67c1975 1850385 1daf7b77 1850385