Skip to content

Commit

Permalink
update pixelbook-alsa-ucm for alsa 1.2.7
Browse files Browse the repository at this point in the history
  • Loading branch information
jmontleon committed Jun 4, 2022
1 parent 87c2195 commit 404c204
Showing 1 changed file with 12 additions and 4 deletions.
16 changes: 12 additions & 4 deletions specs/pixelbook-alsa-ucm.spec
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
Name: pixelbook-alsa-ucm
Version: 1.0.0
Release: 4%{?dist}
Release: 5%{?dist}
License: BSD
Summary: Alsa UCM profile for the Pixelbook
Source0: HiFi.conf
Source1: kbl-r5514-5663-.conf
BuildArch: noarch

Requires: alsa-ucm >= 1.2.6
Requires: alsa-ucm >= 1.2.7

%description
Alsa UCM profile for the Pixelbook
Expand All @@ -17,16 +17,24 @@ Alsa UCM profile for the Pixelbook
%build

%install
mkdir -p %{buildroot}/usr/share/alsa/ucm2/Intel/kbl-r5514-5663-/
mkdir -p %{buildroot}/usr/share/alsa/ucm2/conf.d/kbl-r5514-5663-/
install -m 0755 %{SOURCE0} %{buildroot}/usr/share/alsa/ucm2/conf.d/kbl-r5514-5663-/
install -m 0755 %{SOURCE1} %{buildroot}/usr/share/alsa/ucm2/conf.d/kbl-r5514-5663-/
install -m 0755 %{SOURCE0} %{buildroot}/usr/share/alsa/ucm2/Intel/kbl-r5514-5663-/
install -m 0755 %{SOURCE1} %{buildroot}/usr/share/alsa/ucm2/Intel/kbl-r5514-5663-/
cd %{buildroot}/usr/share/alsa/ucm2/conf.d/kbl-r5514-5663-/
ln -sf ../../Intel/kbl-r5514-5663-/kbl-r5514-5663-.conf
%check

%files
%dir /usr/share/alsa/ucm2/conf.d/kbl-r5514-5663-/
%dir /usr/share/alsa/ucm2/Intel/kbl-r5514-5663-/
/usr/share/alsa/ucm2/conf.d/kbl-r5514-5663-/*
/usr/share/alsa/ucm2/Intel/kbl-r5514-5663-/*

%changelog
* Sat Jun 04 2022 Jason Montleon <[email protected]> - 1.0.0-5
- Adjust configuration file locations for alsa 1.2.7 compatibility

* Sun Dec 12 2021 Jason Montleon <[email protected]> - 1.0.0-4
- Move configs into conf.d directory for alsa 1.2.6 compatibility

Expand Down

0 comments on commit 404c204

Please sign in to comment.