From ed4e24b47cfa2ebdba7d1b1d28d7f22296e21def Mon Sep 17 00:00:00 2001 From: sharpenedblade Date: Sat, 17 Jun 2023 20:10:57 +0530 Subject: [PATCH] fix: Add audio config to pulseaudio/alsa-mixer --- t2linux-audio/t2linux-audio.spec | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/t2linux-audio/t2linux-audio.spec b/t2linux-audio/t2linux-audio.spec index 0ea817e..4e5d01e 100644 --- a/t2linux-audio/t2linux-audio.spec +++ b/t2linux-audio/t2linux-audio.spec @@ -1,5 +1,5 @@ Name: t2linux-audio -Version: 0.3.0 +Version: 0.3.1 Release: 1%{?dist} Summary: Speaker and mic config for T2 macs License: MIT @@ -31,7 +31,15 @@ install -m 644 files/paths/* %{buildroot}/%{_datadir}/alsa-card-profile/mixer/pa install -d -m 755 %{buildroot}/%{_datadir}/alsa-card-profile/mixer/profile-sets install -m 644 files/profile-sets/* %{buildroot}/%{_datadir}/alsa-card-profile/mixer/profile-sets/ +install -d -m 755 %{buildroot}/%{_datadir}/pulseaudio/alsa-mixer/paths +install -m 644 files/paths/* %{buildroot}/%{_datadir}/pulseaudio/alsa-mixer/paths/ + +install -d -m 755 %{buildroot}/%{_datadir}/pulseaudio/alsa-mixer/profile-sets +install -m 644 files/profile-sets/* %{buildroot}/%{_datadir}/pulseaudio/alsa-mixer/profile-sets/ + %files %{_datadir}/alsa-card-profile/mixer/paths/* %{_datadir}/alsa-card-profile/mixer/profile-sets/* +%{_datadir}/pulseaudio/alsa-mixer/paths/* +%{_datadir}/pulseaudio/alsa-mixer/profile-sets/* /usr/lib/udev/rules.d/91-audio-t2.rules