!11 【LTS升级】alsa-lib升级到最新版本
Merge pull request !11 from xinghe/openEuler-20.03-LTS
This commit is contained in:
commit
31c22118fe
Binary file not shown.
BIN
alsa-lib-1.2.3.tar.bz2
Normal file
BIN
alsa-lib-1.2.3.tar.bz2
Normal file
Binary file not shown.
@ -1,18 +1,18 @@
|
|||||||
|
%define version_alsa_ucm 1.2.3
|
||||||
|
%define version_alsa_tplg 1.2.3
|
||||||
Name: alsa-lib
|
Name: alsa-lib
|
||||||
Version: 1.2.2
|
Version: 1.2.3
|
||||||
Release: 2
|
Release: 1
|
||||||
Summary: the user space library that developers compile ALSA applications against
|
Summary: the user space library that developers compile ALSA applications against
|
||||||
|
|
||||||
%define alsa_ucm_version 1.2.2
|
|
||||||
%define alsa_tplg_version 1.2.2
|
|
||||||
|
|
||||||
License: LGPLv2+
|
License: LGPLv2+
|
||||||
URL: https://alsa-project.org/
|
URL: https://alsa-project.org/
|
||||||
Source0: https://www.alsa-project.org/files/pub/lib/%{name}-%{version}.tar.bz2
|
Source0: https://www.alsa-project.org/files/pub/lib/%{name}-%{version}.tar.bz2
|
||||||
Source1: ftp://ftp.alsa-project.org/pub/lib/alsa-ucm-conf-%{alsa_ucm_version}.tar.bz2
|
Source1: ftp://ftp.alsa-project.org/pub/lib/alsa-ucm-conf-%{version_alsa_ucm}.tar.bz2
|
||||||
Source2: ftp://ftp.alsa-project.org/pub/lib/alsa-topology-conf-%{alsa_tplg_version}.tar.bz2
|
Source2: ftp://ftp.alsa-project.org/pub/lib/alsa-topology-conf-%{version_alsa_tplg}.tar.bz2
|
||||||
Source10: asound.conf
|
Source10: asound.conf
|
||||||
|
|
||||||
|
Source40: alsa-ucm-conf.patch
|
||||||
BuildRequires: autoconf, automake, libtool, doxygen
|
BuildRequires: autoconf, automake, libtool, doxygen
|
||||||
Requires: coreutils
|
Requires: coreutils
|
||||||
|
|
||||||
@ -33,20 +33,20 @@ This package contains libraries and header files for the ALSA development.
|
|||||||
|
|
||||||
%package -n alsa-ucm
|
%package -n alsa-ucm
|
||||||
Summary: ALSA Use Case Manager configuration
|
Summary: ALSA Use Case Manager configuration
|
||||||
Group: System Environment/Libraries
|
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
Requires: %{name} = %{version}-%{release}
|
License: BSD
|
||||||
|
Requires: %{name} >= %{version_alsa_ucm}
|
||||||
|
|
||||||
%description -n alsa-ucm
|
%description -n alsa-ucm
|
||||||
The Advanced Linux Sound Architecture (ALSA) Use Case Manager configuration
|
The Advanced Linux Sound Architecture (ALSA) Use Case Manager configuration
|
||||||
contains alsa-lib configuration of Audio input/output names and routing
|
contains alsa-lib configuration of Audio input/output names and routing
|
||||||
|
|
||||||
%package -n alsa-topology
|
%package -n alsa-topology
|
||||||
Summary: ALSA Topology configuration
|
Summary: ALSA Topology configuration
|
||||||
Group: System Environment/Libraries
|
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
Requires: %{name} = %{version}-%{release}
|
License: BSD
|
||||||
|
Requires: %{name} >= %{version_alsa_tplg}
|
||||||
|
|
||||||
%description -n alsa-topology
|
%description -n alsa-topology
|
||||||
The Advanced Linux Sound Architecture (ALSA) topology configuration
|
The Advanced Linux Sound Architecture (ALSA) topology configuration
|
||||||
contains alsa-lib configuration of SoC topology
|
contains alsa-lib configuration of SoC topology
|
||||||
@ -78,7 +78,8 @@ mkdir -p %{buildroot}/%{_datadir}/alsa/ucm2
|
|||||||
|
|
||||||
# Unpack UCMs
|
# Unpack UCMs
|
||||||
tar xvjf %{SOURCE1} -C %{buildroot}/%{_datadir}/alsa --strip-components=1 "*/ucm" "*/ucm2"
|
tar xvjf %{SOURCE1} -C %{buildroot}/%{_datadir}/alsa --strip-components=1 "*/ucm" "*/ucm2"
|
||||||
|
patch -d %{buildroot}/%{_datadir}/alsa -p1 < %{SOURCE40}
|
||||||
|
|
||||||
# Create topology directory
|
# Create topology directory
|
||||||
mkdir -p %{buildroot}/%{_datadir}/alsa/topology
|
mkdir -p %{buildroot}/%{_datadir}/alsa/topology
|
||||||
|
|
||||||
@ -110,14 +111,19 @@ tar xvjf %{SOURCE2} -C %{buildroot}/%{_datadir}/alsa --strip-components=1 "*/top
|
|||||||
%{_datadir}/aclocal/*.m4
|
%{_datadir}/aclocal/*.m4
|
||||||
|
|
||||||
%files -n alsa-ucm
|
%files -n alsa-ucm
|
||||||
|
# BSD
|
||||||
%{_datadir}/alsa/ucm
|
%{_datadir}/alsa/ucm
|
||||||
%{_datadir}/alsa/ucm2
|
%{_datadir}/alsa/ucm2
|
||||||
|
|
||||||
%files -n alsa-topology
|
%files -n alsa-topology
|
||||||
|
# BSD
|
||||||
%{_datadir}/alsa/topology
|
%{_datadir}/alsa/topology
|
||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Sat Aug 15 2020 xinghe <xinghe1@huawei.com> - 1.2.3-1
|
||||||
|
- update to 1.2.3
|
||||||
|
|
||||||
* Fri May 29 2020 gaoch_100 <gaochao52@huawei.com> - 1.2.2-2
|
* Fri May 29 2020 gaoch_100 <gaochao52@huawei.com> - 1.2.2-2
|
||||||
- DESC:add alsa-ucm alsa-topology
|
- DESC:add alsa-ucm alsa-topology
|
||||||
|
|
||||||
|
|||||||
Binary file not shown.
BIN
alsa-topology-conf-1.2.3.tar.bz2
Normal file
BIN
alsa-topology-conf-1.2.3.tar.bz2
Normal file
Binary file not shown.
Binary file not shown.
BIN
alsa-ucm-conf-1.2.3.tar.bz2
Normal file
BIN
alsa-ucm-conf-1.2.3.tar.bz2
Normal file
Binary file not shown.
0
alsa-ucm-conf.patch
Normal file
0
alsa-ucm-conf.patch
Normal file
Loading…
x
Reference in New Issue
Block a user