diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2021-06-15 14:57:03 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2021-06-15 14:57:03 +0100 |
commit | d18bf1e01b65ee4bf0c804e2843b282d3d4e5d7c (patch) | |
tree | 4a95cbc6ffdf13bad6ecbc7f8d5af99631984123 /media-fonts/terminus-font | |
parent | e748ba9741f6540f4675c23e3e37b73e822c13a4 (diff) |
gentoo resync : 15.06.2021
Diffstat (limited to 'media-fonts/terminus-font')
-rw-r--r-- | media-fonts/terminus-font/Manifest | 4 | ||||
-rw-r--r-- | media-fonts/terminus-font/terminus-font-4.49.1.ebuild | 94 | ||||
-rw-r--r-- | media-fonts/terminus-font/terminus-font-4.49.ebuild | 2 |
3 files changed, 98 insertions, 2 deletions
diff --git a/media-fonts/terminus-font/Manifest b/media-fonts/terminus-font/Manifest index 1a504a069258..e5a3e86b93bb 100644 --- a/media-fonts/terminus-font/Manifest +++ b/media-fonts/terminus-font/Manifest @@ -1,3 +1,5 @@ +DIST terminus-font-4.49.1.tar.gz 648345 BLAKE2B 8c2edff7e57572361cf9a4907a165f8af69cbd5a3ae15817d02d43ab5134278ab64b269e6bd8c79d2107e5c8c51b58f07ab45c308891464cbc8e3e15767efadb SHA512 2e3a99960c459a453b5879bebbebeb653f0a22060177bf75c67bbeb7d32cfe1acce9e74a88fdc42e299b6dc402e0708552487abd26e80e985c7d6059b0d445a8 DIST terminus-font-4.49.tar.gz 648477 BLAKE2B 67bddaae88b7411381bce5e8fe5c1b0dab334a33f1371a33038556beffa779afec8706f27b156e5660bfab5b8b7aeda75267c68945e1be3b41dbea7e9345f164 SHA512 27d396e7fe399728b5e9228c901922588eab0b344ea438fcf98f18f80ce816d838a42d5a3da0b5644d895747bcbda0e30bb8dabf342c0439d1f6b51f7acf8496 -EBUILD terminus-font-4.49.ebuild 2691 BLAKE2B 7db0388e95e03dfd7376ef2ecade3f302d9ff1e3fde32f019288963114175e18d23a3a50ab32caf33f5455e31c5f594d4270a09e547fea1d34276d0dd9c6308b SHA512 6cb12771333949c118b7e2258f3b278ca695770b32d0ff36de543c87f22cc0637de8037478d9c30e3d9033d37210b4ff1447570acaa40366c754067d53f9e544 +EBUILD terminus-font-4.49.1.ebuild 2722 BLAKE2B 77655c67ffb24927e56afc3faa5968f22e5f91a8b5b287968aad08ade1df6c30105293a37b956b38ebc53aebecf88997051fdcf56944fd2119eec299880d865d SHA512 c49c0b21aa5ef18083d7447f04bc5b603a0a59180659de1b7a9267bc8ad65ca6793cf6f1353414c5be0e0253b4aa67bcd1577507e4fbc9fd783c691e3425603d +EBUILD terminus-font-4.49.ebuild 2692 BLAKE2B e4c34d0d5ce30238b52837946b5c6279efe0a54597dbd531914b8cfa343b0fb32654368fe52b4dcee8e83182267ca240bcb9669f53fbfd83536bb469c5c3a12d SHA512 fcf8edfd26105d8c4e0037b9f8b32031d1e3cbe25e8ef99d2e03c7b36d3cddf8a53236bbb27ebc894241cd9184b9516f46317f3119559a824c7c66d4aae1b5c2 MISC metadata.xml 1787 BLAKE2B f83cf459e35bae521d4f6176c7d873cbde7413ca52241feaf442c818a9e1c30640cca1127788737da53eb659ab73913471d830f0234198880fca33aafe811678 SHA512 8dbb13ccb276600255a0188254098e78540f54b4ff5a481909c94e15519b1cbf58dd58f5f4c44adbd48252da22579fff8d1d4301eb798c466132ab820609affe diff --git a/media-fonts/terminus-font/terminus-font-4.49.1.ebuild b/media-fonts/terminus-font/terminus-font-4.49.1.ebuild new file mode 100644 index 000000000000..04fed52ebaeb --- /dev/null +++ b/media-fonts/terminus-font/terminus-font-4.49.1.ebuild @@ -0,0 +1,94 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{7,8,9,10} ) +inherit font python-any-r1 + +DESCRIPTION="A clean fixed font for the console and X11" +HOMEPAGE="http://terminus-font.sourceforge.net/" +SRC_URI="mirror://sourceforge/project/${PN}/${PN}-$(ver_cut 1-2)/${P}.tar.gz" + +LICENSE="OFL-1.1 GPL-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos" +IUSE="a-like-o +center-tilde distinct-l +otf +pcf +pcf-unicode-only +psf quote + ru-dv +ru-g ru-i ru-k" + +DEPEND="app-arch/gzip + ${PYTHON_DEPS} + virtual/awk + pcf? ( x11-apps/bdftopcf )" +RDEPEND="" + +FONTDIR=/usr/share/fonts/terminus +FONT_CONF=( 75-yes-terminus.conf ) +DOCS=( README README-BG AUTHORS CHANGES ) + +REQUIRED_USE="X? ( pcf )" + +pkg_setup() { + python_setup +} + +src_prepare() { + default + + # Upstream patches. Some of them are suggested to be applied by default + # dv - de NOT like latin g, but like caps greek delta + # ve NOT like greek beta, but like caps latin B + # ge - ge NOT like "mirrored" latin s, but like caps greek gamma + # ka - small ka NOT like minimised caps latin K, but like small latin k + use a-like-o && eapply "${S}"/alt/ao2.diff + use center-tilde && eapply "${S}"/alt/td1.diff + use distinct-l && eapply "${S}"/alt/ll2.diff + use ru-i && eapply "${S}"/alt/ij1.diff + use ru-k && eapply "${S}"/alt/ka2.diff + use ru-dv && eapply "${S}"/alt/dv1.diff + use ru-g && eapply "${S}"/alt/ge2.diff + use quote && eapply "${S}"/alt/gq2.diff +} + +src_configure() { + local configure_args=( + --prefix="${EPREFIX}"/usr + --psfdir="${EPREFIX}"/usr/share/consolefonts + --x11dir="${EPREFIX}"/${FONTDIR} + ) + # selfwritten configure script + ./configure "${configure_args[@]}" || die +} + +src_compile() { + local args=( + $(usex psf 'psf psf-vgaw' '') + $(usex pcf 'pcf pcf-8bit' '') + $(usex otf otb '') + ) + [[ ${#args[@]} -gt 0 ]] && emake "${args[@]}" +} + +src_install() { + local args=( + $(usex psf 'install-psf install-psf-vgaw install-psf-ref' '') + $(usex pcf 'install-pcf' '') + $(usex otf 'install-otb' '') + ) + # Set the CHECKDIR to a dummy location so we always get the same set of + # files installed regardless of what is in / or ROOT or wherever. + [[ ${#args[@]} -gt 0 ]] && emake DESTDIR="${D}" CHECKDIR="${D}" "${args[@]}" + + # Remove trans files that the kbd package takes care of installing. + rm -f "${ED}"/usr/share/consoletrans/*.trans + + if use pcf-unicode-only; then + # Only the ter-x* fonts are unicode (ISO-10646-1) based + rm -f "${ED}"/usr/share/fonts/terminus/ter-[0-9a-wy-z]* || die + fi + + use otf && FONT_SUFFIX=otb + font_src_install + + einstalldocs +} diff --git a/media-fonts/terminus-font/terminus-font-4.49.ebuild b/media-fonts/terminus-font/terminus-font-4.49.ebuild index 896a122f4614..7f8326f79edb 100644 --- a/media-fonts/terminus-font/terminus-font-4.49.ebuild +++ b/media-fonts/terminus-font/terminus-font-4.49.ebuild @@ -13,7 +13,7 @@ SRC_URI="mirror://sourceforge/${PN}/${P}/${P}.tar.gz" LICENSE="OFL-1.1 GPL-2" SLOT="0" KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~mips ppc ppc64 ~s390 ~sparc x86 ~amd64-linux ~x86-linux ~ppc-macos" -IUSE="a-like-o +center-tilde distinct-l otf +pcf +pcf-unicode-only +psf quote +IUSE="a-like-o +center-tilde distinct-l +otf +pcf +pcf-unicode-only +psf quote ru-dv +ru-g ru-i ru-k" DEPEND="app-arch/gzip |