diff options
author | Matt Turner <mattst88@gentoo.org> | 2022-08-20 14:15:00 -0400 |
---|---|---|
committer | Matt Turner <mattst88@gentoo.org> | 2022-08-20 14:24:04 -0400 |
commit | fce2e1502b88483556d954bd2c178993701d7af2 (patch) | |
tree | 4aa3a33bdeccc7254f988113260763ff2306a592 /media-fonts/liberation-fonts | |
parent | app-editors/emacs: drop 28.1 (diff) | |
download | gentoo-fce2e1502b88483556d954bd2c178993701d7af2.tar.gz gentoo-fce2e1502b88483556d954bd2c178993701d7af2.tar.bz2 gentoo-fce2e1502b88483556d954bd2c178993701d7af2.zip |
media-fonts/liberation-fonts: Version bump to 2.1.5
Signed-off-by: Matt Turner <mattst88@gentoo.org>
Diffstat (limited to 'media-fonts/liberation-fonts')
-rw-r--r-- | media-fonts/liberation-fonts/Manifest | 2 | ||||
-rw-r--r-- | media-fonts/liberation-fonts/liberation-fonts-2.1.5.ebuild | 52 |
2 files changed, 54 insertions, 0 deletions
diff --git a/media-fonts/liberation-fonts/Manifest b/media-fonts/liberation-fonts/Manifest index 8c38178361a9..129588cf7c86 100644 --- a/media-fonts/liberation-fonts/Manifest +++ b/media-fonts/liberation-fonts/Manifest @@ -1,2 +1,4 @@ DIST liberation-fonts-2.1.3.tar.gz 4977444 BLAKE2B 1d77ea6a9aa850a3501a7051bf3e3cd75923bd77dca5d42ae3fa4fbe7be9fea104779caadcccaf2608dc6423bddb3abd199defcaae3161ecd997268078b6781e SHA512 826c002008c2c753957ae4228d8e5dac5b1de995eb7cf392e9cbef9a23bb438ff56303bb9e8ee45a52fb9797e5685b89749f6a689413537f9cc7ee8067dea463 +DIST liberation-fonts-2.1.5.tar.gz 5084561 BLAKE2B f223b0bb10945df7b294f69f6f21189d8e6ea3f3466de78238cbb89a9bfa47577d73b0aabd7b468d82e1b68b939ffe52f936ebfd5de3eb3c0188a46af13ca295 SHA512 22893a4d1543428f752925366ec29e45140381603c5d03c1811253e633db5ea9dc1e2788eb678a654c523990c8b254a06de4210a67aa33bbc828ba50065cbd38 DIST liberation-fonts-ttf-2.1.3.tar.gz 2370443 BLAKE2B af9039d7586e87b25b05ee80893fb63f0857c05de748a9a9228557556d74cd322c8411672387f6a55b4e6ae2e7c16adb00b6e4d19b6170ce822721845741d0bf SHA512 d988cf02119352f7815327e58ac93ffc2301da66b9afe4427b49ed01edd465dbefd05bf76936035f501d9d38636e97cf243ba87e9f62ca85599ad2c9874a2c77 +DIST liberation-fonts-ttf-2.1.5.tar.gz 2385008 BLAKE2B 9c9469b42becd8ccdfa0314b5f2c0fe7c1c59095c67ddc7dc656fe4ed951511e50f78da52c98700ed6f36549aacf4727339c1a786c5f16cc63d8a266318ca3d8 SHA512 b9f178fae43c9214ba6de36c6da613fcf59bd98084058afaaa9151d00f2406942bc360430be0a8f35ea6b5529146eef371c7cf75bdd7910403d449254f943fed diff --git a/media-fonts/liberation-fonts/liberation-fonts-2.1.5.ebuild b/media-fonts/liberation-fonts/liberation-fonts-2.1.5.ebuild new file mode 100644 index 000000000000..744f8cb7d675 --- /dev/null +++ b/media-fonts/liberation-fonts/liberation-fonts-2.1.5.ebuild @@ -0,0 +1,52 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{8..11} ) + +inherit font python-any-r1 + +DESCRIPTION="A Helvetica/Times/Courier replacement TrueType font set, courtesy of Red Hat" +HOMEPAGE="https://github.com/liberationfonts/liberation-fonts" +SRC_URI="fontforge? ( https://github.com/liberationfonts/liberation-fonts/files/7261483/${P}.tar.gz ) + !fontforge? ( https://github.com/liberationfonts/liberation-fonts/files/7261482/${PN}-ttf-${PV}.tar.gz ) +" + +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~loong ~m68k ~ppc ~ppc64 ~riscv ~x86 ~x64-cygwin ~amd64-linux ~x86-linux ~x64-solaris" +SLOT="0" +LICENSE="OFL-1.1" +IUSE="fontforge X" + +FONT_SUFFIX="ttf" + +FONT_CONF=( "${FILESDIR}/60-liberation.conf" ) + +BDEPEND=" + fontforge? ( + ${PYTHON_DEPS} + media-gfx/fontforge + $(python_gen_any_dep 'dev-python/fonttools[${PYTHON_USEDEP}]') + )" + +python_check_deps() { + python_has_version "dev-python/fonttools[${PYTHON_USEDEP}]" +} + +src_prepare() { + default + if use fontforge ; then + sed -i "s/= python3/= ${EPYTHON}/" Makefile || die + fi +} + +pkg_setup() { + if use fontforge; then + FONT_S="${S}/${PN}-ttf-${PV}" + python-any-r1_pkg_setup + else + FONT_S="${WORKDIR}/${PN}-ttf-${PV}" + S="${FONT_S}" + fi + font_pkg_setup +} |