From 9fceea408c19f20961ab2f9374d89e47f2627514 Mon Sep 17 00:00:00 2001 From: Raboneko <119771935+raboneko@users.noreply.github.com> Date: Sun, 4 Jan 2026 21:20:30 -0800 Subject: [PATCH] add: somewm (#8935) (#8938) * add: somewm * fix build with needed meson flag --------- (cherry picked from commit 6e296bad1e81db74b0f793f5fc906be396548e2e) Signed-off-by: Owen-sz Co-authored-by: Owen Zimmerman <123591347+Owen-sz@users.noreply.github.com> Co-authored-by: june-fish --- anda/desktops/somewm/anda.hcl | 5 +++ anda/desktops/somewm/somewm.spec | 56 ++++++++++++++++++++++++++++++++ anda/desktops/somewm/update.rhai | 1 + 3 files changed, 62 insertions(+) create mode 100644 anda/desktops/somewm/anda.hcl create mode 100644 anda/desktops/somewm/somewm.spec create mode 100644 anda/desktops/somewm/update.rhai diff --git a/anda/desktops/somewm/anda.hcl b/anda/desktops/somewm/anda.hcl new file mode 100644 index 0000000000..63b30c73ae --- /dev/null +++ b/anda/desktops/somewm/anda.hcl @@ -0,0 +1,5 @@ +project pkg { + rpm { + spec = "somewm.spec" + } +} diff --git a/anda/desktops/somewm/somewm.spec b/anda/desktops/somewm/somewm.spec new file mode 100644 index 0000000000..12de8feb11 --- /dev/null +++ b/anda/desktops/somewm/somewm.spec @@ -0,0 +1,56 @@ +Name: somewm +Version: 0.5.0 +Release: 1%?dist +Summary: Wayland compositor that brings AwesomeWM's Lua API to Wayland +License: GPL-3.0 +URL: https://github.com/trip-zip/somewm +Source: %{url}/archive/%{version}.tar.gz + +Packager: Owen Zimmerman + +BuildRequires: gcc +BuildRequires: gcc-c++ +BuildRequires: meson +BuildRequires: pkgconfig(wlroots) +BuildRequires: pkgconfig(luajit) +BuildRequires: lua-lgi-compat +BuildRequires: pkgconfig(wlroots-0.19) +BuildRequires: pkgconfig(cairo) +BuildRequires: pkgconfig(pango) +BuildRequires: gdk-pixbuf2-devel +BuildRequires: pkgconfig(wayland-protocols) +BuildRequires: pkgconfig(libinput) +BuildRequires: libxkbcommon-devel +BuildRequires: pkgconfig(xcb-util) +BuildRequires: dbus-devel +BuildRequires: pkgconfig(dbus-1) +BuildRequires: python3-devel +BuildRequires: ninja-build + +%description +somewm is a Wayland compositor that brings AwesomeWM's Lua API to Wayland, built on wlroots. +The goal is 100% compatibility with AwesomeWM's Lua configuration. + +%prep +%autosetup + +%build +%meson -Dwerror=false +%meson_build + +%install +%meson_install + +%files +%doc README.md CHANGELOG.md +%license LICENSE licenses/ +%{_bindir}/%{name} +%{_bindir}/%{name}-client +%{_sysconfdir}/xdg/%{name}/rc.lua +%{_datadir}/%{name}/ +%{_datadir}/wayland-sessions/%{name}.desktop +%{_mandir}/man1/somewm.1.* + +%changelog +* Sun Jan 04 2026 Owen Zimmerman +- Initial commit diff --git a/anda/desktops/somewm/update.rhai b/anda/desktops/somewm/update.rhai new file mode 100644 index 0000000000..abf20acf6f --- /dev/null +++ b/anda/desktops/somewm/update.rhai @@ -0,0 +1 @@ +rpm.version(gh("trip-zip/somewm"));