summaryrefslogtreecommitdiff
path: root/media-fonts/unifont
diff options
context:
space:
mode:
Diffstat (limited to 'media-fonts/unifont')
-rw-r--r--media-fonts/unifont/Manifest2
-rw-r--r--media-fonts/unifont/unifont-14.0.03.ebuild56
2 files changed, 58 insertions, 0 deletions
diff --git a/media-fonts/unifont/Manifest b/media-fonts/unifont/Manifest
index 6ee122831dd6..cd0481affa83 100644
--- a/media-fonts/unifont/Manifest
+++ b/media-fonts/unifont/Manifest
@@ -1,4 +1,6 @@
AUX 11.0.02-make.patch 366 BLAKE2B 1d857d76826b5906c6405aa41728121624b345ad1f9bf2e8239691af1e5506dbad7eab1f590bf3bbfea45f174af0e8f8fa9d85b11542ea91edc218cdaa08d13b SHA512 f8a286c4ecd9af7ec32f2f90ba0ae91e2f9f4111cb1f65dbc4cef07dff787eae4ee96aca7e15a61d2ae8930f3537dd6fa77393dc720a4fc91300a2c9a5c1d9ea
DIST unifont-13.0.01.tar.gz 21053298 BLAKE2B 981d3d79015df9fa401823034de532840652127bc881d13244243dc0fbaabc14212b006f1e72ff65233793c7064576b51855d6a8ab1f7d889e7837c9c22d4f5d SHA512 2987aa097f89b1287d126e44297b19e405e198bb8ede2e321e6452c60678ebf4cf0be5f059b9565f4584bad09801effabe64d01ab90f132f27b206174827b14b
+DIST unifont-14.0.03.tar.gz 27451330 BLAKE2B f0ae933fc493d7e724b0526968d63fb4209e28526346a835b918aa6a31cd1a31c15a0c00f89196f6fd42cf2a0b2db8c51d9b6f9d7648938609e8b7e4122078a3 SHA512 de80097a4e1751c6ca21775c8ffe19716a910a0d110749017eacaa50a9f8f02d80e0b402426f3c2309e64e129a0386e29015d1116ad5fd64f97e5dc7fb75bdce
EBUILD unifont-13.0.01-r1.ebuild 1111 BLAKE2B 17d328acc0c6743b1acd0291ffcc50c2d5391ef398a25301b36a8f986c932225b2843457642a5e620de879db94295ef731ab41df5c8aa537214d1212b0a20c5c SHA512 cf8f9891dcb04300198161a40fc2a3ffe9c7adfd7d5567e52d8ea9e1e80f3c843ef2cbc4452e454ee2e5844f6dd8bc1c7b5a13c7174c2541cdc1bbfca2c1a1e4
+EBUILD unifont-14.0.03.ebuild 1063 BLAKE2B 65d9b451efab342528c4051766ed143122219a0435485e44bac03b9efea4dbd3f7e97f15b67b046b793f53cea3699d9e67fe4ebf6f9cb39a50e3773a3de5b463 SHA512 02ab7131419a9de51e2d74052d58935a574170cea2ee812260b19fca5c47dd4487b6821d683fd43f970eae8dc3ec4f7dd4103bc24980112c33c31a3e616ee754
MISC metadata.xml 485 BLAKE2B 5547944f4afc22e78b218df90194a20fd7d3a2bf012d231a98d51e570be16bf1644890541dea1e3ddeab2ca6e621f62c26e23ebc18aaa7cf7118f4aec639260d SHA512 fbc4063b1076aaec7f62bec624dcab2b76ff170fbe9cf3abcbbd0aa64610472b39555df1a5a706589781684590b8eb465c7467446bed63d20a8ea0e8ae21ba8e
diff --git a/media-fonts/unifont/unifont-14.0.03.ebuild b/media-fonts/unifont/unifont-14.0.03.ebuild
new file mode 100644
index 000000000000..80db5d792bbd
--- /dev/null
+++ b/media-fonts/unifont/unifont-14.0.03.ebuild
@@ -0,0 +1,56 @@
+# Copyright 2003-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit font toolchain-funcs
+
+DESCRIPTION="GNU Unifont - a Pan-Unicode X11 bitmap iso10646 font"
+HOMEPAGE="http://unifoundry.com/"
+SRC_URI="mirror://gnu/${PN}/${P}/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~ppc ~ppc64 ~s390 ~sparc ~x86"
+IUSE="fontforge utils"
+
+BDEPEND="
+ fontforge? (
+ app-text/bdf2psf
+ dev-lang/perl
+ dev-perl/GD[png(+)]
+ media-gfx/fontforge
+ x11-apps/bdftopcf
+ )
+"
+RDEPEND="
+ utils? (
+ dev-lang/perl
+ dev-perl/GD[png(+)]
+ )
+"
+
+src_compile() {
+ buildargs=(
+ BUILDFONT=$(usex fontforge 1 '')
+ CC="$(tc-getCC)"
+ CFLAGS="${CFLAGS}"
+ INSTALL="${INSTALL-install}"
+ )
+ if use fontforge || use utils; then
+ emake "${buildargs[@]}"
+ fi
+}
+
+src_install() {
+ local installargs=(
+ COMPRESS=0
+ DESTDIR="${ED}"
+ PCFDEST="${ED}${FONTDIR}"
+ TTFDEST="${ED}${FONTDIR}"
+ )
+ use utils || installargs+=( -C font )
+ emake "${buildargs[@]}" "${installargs[@]}" install
+ font_xfont_config
+ font_fontconfig
+}