7 Star 0 Fork 7

src-openEuler/alsa-tools

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
alsa-tools.spec 5.83 KB
一键复制 编辑 原始数据 按行查看 历史
Funda Wang 提交于 2024-10-12 22:18 . 1.2.11
# qlo10k1 need old qt version(2 or 3), it can't compile successfully now, so
# we don't include it now.
%global toolsdir as10k1 echomixer envy24control hdspconf hdspmixer hwmixvolume ld10k1 rmedigicontrol sbiload sb16_csp sscape_ctl us428control hda-verb hdajackretask hdajacksensetest
%global firmwaredir hdsploader mixartloader pcxhrloader usx2yloader vxloader
Name: alsa-tools
Version: 1.2.11
Release: 1
Summary: Advanced tools for ALSA
License: GPL-2.0-or-later
URL: https://www.alsa-project.org/
Source0: https://www.alsa-project.org/files/pub/tools/%{name}-%{version}.tar.bz2
Source1: 90-alsa-tools-firmware.rules
BuildRequires: gcc gcc-c++ make
BuildRequires: pkgconfig(alsa) >= 1.0.0
BuildRequires: pkgconfig(glib-2.0)
BuildRequires: pkgconfig(gtk+-2.0)
BuildRequires: pkgconfig(gtk+-3.0)
BuildRequires: /usr/bin/fltk-config
BuildRequires: desktop-file-utils
Requires: xorg-x11-fonts-misc python3-alsa
Obsoletes: alsa-tools-libs
%description
This package contains several specialist tools for use with ALSA, including
a number of programs that provide access to special hardware facilities on
certain sound cards.
* as10k1 - AS10k1 Assembler
* cspctl - Sound Blaster 16 ASP/CSP control program
* echomixer - Mixer for Echo Audio (indigo) devices
* envy24control - Control tool for Envy24 (ice1712) based soundcards
* hdspmixer - Mixer for the RME Hammerfall DSP cards
* hwmixvolume - Control the volume of individual streams on sound cards that
use hardware mixing
* ld10k1 - Attempt to make EMU10K1 (EMU10K2) patch loader for ALSA
* rmedigicontrol - Control panel for RME Hammerfall cards
* sbiload - An OPL2/3 FM instrument loader for ALSA sequencer
* sscape_ctl - ALSA SoundScape control utility
* us428control - Control tool for Tascam 428
* hda-verb - Direct HDA codec access
* hdajackretask - Reassign the I/O jacks on the HDA hardware
* hdajacksensetest - The sense test for the I/O jacks on the HDA hardware
%package firmware
Summary: firmware loader for ALSA
Requires: udev alsa-firmware fxload
%description firmware
This package contains tools for flashing firmware into certain sound cards.
The following tools are available:
* hdsploader - for RME Hammerfall DSP cards
* mixartloader - for Digigram miXart soundcards
* pcxhrloader - Firmware loader for Digigram pcxhr compatible soundcards
* vxloader - for Digigram VX soundcards
* usx2yloader - second phase firmware loader for Tascam USX2Y USB soundcards
%package devel
Summary: Development header files for certain sound cards
Requires: %{name} = %{version}-%{release}
Provides: ld10k1-devel = %{version}-%{release}
%description devel
This package contains header files for certain sound cards.
* ld10k1 - Attempt to make EMU10K1 (EMU10K2) patch loader for ALSA
%package_help
%prep
%autosetup -n %{name}-%{version} -p1
%build
mv seq/sbiload . ; rm -rf seq
for i in %{?toolsdir:%toolsdir}
do
mkdir -p tools/docs/"${i}"
for f in README AUTHORS NEWS ChangeLog TODO;
do
test -f "${i}"/"${f}" || continue
cp "${i}"/"${f}" tools/docs/"${i}"
done
if [[ -s "${i}"/COPYING ]]
then
cp "${i}"/COPYING tools/COPYING."${i}"
fi
pushd $i ; %configure
%make_build || exit 1
popd
done
for i in %{?firmwaredir:%firmwaredir}
do
mkdir -p firmware/docs/"${i}"
for f in README AUTHORS NEWS ChangeLog TODO;
do
test -f "${i}"/"$f" || continue
cp "${i}"/"${f}" firmware/docs/"${i}"
done
if [[ -s "${i}"/COPYING ]]
then
cp "${i}"/COPYING firmware/COPYING."${i}"
fi
pushd $i ; %configure
%make_build || exit 1
popd
done
%install
mkdir -p %{buildroot}%{_datadir}/{pixmaps,applications}
for i in %{?toolsdir:%toolsdir} %{?firmwaredir:%firmwaredir}
do
case $i in
usx2yloader)
%make_install hotplugdir=/lib/udev -C $i || exit 1
;;
*)
%make_install -C $i || exit 1
;;
esac
if [[ -s %{buildroot}%{_datadir}/applications/${i}.desktop ]] ; then
desktop-file-validate %{buildroot}%{_datadir}/applications/${i}.desktop
desktop-file-install --dir %{buildroot}%{_datadir}/applications \
%{buildroot}%{_datadir}/applications/${i}.desktop
fi
done
%delete_la
# convert hotplug stuff to udev
rm -f %{buildroot}/lib/udev/tascam_fw.usermap
mkdir -p %{buildroot}/lib/udev/rules.d
install -m 644 %{S:1} %{buildroot}/lib/udev/rules.d
%files
%license tools/COPYING.*
%doc tools/docs/*
%{_bindir}/as10k1
%{_bindir}/cspctl
%{_bindir}/echomixer
%{_bindir}/envy24control
%{_bindir}/hda-verb
%{_bindir}/hdajackretask
%{_bindir}/hdajacksensetest
%{_bindir}/hdspconf
%{_bindir}/hdspmixer
%{_bindir}/hwmixvolume
%{_bindir}/init_*
%{_bindir}/lo10k1
%{_bindir}/rmedigicontrol
%{_bindir}/sbiload
%{_bindir}/sscape_ctl
%{_bindir}/us428control
%{_libdir}/liblo10k1.so.*
%{_sbindir}/dl10k1
%{_sbindir}/ld10k1
%{_sbindir}/ld10k1d
%{_datadir}/applications/*.desktop
%{_datadir}/icons/hicolor/*/apps/*
%{_datadir}/ld10k1
%{_datadir}/sounds/*
%files devel
%{_includedir}/lo10k1
%{_libdir}/liblo10k1.so
%{_datadir}/aclocal/*.m4
%files firmware
%license firmware/COPYING.*
%doc firmware/docs/*
/lib/udev/rules.d/*.rules
/lib/udev/tascam_fpga
/lib/udev/tascam_fw
%{_bindir}/hdsploader
%{_bindir}/mixartloader
%{_bindir}/pcxhrloader
%{_bindir}/usx2yloader
%{_bindir}/vxloader
%files help
%{_mandir}/man1/*
%changelog
* Sat Oct 12 2024 Funda Wang <fundawang@yeah.net> - 1.2.11-1
- update to 1.2.11
* Wed Aug 28 2024 yanying <201250106@smail.nju.edu.cn> - 1.2.5-2
- backport fix for clang build
* Mon Nov 29 2021 zhouwenpei <zhouwenpei1@huawei.com> - 1.2.5-1
- update to version 1.2.5
* Tue Feb 2 2021 xinghe <xinghe@huawei.com> - 1.2.2-3
- fix bad requires
* Fri Sep 25 2020 xinghe <xinghe@huawei.com> - 1.2.2-2
- remove old tar packages
* Mon Jun 24 2020 xinghe <xinghe@huawei.com> - 1.2.2-1
- update to version 1.2.2
* Thu Aug 29 2019 luchunsheng <luochunsheng@huawei.com> - 1.1.6-4
- Fix bad requires
* Mon Aug 19 2019 openEuler Buildteam <buildteam@openeuler.org> - 1.1.6-3
- Package init
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/src-openeuler/alsa-tools.git
git@gitee.com:src-openeuler/alsa-tools.git
src-openeuler
alsa-tools
alsa-tools
master

搜索帮助