Files
guru/media-fonts/twemoji/twemoji-15.1.0.ebuild
Anna (cybertailor) Vyalkova 6f3cd8e35a media-fonts/twemoji: unmask, add 15.1.0, drop 14.0.2
Use prebuilt TTF files instead of whatever monstruosity notofonttools
are.

Signed-off-by: Anna (cybertailor) Vyalkova <cyber+gentoo@sysrq.in>
2025-03-25 19:42:15 +05:00

24 lines
602 B
Bash

# Copyright 2023-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit font
BUILD_DATE="2025-01-05_14-29"
DESCRIPTION="Color emoji font with a flat visual style, designed and used by Twitter"
HOMEPAGE="https://git.sr.ht/~whynothugo/twemoji.ttf/"
SRC_URI="https://mirror.whynothugo.nl/twemoji.ttf/${BUILD_DATE}/Twemoji-${PV}.ttf"
S="${WORKDIR}"
LICENSE="Apache-2.0 CC-BY-4.0 MIT OFL-1.1"
SLOT="0"
KEYWORDS="~amd64"
FONT_SUFFIX="ttf"
FONT_CONF=( "${FILESDIR}"/75-${PN}.conf )
src_unpack() {
cp "${DISTDIR}/${A}" "${S}/${PN}.${FONT_SUFFIX}" || die
}