diff --git a/anda/langs/rust/xwayland-satellite/anda.hcl b/anda/langs/rust/xwayland-satellite/anda.hcl new file mode 100644 index 0000000000..08be56162c --- /dev/null +++ b/anda/langs/rust/xwayland-satellite/anda.hcl @@ -0,0 +1,5 @@ +project pkg { + rpm { + spec = "xwayland-satellite.spec" + } +} diff --git a/anda/langs/rust/xwayland-satellite/update.rhai b/anda/langs/rust/xwayland-satellite/update.rhai new file mode 100644 index 0000000000..ea68a4030a --- /dev/null +++ b/anda/langs/rust/xwayland-satellite/update.rhai @@ -0,0 +1 @@ +rpm.version(gh("supreeeme/xwayland-satellite")); diff --git a/anda/langs/rust/xwayland-satellite/xwayland-satellite.spec b/anda/langs/rust/xwayland-satellite/xwayland-satellite.spec new file mode 100644 index 0000000000..08897397a9 --- /dev/null +++ b/anda/langs/rust/xwayland-satellite/xwayland-satellite.spec @@ -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