x11-terms/tym - 3.7.0 (guru)

Search

Install

Install this version:

emerge -a =x11-terms/tym-3.7.0

If this version is masked, you can unmask it using the autounmask tool or standard emerge options:

autounmask =x11-terms/tym-3.7.0

Or alternatively:

emerge --autounmask-write -a =x11-terms/tym-3.7.0

Package Information

Description:
Lua-configurable terminal emulator
Homepage:
https://github.com/endaaman/tym
License:
MIT

Ebuild Details

Version EAPI Keywords Slot
3.7.0 8 ~amd64 0
View Raw Ebuild
# Copyright 2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

LUA_COMPAT=( lua5-{3,4} luajit )
inherit autotools lua-single systemd xdg

if [[ ${PV} == 9999 ]]; then
	inherit git-r3
	EGIT_REPO_URI="https://github.com/endaaman/tym"
else
	SRC_URI="https://github.com/endaaman/tym/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz"
	KEYWORDS="~amd64"
fi

DESCRIPTION="Lua-configurable terminal emulator"
HOMEPAGE="https://github.com/endaaman/tym"

LICENSE="MIT"
SLOT="0"
IUSE="test"

REQUIRED_USE="${LUA_REQUIRED_USE}"
RESTRICT="!test? ( test )"

DEPEND="
	${LUA_DEPS}
	x11-libs/gtk+:3
	>=x11-libs/vte-0.78
"
RDEPEND="${DEPEND}
	dev-libs/glib
	dev-libs/libpcre2
	x11-libs/cairo
	x11-libs/pango
"

src_prepare() {
	default

	# the categories provided by eclass do a better job than upstream, and
	# having duplicate list of categories fails on QA
	sed -i '/^Categories=.*$/d' "${S}"/tym-daemon.desktop "${S}"/tym.desktop || die

	eautoreconf
}

src_configure() {
	econf \
		--enable-luajit=$(usex lua_single_target_luajit yes no)
}

src_install() {
	emake DESTDIR="${D}" systemunitdir="$(systemd_get_userunitdir)" install

	einstalldocs
}

USE Flags

Manage flags for this package: euse -i <flag> -p x11-terms/tym | euse -E <flag> -p x11-terms/tym | euse -D <flag> -p x11-terms/tym

Global/Standard Flags

Inherited Eclasses

xdg

Dependencies

DEPEND

	
	x11-libs/gtk+:3
	>=x11-libs/vte-0.78

RDEPEND

	
	x11-libs/gtk+:3
	>=x11-libs/vte-0.78

	dev-libs/glib
	dev-libs/libpcre2
	x11-libs/cairo
	x11-libs/pango

Manifest for 3.7.0

Type File Size Source URLs
DIST tym-3.7.0.tar.gz 52396 bytes https://github.com/endaaman/tym/archive/refs/tags/3.7.0.tar.gz