mirror of
https://github.com/ublue-os/bazzite.git
synced 2025-01-01 03:21:41 +00:00
chore: Move changes to jupiter-hw-support spec, cleanup
This commit is contained in:
parent
2f3f56b867
commit
4aff98f48e
@ -35,12 +35,7 @@ SteamOS 3.0 Steam Deck Hardware Support Package
|
||||
%define debug_package %{nil}
|
||||
|
||||
%prep
|
||||
%setup -n %{packagename}-master
|
||||
%patch 0 -p1
|
||||
%patch 1 -p1
|
||||
%patch 2 -p1
|
||||
%patch 3 -p1
|
||||
%patch 4 -p1
|
||||
%autosetup -p1 -n %{packagename}-master
|
||||
|
||||
%build
|
||||
|
||||
|
@ -31,9 +31,7 @@ SteamOS 3.0 Steam Deck Hardware Support Package
|
||||
%define debug_package %{nil}
|
||||
|
||||
%prep
|
||||
%setup -n %{name}-master
|
||||
%patch 0 -p1
|
||||
%patch 1 -p1
|
||||
%autosetup -p1 -n %{name}-master
|
||||
|
||||
%build
|
||||
|
||||
@ -44,9 +42,19 @@ mkdir -p %{buildroot}%{_unitdir}/
|
||||
mkdir -p %{buildroot}%{_bindir}/
|
||||
mkdir -p %{buildroot}%{_sbindir}/
|
||||
mkdir -p %{buildroot}%{_sysconfdir}/
|
||||
mkdir -p %{buildroot}%{_prefix}/lib/hwsupport/
|
||||
cp -rv usr/share/* %{buildroot}%{_datadir}
|
||||
cp -rv usr/lib/systemd/system/* %{buildroot}%{_unitdir}/
|
||||
cp -rv usr/lib/hwsupport %{buildroot}%{_sbindir}/hwsupport
|
||||
cp usr/lib/hwsupport/cs35l41-dsp1-spk-prot.bin.mod %{buildroot}%{_prefix}/lib/hwsupport/cs35l41-dsp1-spk-prot.bin.mod
|
||||
cp usr/lib/hwsupport/cs35l41-dsp1-spk-prot.bin.orig %{buildroot}%{_prefix}/lib/hwsupport/cs35l41-dsp1-spk-prot.bin.orig
|
||||
cp usr/lib/hwsupport/power-button-handler.py %{buildroot}%{_prefix}/lib/hwsupport/power-button-handler.py
|
||||
cp usr/lib/hwsupport/cirrus-fixup.sh %{buildroot}%{_sbindir}/cirrus-fixup
|
||||
cp usr/lib/hwsupport/ev2_cirrus_alsa_fixups.sh %{buildroot}%{_sbindir}/ev2_cirrus_alsa_fixups
|
||||
cp usr/lib/hwsupport/format-device.sh %{buildroot}%{_sbindir}/format-device
|
||||
cp usr/lib/hwsupport/format-sdcard.sh %{buildroot}%{_sbindir}/format-sdcard
|
||||
cp usr/lib/hwsupport/jupiter-amp-control %{buildroot}%{_sbindir}/jupiter-amp-control
|
||||
cp usr/lib/hwsupport/steamos-automount.sh %{buildroot}%{_sbindir}/steamos-automount
|
||||
cp usr/lib/hwsupport/trim-devices.sh %{buildroot}%{_sbindir}/trim-devices
|
||||
cp -rv usr/lib/udev %{buildroot}%{_prefix}/lib/udev
|
||||
cp -rv usr/bin/* %{buildroot}%{_bindir}
|
||||
cp -rv usr/lib/systemd/system/* %{buildroot}%{_unitdir}
|
||||
@ -86,7 +94,14 @@ rm -rf %{buildroot}%{_unitdir}/multi-user.target.wants
|
||||
%{_bindir}/thumbstick_cal
|
||||
%{_bindir}/thumbstick_fine_cal
|
||||
%{_bindir}/trigger_cal
|
||||
%{_sbindir}/hwsupport/*
|
||||
%{_sbindir}/cirrus-fixup
|
||||
%{_sbindir}/ev2_cirrus_alsa_fixups
|
||||
%{_sbindir}/format-device
|
||||
%{_sbindir}/format-sdcard
|
||||
%{_sbindir}/jupiter-amp-control
|
||||
%{_sbindir}/steamos-automount
|
||||
%{_sbindir}/trim-devices
|
||||
%{_prefix}/lib/hwsupport/*
|
||||
%{_prefix}/lib/systemd/system/*
|
||||
%{_prefix}/lib/udev/rules.d/*
|
||||
%{_datadir}/alsa/ucm2/conf.d/acp5x/*
|
||||
|
Loading…
Reference in New Issue
Block a user