%global srcname UxPlay Name: uxplay Version: 1.65.3 Release: %autorelease Summary: AirPlay Unix mirroring server License: GPL-3.0-or-later URL: https://github.com/FDH2/UxPlay Source: %{url}/archive/v%{version}/%{srcname}-%{version}.tar.gz # Do not use vendored llhttp library Patch: uxplay-unvendor-llhttp.patch BuildRequires: cmake BuildRequires: gcc-c++ BuildRequires: avahi-compat-libdns_sd-devel BuildRequires: gstreamer1-devel BuildRequires: gstreamer1-plugins-base-devel BuildRequires: libplist-devel BuildRequires: llhttp-devel BuildRequires: openssl-devel Recommends: avahi Recommends: gstreamer1-plugin-libav Recommends: gstreamer1-plugins-base Recommends: gstreamer1-plugins-good Recommends: gstreamer1-plugins-bad-free Recommends: gstreamer1-vaapi # Vendored under lib/playfair, provenance and modifications are unclear Provides: bundled(playfair) %description An AirPlay2 Mirror and AirPlay2 Audio (but not Video) server that provides screen-mirroring (with audio) of iOS/MacOS clients in a display window on the server host (which can be shared using a screen-sharing application); Apple Lossless Audio (ALAC) (e.g.,iTunes) can be streamed from client to server in non-mirror mode. %prep %autosetup -n %{srcname}-%{version} -p1 # Drop vendored library rm -r lib/llhttp %build %cmake -DNO_MARCH_NATIVE=ON %cmake_build %install %cmake_install # Remove duplicate docs rm -r %{buildroot}%{_pkgdocdir} %files %license LICENSE lib/playfair/LICENSE.md %doc README.md %{_bindir}/uxplay %{_mandir}/man1/uxplay.1* %changelog %autochangelog