add: xwayland-satellite (#2318)

This commit is contained in:
madomado
2024-10-23 23:58:43 +08:00
committed by GitHub
parent f7ff86b1d2
commit 4035a221ca
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