add: xwayland-satellite (#2318) (#2328)

(cherry picked from commit 4035a221ca)

Co-authored-by: madomado <madonuko@outlook.com>
This commit is contained in:
Raboneko
2024-10-23 09:11:32 -07:00
committed by GitHub
parent a35d79d9cf
commit f27c1ee5cd
3 changed files with 38 additions and 0 deletions
@@ -0,0 +1,5 @@
project pkg {
rpm {
spec = "xwayland-satellite.spec"
}
}
@@ -0,0 +1 @@
rpm.version(gh("supreeeme/xwayland-satellite"));
@@ -0,0 +1,32 @@
Name: xwayland-satellite
Version: 0.4
Release: 1%?dist
Summary: Xwayland outside your Wayland.
License: MPL-2.0
URL: https://github.com/supreeeme/xwayland-satellite
Source0: %url/archive/refs/tags/v%version.tar.gz
BuildRequires: anda-srpm-macros cargo-rpm-macros mold
BuildRequires: pkgconfig(xcb)
BuildRequires: xcb-util-cursor-devel
BuildRequires: clang-devel
%description
xwayland-satellite grants rootless Xwayland integration to any Wayland
compositor implementing xdg_wm_base. This is particularly useful for
compositors that (understandably) do not want to go through implementing
support for rootless Xwayland themselves.
%prep
%autosetup
%cargo_prep_online
%build
%cargo_build
%install
%cargo_install
%files
%doc README.md
%license LICENSE
%_bindir/xwayland-satellite