File waypipe.spec of Package waypipe
#
# spec file for package waypipe
#
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
Name: waypipe
Version: 0.7.2
Release: 0
Summary: Proxy for Wayland clients
License: MIT
Group: System/X11/Servers
URL: https://mstoeckl.com/notes/gsoc/blog.html
#Gitlab: https://gitlab.freedesktop.org/mstoeckl/waypipe/
Source: https://github.com/waltham/waltham/releases/download/v%version/%name-%version.tar.xz
BuildRequires: meson >= 0.47
BuildRequires: cmake
BuildRequires: pkgconfig(gbm)
BuildRequires: pkgconfig(libavcodec)
BuildRequires: pkgconfig(libavutil)
BuildRequires: pkgconfig(libdrm)
BuildRequires: pkgconfig(liblz4) >= 1.7.0
BuildRequires: pkgconfig(libswscale)
BuildRequires: pkgconfig(libva)
BuildRequires: pkgconfig(libzstd) >= 0.4.6
BuildRequires: pkgconfig(scdoc) >= 1.9.4
BuildRequires: pkgconfig(wayland-protocols)
BuildRequires: pkgconfig(wayland-client)
BuildRequires: pkgconfig(wayland-server)
%description
waypipe is a proxy for Wayland clients. It forwards Wayland messages
and serializes changes to shared memory buffers over a single socket.
This makes application forwarding similar to `ssh -X` feasible.
Waypipe needs to be run on both ends of a socket connection. It
emulates shared files between the different systems on each end of
the connection, using twin file copies to quickly identify file
changes.
It supports both shared-memory and DMABUFs. Performance on a local
network is kind of acceptable for terminals and relatively static
applications, but games are often unplayable due to FPS drop from the
delay needed to send a screenful of data over the network.
%package doc
Summary: Waltham development documentation
Group: Documentation/HTML
BuildArch: noarch
%description doc
This subpackage contains the documentation to Waltham.
%prep
%autosetup -p1
%build
# gcc bug 66425
export CFLAGS="%optflags -Wno-error"
export CXXFLAGS="$CFLAGS"
%meson
%meson_build
%install
%meson_install
%files
%_bindir/way*
%_mandir/man1/way*
%license COPYING
%doc README*
%changelog