diff --git a/anda/desktops/chasm/tile/anda.hcl b/anda/desktops/chasm/tile/anda.hcl new file mode 100644 index 00000000000..828d50e40f2 --- /dev/null +++ b/anda/desktops/chasm/tile/anda.hcl @@ -0,0 +1,6 @@ +project pkg { + arches = ["x86_64"] + rpm { + spec = "tile.spec" + } +} diff --git a/anda/desktops/chasm/tile/tile.spec b/anda/desktops/chasm/tile/tile.spec new file mode 100644 index 00000000000..de30aaaefa0 --- /dev/null +++ b/anda/desktops/chasm/tile/tile.spec @@ -0,0 +1,41 @@ +%global _hardened_ldflags %nil + +Name: tile +Release: 1%{?dist} +Version: 0.1.42 +Summary: Pure-asm tiling window manager (CHasm suite) +License: Unlicense +URL: https://github.com/isene/tile +Source: %{url}/archive/refs/tags/v%{version}.tar.gz +BuildRequires: nasm +BuildRequires: gcc mold +Packager: Owen Zimmerman +ExclusiveArch: x86_64 + +%description +Pure-asm tiling window manager (CHasm suite). +x86_64 Linux, no libc, X11 wire protocol, single static binary. + +%prep +%autosetup -C + +%build +nasm -g -f elf64 tile.asm -o tile.o +%{__cc} -nostdlib -fuse-ld=mold -Wl,-z,muldefs %build_ldflags tile.o -o tile +nasm -g -f elf64 strip.asm -o strip.o +%{__cc} -nostdlib -fuse-ld=mold -Wl,-z,muldefs %build_ldflags strip.o -o strip + + +%install +install -Dm755 tile %buildroot%_bindir/tile +install -Dm755 strip %buildroot%_bindir/tile-strip + +%files +%doc README.md PLAN.md CONFIG-FUTURE.md tilerc.example +%license LICENSE +%{_bindir}/%{name} +%{_bindir}/tile-strip + +%changelog +* Sun Jul 26 2026 Owen Zimmerman - 0.1.42-1 +- Initial commit diff --git a/anda/desktops/chasm/tile/update.rhai b/anda/desktops/chasm/tile/update.rhai new file mode 100644 index 00000000000..79496e5ac1a --- /dev/null +++ b/anda/desktops/chasm/tile/update.rhai @@ -0,0 +1 @@ +rpm.version(gh("isene/tile"));