##trace # force single job compilation %define _smp_mflags -j1 %global debug_package %{nil} #%%global _lto_cflags %%{nil} %global wineversion 11.13 %global gitdate 2026xxxx %global commit xxxx %global shortcommit %(c=%{commit}; echo ${c:0:7}) %global version 1.2.3 %global release 1 # set this to "1" if building a git snapshot %global snapshot 0 #============================================================================= # general #----------------------------------------------------------------------------- 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: nodejs BuildRequires: pipewire-devel >= 1.6.0 BuildRequires: qt6-qtbase-devel BuildRequires: wine-devel = %{wineversion} 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 #----------------------------------------------------------------------------- %prep %if %{snapshot} %autosetup -p1 -n %{name}-%{commit} %else %autosetup -p1 -n %{name}-%{version} %endif #============================================================================= # build #----------------------------------------------------------------------------- %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 # -DCMAKE_INSTALL_LIBDIR=%{_lib} \ cmake --build build #============================================================================= # check #----------------------------------------------------------------------------- %check # there are no tests #ctest --test-dir build --output-on-failure #============================================================================= # install #----------------------------------------------------------------------------- %install #DESTDIR=%{buildroot} cmake --install build --prefix %{_prefix} install -Dm0755 pipeasio-register -t "%{buildroot}%{_bindir}" install -Dm0755 build/gui/pipeasio-settings -t "%{buildroot}%{_bindir}" install -Dm0644 build/pipeasio64.dll -t "%{buildroot}%{_libdir}/wine/x86_64-windows" install -Dm0755 build/pipeasio64.dll.so -t "%{buildroot}%{_libdir}/wine/x86_64-unix" ln -s pipeasio64.dll "%{buildroot}%{_libdir}/wine/x86_64-windows/pipeasio.dll" ln -s pipeasio64.dll.so "%{buildroot}%{_libdir}/wine/x86_64-unix/pipeasio.dll.so" install -Dm0644 gui/pipeasio-settings.desktop -t "%{buildroot}%{_datadir}/applications" install -Dm0644 docs/icon.svg "%{buildroot}%{_iconsdir}/hicolor/scalable/apps/pipeasio.svg" #============================================================================= # files #----------------------------------------------------------------------------- %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.dll.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 #----------------------------------------------------------------------------- %changelog * Wed Jul 15 2026 Patrick Laimbock - 1.2.3-1 - initial release for the wine-staging-dev copr