Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions anda/desktops/chasm/glass/anda.hcl
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
project pkg {
arches = ["x86_64"]
rpm {
spec = "glass.spec"
}
}
42 changes: 42 additions & 0 deletions anda/desktops/chasm/glass/glass.spec
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
%global glyph_ver 0.5.0
%global _hardened_ldflags %nil

Name: glass
Release: 1%{?dist}
Version: 0.3.46
Summary: Pure assembly terminal emulator
License: Unlicense
URL: https://github.com/isene/glass
Source0: %{url}/archive/refs/tags/v%{version}.tar.gz
Source1: https://github.com/isene/glyph/archive/refs/tags/v%{glyph_ver}.tar.gz
BuildRequires: nasm gcc
BuildRequires: make
Requires: xorg-x11-server-Xorg
Packager: Owen Zimmerman <owen@fyralabs.com>
ExclusiveArch: x86_64

%description
Pure assembly terminal emulator. x86_64 Linux, no libc, X11 wire protocol. Part of CHasm.

%prep
%autosetup
mkdir ../glyph
tar -xf %{SOURCE1} -C ../glyph --strip-components=1
sed '/^\s*nasm/s/nasm /nasm -g /;/^\s*ld/s@ld @gcc -nostdlib -fuse-ld=mold -Wl,-z,muldefs %build_ldflags@' -i Makefile

%build
%make_build

%install
%make_install PREFIX=%{_prefix}
%make_install PREFIX=%{_prefix} install-emoji

%files
%doc README.md
%license LICENSE
%{_bindir}/%{name}
%{_datadir}/glass/emoji/*.rgba

%changelog
* Sun Jul 26 2026 Owen Zimmerman <owen@fyralabs.com> - 0.3.46-1
- Initial commit
2 changes: 2 additions & 0 deletions anda/desktops/chasm/glass/update.rhai
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
rpm.version(gh("isene/glass"));
rpm.global(gh("isene/glyph"));
Loading