commit: ee51b98efbfcfe7eeb4637b34986bb16bcf0ca9b Author: Jason André Charles Gantner <jason <AT> gantner <DOT> pw> AuthorDate: Tue Feb 17 19:49:33 2026 +0000 Commit: Jason André Charles Gantner <jason <AT> gantner <DOT> pw> CommitDate: Tue Feb 17 19:54:59 2026 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=ee51b98e
x11-terms/alacritty-graphics: QA fixes - removed leftovers from overlay (SPDX Header, Copyright notice, ...) - removed arches that haven't been tested recently with the fork - removed doc USE flag - updated live ebuild to match 0.16.1 (RUST_MIN_VERSION, LICENSES) - syntax - add use of EAPI9's ver_replacing Signed-off-by: Jason André Charles Gantner <jason <AT> gantner.pw> .../alacritty-graphics-0.16.1.ebuild | 37 +++++++++---------- .../alacritty-graphics-9999.ebuild | 41 ++++++++++------------ 2 files changed, 34 insertions(+), 44 deletions(-) diff --git a/x11-terms/alacritty-graphics/alacritty-graphics-0.16.1.ebuild b/x11-terms/alacritty-graphics/alacritty-graphics-0.16.1.ebuild index 1b10c1c1ca..0aed8b1c95 100644 --- a/x11-terms/alacritty-graphics/alacritty-graphics-0.16.1.ebuild +++ b/x11-terms/alacritty-graphics/alacritty-graphics-0.16.1.ebuild @@ -1,6 +1,4 @@ -# SPDX-License-Identifier: GPL-2.0 -# Copyright 2017-2025 Gentoo Authors -# Copyright 2024-2025 Jason André Charles Gantner +# Copyright 2017-2026 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -297,7 +295,7 @@ CRATES=" RUST_MIN_VERSION="1.85.0" -inherit cargo desktop shell-completion +inherit cargo desktop shell-completion eapi9-ver DESCRIPTION="GPU-accelerated terminal emulator with sixel support" HOMEPAGE="https://alacritty.org" @@ -307,7 +305,7 @@ if [ ${PV} == "9999" ] ; then else SRC_URI="https://github.com/ayosec/alacritty/archive/refs/tags/v${PV}-graphics.tar.gz -> ${P}.tar.gz ${CARGO_CRATE_URIS}" - KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv" + KEYWORDS="~amd64" fi S="${WORKDIR}/alacritty-${PV}-graphics" @@ -321,7 +319,7 @@ LICENSE+=" SLOT="0" -IUSE="+wayland X doc" +IUSE="+wayland X" REQUIRED_USE="|| ( wayland X )" RESTRICT="mirror" @@ -349,7 +347,6 @@ RDEPEND="${DEPEND} BDEPEND=" dev-build/cmake app-text/scdoc - ${RUST_DEPEND} " src_unpack() { @@ -365,7 +362,7 @@ src_unpack() { src_configure() { local myfeatures=( - $(usex X x11 '') + $(usev X x11) $(usev wayland) ) cargo_src_configure --no-default-features @@ -381,6 +378,11 @@ src_compile() { cargo_src_compile } +src_test() { + cd alacritty || die + cargo_src_test +} + src_install() { cargo_src_install --path alacritty @@ -403,22 +405,15 @@ src_install() { insinto /usr/share/alacritty doins -r scripts - if use doc; then - local DOCS=( - CHANGELOG.md - README.md - ) - einstalldocs - fi -} - -src_test() { - cd alacritty || die - cargo_src_test + local DOCS=( + CHANGELOG.md + README.md + ) + einstalldocs } pkg_postinst() { - if [[ -z ${REPLACING_VERSIONS} ]]; then + if ver_replacing -ne "${PV}" ; then einfo "Configuration files for ${CATEGORY}/${PN}" einfo "in \$HOME often need to be updated after a version change" einfo "" diff --git a/x11-terms/alacritty-graphics/alacritty-graphics-9999.ebuild b/x11-terms/alacritty-graphics/alacritty-graphics-9999.ebuild index ab27ebf9f0..cdd6eeb3a7 100644 --- a/x11-terms/alacritty-graphics/alacritty-graphics-9999.ebuild +++ b/x11-terms/alacritty-graphics/alacritty-graphics-9999.ebuild @@ -1,13 +1,11 @@ -# SPDX-License-Identifier: GPL-2.0 -# Copyright 2017-2024 Gentoo Authors -# Copyright 2024 Jason André Charles Gantner +# Copyright 2017-2026 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 -RUST_MIN_VERSION="1.74.0" +RUST_MIN_VERSION="1.85.0" -inherit cargo desktop shell-completion +inherit cargo desktop shell-completion eapi9-ver DESCRIPTION="GPU-accelerated terminal emulator with sixel support" HOMEPAGE="https://alacritty.org" @@ -17,7 +15,7 @@ if [ ${PV} == "9999" ] ; then else SRC_URI="https://github.com/ayosec/alacritty/archive/refs/tags/v${PV}-graphics.tar.gz -> ${P}.tar.gz ${CARGO_CRATE_URIS}" - KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv" + KEYWORDS="~amd64" fi S="${WORKDIR}/alacritty-${PV}-graphics" @@ -26,12 +24,12 @@ LICENSE="Apache-2.0" # Dependent crate licenses LICENSE+=" Apache-2.0 BSD-2 BSD Boost-1.0 CC0-1.0 ISC MIT MPL-2.0 - Unicode-DFS-2016 + Unicode-DFS-2016 Unicode-3.0 " SLOT="0" -IUSE="+wayland X doc" +IUSE="+wayland X" REQUIRED_USE="|| ( wayland X )" RESTRICT="mirror" @@ -59,7 +57,6 @@ RDEPEND="${DEPEND} BDEPEND=" dev-build/cmake app-text/scdoc - ${RUST_DEPEND} " src_unpack() { @@ -75,7 +72,7 @@ src_unpack() { src_configure() { local myfeatures=( - $(usex X x11 '') + $(usev X x11) $(usev wayland) ) cargo_src_configure --no-default-features @@ -91,6 +88,11 @@ src_compile() { cargo_src_compile } +src_test() { + cd alacritty || die + cargo_src_test +} + src_install() { cargo_src_install --path alacritty @@ -113,22 +115,15 @@ src_install() { insinto /usr/share/alacritty doins -r scripts - if use doc; then - local DOCS=( - CHANGELOG.md - README.md - ) - einstalldocs - fi -} - -src_test() { - cd alacritty || die - cargo_src_test + local DOCS=( + CHANGELOG.md + README.md + ) + einstalldocs } pkg_postinst() { - if [[ -z ${REPLACING_VERSIONS} ]]; then + if ver_replacing -ne "${PV}" ; then einfo "Configuration files for ${CATEGORY}/${PN}" einfo "in \$HOME often need to be updated after a version change" einfo ""
