##trace # force single job compilation %define _smp_mflags -j1 %global debug_package %{nil} #%%global _lto_cflags %%{nil} %global wineversion 11.18 %global gitdate 2026xxxx %global commit xxxx %global shortcommit %(c=%{commit}; echo ${c:0:7}) %global version 1.10.0 %global release 1 # set this to "1" if building a git snapshot %global snapshot 0 Name: pipeasio %if %{snapshot} Version: %{version}^%{gitdate}git%{shortcommit} %else Version: %{version} %endif Release: %{release}%{?dist} Summary: ASIO to Pipewire License: GPL-3.0 URL: https://github.com/M0n7y5/pipeasio %if %{snapshot} Source0: https://github.com/M0n7y5/pipeasio/archive/%{commit}/%{name}-%{shortcommit}.tar.gz %else Source0: https://github.com/M0n7y5/pipeasio/archive/v%{version}/%{name}-%{version}.tar.gz %endif BuildRequires: cmake BuildRequires: gcc BuildRequires: gcc-c++ BuildRequires: mingw64-gcc BuildRequires: mingw64-gcc-c++ BuildRequires: nodejs BuildRequires: pipewire-devel >= 1.6.0 BuildRequires: qt6-qtbase-devel BuildRequires: wine-devel = %{wineversion} BuildRequires: yaml-cpp-devel Requires: pipewire >= 1.6.0 Requires: wine = %{wineversion} Requires: hicolor-icon-theme Conflicts: pipewire-wineasio %description PipeASIO lets Windows music software running under Wine or Proton use fast, low-latency audio on Linux. ASIO is the standard low-latency audio driver on Windows. Music programs (DAWs) such as FL Studio, Ableton Live, and Reaper rely on it for responsive playback and recording. PipeASIO provides that driver inside Wine and connects it straight to PipeWire, the audio system modern Linux distributions use. Your DAW sees a normal ASIO device. PipeWire sees a normal audio app it can route anywhere. %prep %if %{snapshot} %autosetup -p1 -n %{name}-%{commit} %else %autosetup -p1 -n %{name}-%{version} %endif # wine libs live in /usr/lib64/wine sed -i -e's|lib/wine|lib64/wine|' CMakeLists.txt %build #cmake -B build -DCMAKE_BUILD_TYPE=Release #cmake --build build cmake -B build -G Ninja \ -DCMAKE_INSTALL_PREFIX=%{_prefix} \ -DCMAKE_BUILD_TYPE=Release \ -DBUILD_SETTINGS_PANEL=ON \ -DBUILD_TESTS=OFF \ -DBUILD_WOW64_32=OFF cmake --build build %check # there are no tests. If there were, it would be: #ctest --test-dir build --output-on-failure %install DESTDIR=%{buildroot} cmake --install build --prefix %{_prefix} %files %defattr(-,root,root) %license COPYING %doc README.md %attr(0755,root,root) %{_bindir}/pipeasio-register %attr(0755,root,root) %{_bindir}/pipeasio-settings %attr(0644,root,root) %{_libdir}/wine/x86_64-windows/pipeasio64.dll # %%{_libdir}/wine/x86_64-windows/pipeasio.dll %attr(0755,root,root) %{_libdir}/wine/x86_64-unix/pipeasio64.so # %%{_libdir}/wine/x86_64-unix/pipeasio.dll.so %attr(0644,root,root) %{_datadir}/applications/pipeasio-settings.desktop %attr(0644,root,root) %{_iconsdir}/hicolor/scalable/apps/pipeasio.svg %changelog * Sat Sep 05 2026 Patrick - initial release