# Copyright 2026 Wiktor A. Falkowski # Distributed under the terms of the MIT License EAPI=8 CRATES=" autocfg@1.5.1 bitflags@2.13.2 cairo-rs@0.21.5 cairo-sys-rs@0.21.5 cfg-expr@0.20.10 equivalent@1.0.2 field-offset@0.3.6 futures-channel@0.3.34 futures-core@0.3.34 futures-executor@0.3.34 futures-io@0.3.34 futures-macro@0.3.34 futures-task@0.3.34 futures-util@0.3.34 gdk-pixbuf-sys@0.21.5 gdk-pixbuf@0.21.5 gdk4-sys@0.10.3 gdk4@0.10.3 gio-sys@0.21.5 gio@0.21.5 glib-macros@0.21.5 glib-sys@0.21.5 glib@0.21.5 gobject-sys@0.21.5 graphene-rs@0.21.5 graphene-sys@0.21.5 gsk4-sys@0.10.3 gsk4@0.10.3 gtk4-macros@0.10.3 gtk4-sys@0.10.3 gtk4@0.10.3 hashbrown@0.17.1 heck@0.5.0 indexmap@2.14.2 itoa@1.0.18 libc@0.2.190 memchr@2.8.3 memoffset@0.9.1 pango-sys@0.21.5 pango@0.21.5 pin-project-lite@0.2.17 pkg-config@0.3.34 proc-macro-crate@3.5.0 proc-macro2@1.0.107 quote@1.0.47 rustc_version@0.4.1 semver@1.0.28 serde@1.0.229 serde_core@1.0.229 serde_derive@1.0.229 serde_json@1.0.154 serde_spanned@1.1.2 slab@0.4.12 smallvec@1.16.3 syn@2.0.119 syn@3.0.9 system-deps@7.0.8 target-lexicon@0.13.5 toml@1.1.8+spec-1.1.0 toml_datetime@1.1.2+spec-1.1.0 toml_edit@0.25.17+spec-1.1.0 toml_parser@1.1.5+spec-1.1.0 toml_writer@1.1.3+spec-1.1.0 unicode-ident@1.0.27 version-compare@0.2.1 windows-link@0.2.1 windows-sys@0.61.2 winnow@1.0.4 zmij@1.0.23 " RUST_MIN_VER="1.85.0" inherit cargo DESCRIPTION="GTK4 greetd greeter for Wayland sessions" HOMEPAGE="https://git.anchorhost.eu/wfalkowski/wayter" SRC_URI=" https://git.anchorhost.eu/wfalkowski/wayter/archive/0.1.tar.gz -> ${P}.tar.gz ${CARGO_CRATE_URIS} " S="${WORKDIR}/wayter" LICENSE="MIT || ( Apache-2.0 MIT ) Apache-2.0-with-LLVM-exceptions Unicode-3.0" SLOT="0" KEYWORDS="~amd64" DEPEND="gui-libs/gtk:4[wayland]" RDEPEND="${DEPEND}" BDEPEND+=" virtual/pkgconfig" src_configure() { cargo_src_configure --locked --bin wayland-greeter } src_install() { cargo_src_install mv "${ED}/usr/bin/wayland-greeter" "${ED}/usr/bin/wayter" || die dodoc README.md LICENSE insinto /usr/share/wayter doins colors.ini.example }