mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-09 23:23:00 -04:00
Use prebuilt TTF files instead of whatever monstruosity notofonttools are. Signed-off-by: Anna (cybertailor) Vyalkova <cyber+gentoo@sysrq.in>
24 lines
602 B
Bash
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
|
|
}
|