gentoo-ebuilds/media-fonts/intlfonts/intlfonts-1.4.2.ebuild
Arthur Zamarin 0139b9d671
media-fonts/intlfonts: Stabilize 1.4.2 sparc, #940116
Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
2024-09-24 15:03:05 +00:00

36 lines
781 B
Bash

# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit font
DESCRIPTION="International X11 fixed fonts"
HOMEPAGE="https://directory.fsf.org/wiki/Intlfonts"
SRC_URI="mirror://gnu/${PN}/${P}.tar.gz"
LICENSE="public-domain HPND GPL-3+-with-font-exception"
SLOT="0"
KEYWORDS="~alpha amd64 arm ~hppa ~loong ppc ppc64 ~riscv ~s390 sparc x86"
IUSE="bdf"
BDEPEND="x11-apps/bdftopcf
>=x11-apps/mkfontscale-1.2.0"
DOCS=( ChangeLog NEWS README Emacs.ap )
src_configure() {
local myeconfargs=(
--with-fontdir=/usr/share/fonts/${PN}
--enable-compress="gzip -9"
$(use_with bdf)
)
econf "${myeconfargs[@]}"
}
src_install() {
emake install fontdir="${ED}/usr/share/fonts/${PN}"
einstalldocs
font_xfont_config
}