bazzite/spec_files/steamdeck-dsp/steamdeck-dsp.spec

58 lines
1.8 KiB
RPMSpec
Raw Normal View History

2023-11-22 07:10:49 +00:00
Name: steamdeck-dsp
Version: {{{ git_dir_version }}}
Release: 1%{?dist}
Summary: Steamdeck Audio Processing
License: GPLv2
URL: https://github.com/ublue-os/bazzite
Source: https://gitlab.com/evlaV/valve-hardware-audio-processing/-/archive/main/valve-hardware-audio-processing-main.tar.gz
Patch0: fedora.patch
2023-11-30 00:17:05 +00:00
Requires: pipewire-module-filter-chain-lv2
2023-11-29 20:13:06 +00:00
Requires: ladspa-noise-suppression-for-voice
2023-11-30 00:17:05 +00:00
Requires: boost
2023-11-29 20:13:06 +00:00
2023-11-22 07:10:49 +00:00
BuildRequires: make
BuildRequires: faust
BuildRequires: faust-tools
2023-11-22 07:10:49 +00:00
BuildRequires: boost-devel
BuildRequires: lv2-devel
BuildRequires: g++
2023-11-29 20:13:06 +00:00
BuildRequires: ladspa-devel
2023-11-22 07:10:49 +00:00
%description
Steamdeck Audio Processing
# Disable debug packages
%define debug_package %{nil}
%prep
%setup -n valve-hardware-audio-processing-main
%patch 0 -p1
2023-11-22 07:10:49 +00:00
%build
%make_build FAUSTINC="/usr/include/faust" FAUSTLIB="/usr/share/faust"
%install
2023-11-29 21:28:12 +00:00
%make_install DEST_DIR="%{buildroot}" LIB_DIR="%{buildroot}%{_libdir}"
mkdir -p %{buildroot}%{_datadir}/licenses/%{name}/
cp LICENSE %{buildroot}%{_datadir}/licenses/%{name}/LICENSE
2023-11-22 07:10:49 +00:00
# This lists all the files that are included in the rpm package and that
# are going to be installed into target system where the rpm is installed.
%files
%license LICENSE
%{_prefix}/lib/firmware/amd/*
2023-11-29 21:28:12 +00:00
%{_libdir}/lv2/svg/valve_deck_*
%{_libdir}/lv2/valve_*
%{_datadir}/alsa/ucm2/conf.d/acp5x/*.conf
%{_datadir}/alsa/ucm2/conf.d/sof-nau8821-max/*.conf
%{_datadir}/pipewire/pipewire.conf.d/*.conf
%{_datadir}/wireplumber/bluetooth.lua.d/*.lua
%{_datadir}/wireplumber/main.lua.d/*.lua
%{_datadir}/wireplumber/scripts/*.lua
2023-11-22 07:10:49 +00:00
# Finally, changes from the latest release of your application are generated from
# your project's Git history. It will be empty until you make first annotated Git tag.
%changelog
{{{ git_dir_changelog }}}