##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.3.0 %global release 2 # set this to "1" if building a git snapshot %global snapshot 0 #============================================================================= # general #----------------------------------------------------------------------------- Name: pipewire-wineasio %if %{snapshot} Version: %{version}^%{gitdate}git%{shortcommit} %else Version: %{version} %endif Release: %{release}%{?dist} Summary: ASIO to Pipewire's JACK driver for WINE License: LGPLv2.1 and GPL-2.0 URL: https://github.com/wineasio/wineasio %if %{snapshot} Source0: https://github.com/wineasio/wineasio/archive/%{commit}/wineasio-%{shortcommit}.tar.gz %else Source0: https://github.com/wineasio/wineasio/archive/v%{version}/wineasio-%{version}.tar.gz %endif BuildRequires: gcc BuildRequires: make BuildRequires: wine-devel = %{wineversion} Requires: pipewire-jack-audio-connection-kit Requires: python3-pyqt6 Requires: wine = %{wineversion} Conflicts: wineasio %description WineASIO provides an ASIO to JACK driver for WINE. ASIO is the most common Windows low-latency driver, so is commonly used in audio workstation programs. You can, for example, use with FLStudio under GNU/Linux systems (together with JACK). This version is built against Pipewire's JACK implementation. #============================================================================= # prep #----------------------------------------------------------------------------- %prep %if %{snapshot} %autosetup -p1 -n wineasio-%{commit} %else %autosetup -p1 -n wineasio-%{version} %endif #============================================================================= # build #----------------------------------------------------------------------------- %build %make_build 64 #============================================================================= # check #----------------------------------------------------------------------------- %check # there are no tests #============================================================================= # install #----------------------------------------------------------------------------- %install install -d -m0755 %{buildroot}%{_libdir}/wine/x86_64-windows install -D -m 0755 wineasio-register %{buildroot}%{_bindir}/wineasio-register install -D -m 0755 build64/wineasio64.dll %{buildroot}%{_libdir}/wine/x86_64-windows/wineasio64.dll install -D -m 0755 build64/wineasio64.dll.so %{buildroot}%{_libdir}/wine/x86_64-unix/wineasio64.dll.so pushd gui %make_install popd #============================================================================= # files #----------------------------------------------------------------------------- %files %defattr(-,root,root) %license COPYING.LIB COPYING.GUI %doc README.md %attr(0755,root,root) %{_bindir}/wineasio-register %attr(0755,root,root) %{_bindir}/wineasio-settings %attr(0755,root,root) %dir %{_datadir}/wineasio %attr(0644,root,root) %{_datadir}/wineasio/*.py %attr(0755,root,root) %{_libdir}/wine/x86_64-windows/wineasio64.dll %attr(0755,root,root) %{_libdir}/wine/x86_64-unix/wineasio64.dll.so #============================================================================= # post #----------------------------------------------------------------------------- %post /sbin/ldconfig #============================================================================= # postun #----------------------------------------------------------------------------- %postun /sbin/ldconfig #============================================================================= # changelog #----------------------------------------------------------------------------- %changelog * Sun Jul 19 2026 Patrick Laimbock - 1.3.0-2 - build against wine-11.13 * Tue Jul 14 2026 Patrick Laimbock - 1.3.0-1 - initial release for the wine-staging-dev copr