x11-themes/tela-icon-theme - 20260707 (ruizhi-overlay)

Search

Install

Install this version:

emerge -a =x11-themes/tela-icon-theme-20260707

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

autounmask =x11-themes/tela-icon-theme-20260707

Or alternatively:

emerge --autounmask-write -a =x11-themes/tela-icon-theme-20260707

Package Information

Description:
A flat colorful Design icon theme
Homepage:
https://github.com/vinceliuice/Tela-icon-theme
License:
GPL-3+

Ebuild Details

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

EAPI=8

inherit check-reqs edo xdg

MY_PN="${PN^}"
MY_PV="${PV:0:4}-${PV:4:2}-${PV:6:2}"

DESCRIPTION="A flat colorful Design icon theme"
HOMEPAGE="https://github.com/vinceliuice/Tela-icon-theme"
SRC_URI="https://github.com/vinceliuice/Tela-icon-theme/archive/refs/tags/${MY_PV}.tar.gz -> ${P}.tar.gz"
S="${WORKDIR}/${MY_PN}-${MY_PV}"

LICENSE="GPL-3+"
SLOT="0"
KEYWORDS="~amd64 ~arm64 ~ppc64"
IUSE="+hardlink kde minimal"
RESTRICT="binchecks strip test"

BDEPEND="
	app-shells/bash
	hardlink? ( sys-apps/util-linux[hardlink] )
"

DOCS=( AUTHORS README.md tela-dark.png tela-light.png )

tela-icon-theme_check-reqs() {
	if ! use minimal; then
		if use hardlink; then
			CHECKREQS_DISK_USR=1700M
		else
			CHECKREQS_DISK_USR=2600M
		fi
		check-reqs_${EBUILD_PHASE_FUNC}
	fi
}

pkg_setup() {
	tela-icon-theme_check-reqs
}

pkg_pretend() {
	tela-icon-theme_check-reqs
}

src_prepare() {
	default
	# The xdg eclass handles updating the icon cache.
	sed -i "/gtk-update-icon-cache/d" install.sh || die
}

src_install() {
	einstalldocs
	dodir /usr/share/icons

	local options=()
	use kde && options+=( -c )
	if use minimal; then
		options+=( standard )
	else
		options+=( -a )
	fi

	edob ./install.sh -d "${ED}/usr/share/icons" "${options[@]}"
	use hardlink && edob -m "Linking duplicate icons" hardlink -pot "${ED}/usr/share/icons"
	# Remove intentionally dangling symlinks to avoid QA warnings.
	edob -m "Removing broken symlinks" find "${ED}" -xtype l -print -delete
}

USE Flags

Manage flags for this package: euse -i <flag> -p x11-themes/tela-icon-theme | euse -E <flag> -p x11-themes/tela-icon-theme | euse -D <flag> -p x11-themes/tela-icon-theme

Global/Standard Flags

hardlink
❓ Default: Enabled (+)
kde

Inherited Eclasses

edo
xdg

Dependencies

BDEPEND

	app-shells/bash
	hardlink? ( sys-apps/util-linux[hardlink] )

Manifest for 20260707

Type File Size Source URLs
DIST tela-icon-theme-20260707.tar.gz 3519076 bytes https://github.com/vinceliuice/Tela-icon-theme/archive/refs/tags/2026-07-07.tar.gz