File wayfarer.spec of Package wayfarer

Name:           wayfarer
Version:        1.2.4
Release:        0
Summary:        A Wayland screen recorder
License:        GPL-3.0
URL:            https://github.com/stronnag/wayfarer
Source0:        %{name}-%{version}.tar.gz
BuildRequires:  desktop-file-utils
%if 0%{?suse_version}
BuildRequires:  ninja openSUSE-release
%else
BuildRequires:  ninja-build
%endif
BuildRequires:  gcc-c++ >= 11
BuildRequires:  meson cmake
BuildRequires:  pkgconfig
BuildRequires:  vala
BuildRequires:  blueprint-compiler
BuildRequires:  pkgconfig(gstreamer-1.0)
BuildRequires:  pkgconfig(gstreamer-pbutils-1.0)
BuildRequires:  pkgconfig(libpulse)
BuildRequires:  pkgconfig(gtk4)

%description
A screenrecorder for GNOME, but may work for other Wayland desktops as well.

%prep
%autosetup -p1

%build
%meson --buildtype=release

%install
pushd %{_vpath_builddir}
%ninja_install
popd

%check

%files
%license LICENCE
%doc README.md
%{_bindir}/wayfarer
%{_datadir}/icons/hicolor/scalable/apps/wayfarer.svg
%attr(644, root, -) %{_datadir}/applications/org.stronnag.wayfarer.desktop
%{_datadir}/glib-2.0/schemas/org.stronnag.wayfarer.gschema.xml

%changelog
openSUSE Build Service is sponsored by