media-fonts/stix-fonts - 2.11 (gentoo)

Search

Package Information

Description:
Comprehensive OpenType font set of mathematical symbols and alphabets
Homepage:
https://www.stixfonts.org/
License:
OFL-1.1

Ebuild Details

Version EAPI Keywords Slot
2.11 7 ~alpha amd64 arm arm64 ~hppa ~loong ~mips ppc ppc64 ~riscv ~s390 ~sparc x86 ~arm64-macos ~x64-macos 0
View Raw Ebuild
# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=7

inherit font

DESCRIPTION="Comprehensive OpenType font set of mathematical symbols and alphabets"
HOMEPAGE="https://www.stixfonts.org/"
BASE_URI="https://raw.githubusercontent.com/stipub/${PN/-/}/v${PV}"
SRC_URI="${BASE_URI}/zipfiles/static_otf.zip -> ${P}-otf.zip
	${BASE_URI}/docs/FONTLOG.txt -> ${P}-FONTLOG.txt
	${BASE_URI}/docs/STIXTwoMath-Regular.pdf -> ${P}-STIXTwoMath-Regular.pdf
	${BASE_URI}/docs/STIXTwoText-Regular.pdf -> ${P}-STIXTwoText-Regular.pdf
"
S="${WORKDIR}/static_otf"

LICENSE="OFL-1.1"
SLOT="0"
KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~mips ppc ppc64 ~riscv ~s390 ~sparc x86 ~arm64-macos ~x64-macos"
IUSE=""

RESTRICT="binchecks strip test"

BDEPEND="app-arch/unzip"

FONT_SUFFIX="otf"

src_install() {
	font_src_install

	local doc
	for doc in FONTLOG.txt STIXTwo{Math,Text}-Regular.pdf; do
		newdoc "${DISTDIR}"/${P}-${doc} ${doc}
	done
}

Dependencies

BDEPEND

app-arch/unzip