Blame wl-mirror.spec

cdcbb71
Name:           wl-mirror
5b2ca16
Version:        0.13.1
cdcbb71
Release:        %autorelease
cdcbb71
Summary:        Simple Wayland output mirror client
cdcbb71
247b4be
License:        GPL-3.0-or-later
cdcbb71
URL:            https://github.com/Ferdi265/%{name}
cdcbb71
Source0:        %{url}/releases/download/v%{version}/%{name}-%{version}.tar.gz
247b4be
Source1:        %{url}/releases/download/v%{version}/%{name}-%{version}.tar.gz.sig
247b4be
# Ferdinand Bachmann <ferdinand.bachmann@yrlf.at> at keys.openpgp.org
247b4be
Source2:        gpgkey-BC1D9BD570235175.asc
cdcbb71
cdcbb71
BuildRequires:  cmake
cdcbb71
BuildRequires:  gcc
247b4be
BuildRequires:  gnupg2
5b2ca16
BuildRequires:  pkgconfig(egl)
5b2ca16
BuildRequires:  pkgconfig(glesv2)
5b2ca16
BuildRequires:  pkgconfig(wayland-client)
5b2ca16
BuildRequires:  pkgconfig(wayland-egl)
765416b
BuildRequires:  scdoc
cdcbb71
BuildRequires:  wayland-protocols-devel
cdcbb71
cdcbb71
# wlr-protocols may have different licenses, but it does not affect
cdcbb71
# the generated code or the binary file license
5b2ca16
Provides:       bundled(wlr-protocols) = 0^20220627g8cdeaac
cdcbb71
cdcbb71
%description
cdcbb71
Simple output mirror client for Wlroots-based compositors.
cdcbb71
cdcbb71
wl-mirror attempts to provide a solution to sway's lack of output
cdcbb71
mirroring by mirroring an output onto a client surface.
cdcbb71
cdcbb71
%prep
247b4be
%{gpgverify} --keyring='%{SOURCE2}' --signature='%{SOURCE1}' --data='%{SOURCE0}'
cdcbb71
%autosetup
cdcbb71
# remove bundled wayland-protocols, just in case
cdcbb71
rm -rf proto/wayland-protocols
cdcbb71
cdcbb71
cdcbb71
%build
cdcbb71
%cmake \
765416b
    -DFORCE_SYSTEM_WL_PROTOCOLS:BOOL=ON \
765416b
    -DINSTALL_DOCUMENTATION:BOOL=ON
cdcbb71
%cmake_build
cdcbb71
cdcbb71
cdcbb71
%install
cdcbb71
%cmake_install
cdcbb71
cdcbb71
cdcbb71
%files
cdcbb71
%license LICENSE
cdcbb71
%doc README.md
cdcbb71
%{_bindir}/%{name}
765416b
%{_mandir}/man1/%{name}.1*
cdcbb71
cdcbb71
cdcbb71
%changelog
cdcbb71
%autochangelog