From 84432fddb954bcd9b1e1fb28f6e1242070bf0c7d Mon Sep 17 00:00:00 2001 From: Raboneko <119771935+raboneko@users.noreply.github.com> Date: Thu, 19 Mar 2026 01:24:24 -0700 Subject: [PATCH] add: driftwm (#10695) (#10734) (cherry picked from commit 70dd6e955c1b92c0432016c5778d382a17101dc5) Co-authored-by: Owen Zimmerman <123591347+Owen-sz@users.noreply.github.com> --- anda/desktops/driftwm/anda.hcl | 5 ++++ anda/desktops/driftwm/driftwm.spec | 46 ++++++++++++++++++++++++++++++ anda/desktops/driftwm/update.rhai | 1 + 3 files changed, 52 insertions(+) create mode 100644 anda/desktops/driftwm/anda.hcl create mode 100644 anda/desktops/driftwm/driftwm.spec create mode 100644 anda/desktops/driftwm/update.rhai diff --git a/anda/desktops/driftwm/anda.hcl b/anda/desktops/driftwm/anda.hcl new file mode 100644 index 0000000000..7629282154 --- /dev/null +++ b/anda/desktops/driftwm/anda.hcl @@ -0,0 +1,5 @@ +project pkg { + rpm { + spec = "driftwm.spec" + } +} diff --git a/anda/desktops/driftwm/driftwm.spec b/anda/desktops/driftwm/driftwm.spec new file mode 100644 index 0000000000..271db3494c --- /dev/null +++ b/anda/desktops/driftwm/driftwm.spec @@ -0,0 +1,46 @@ +Name: driftwm +Version: 0.1.0 +Release: 1%{?dist} +Summary: A trackpad-first infinite canvas Wayland compositor +License: GPL-3.0-or-later +URL: https://github.com/malbiruk/driftwm +Source0: %{url}/archive/refs/tags/v%{version}.tar.gz +Packager: Owen Zimmerman + +BuildRequires: cargo-rpm-macros +BuildRequires: pkgconfig(libudev) +BuildRequires: pkgconfig(libseat) +BuildRequires: pkgconfig(libdisplay-info) +BuildRequires: libinput-devel +BuildRequires: libxkbcommon-devel +BuildRequires: mesa-libgbm-devel + +%description +%{summary}. + +%prep +%autosetup +%cargo_prep_online + +%build +%cargo_build +%cargo_license_summary_online +%{cargo_license_online} > LICENSE.dependencies + +%install +export PREFIX=/usr +%make_install + +%files +%doc README.md +%license LICENSE LICENSE.dependencies +%{_bindir}/driftwm +%{_bindir}/driftwm-session +%{_datadir}/wayland-sessions/driftwm.desktop +%{_datadir}/xdg-desktop-portal/driftwm-portals.conf +%{_sysconfdir}/driftwm/config.toml +%{_datadir}/driftwm/wallpapers/*.glsl + +%changelog +* Tue Mar 17 2026 Owen Zimmerman - 0.1.0-1 +- Initial commit diff --git a/anda/desktops/driftwm/update.rhai b/anda/desktops/driftwm/update.rhai new file mode 100644 index 0000000000..3d7c8b86dc --- /dev/null +++ b/anda/desktops/driftwm/update.rhai @@ -0,0 +1 @@ +rpm.version(gh("malbiruk/driftwm"));