commit: 4007ae474bc0ecfc9bc6efa140a6492037c6616a Author: Pacho Ramos <pacho <AT> gentoo <DOT> org> AuthorDate: Mon Dec 21 09:49:14 2020 +0000 Commit: Pacho Ramos <pacho <AT> gentoo <DOT> org> CommitDate: Mon Dec 21 09:49:14 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4007ae47
media-fonts/liberation-fonts: Bump to 2.1.2 Closes: https://bugs.gentoo.org/737986 Closes: https://bugs.gentoo.org/758203 Package-Manager: Portage-3.0.11, Repoman-3.0.2 Signed-off-by: Pacho Ramos <pacho <AT> gentoo.org> media-fonts/liberation-fonts/Manifest | 2 + .../liberation-fonts/liberation-fonts-2.1.2.ebuild | 52 ++++++++++++++++++++++ 2 files changed, 54 insertions(+) diff --git a/media-fonts/liberation-fonts/Manifest b/media-fonts/liberation-fonts/Manifest index 45e4eba5c48..bf7b37ce351 100644 --- a/media-fonts/liberation-fonts/Manifest +++ b/media-fonts/liberation-fonts/Manifest @@ -1,2 +1,4 @@ DIST liberation-fonts-2.1.0.tar.gz 4986277 BLAKE2B c8d60a749d35d979237d1c82be69e5fc4fe3e8702893235b9064c6790974126a6e019f20164ca3431bfc2c972cd7102aa688519739e381660f745cc5f1099613 SHA512 70dbdd2e61808e7a56f76d605ded6195fc1b2d91b8682e8daef1bc5bf36a45a04b8f4e77fdcafa81f1253835c65637abc4c2df65ebe86aa1555fc074826ee0ba +DIST liberation-fonts-2.1.2.tar.gz 4976962 BLAKE2B 934b71cbd45ba94b6cf18fc81942004beefe2dba860f13e885930b423208aa0b2f328f3d6e95f65c16017fdf40d51c25bf2b94d8654e3118fd347a00253056fc SHA512 9eec48e3a87d07499969926204fc9063d9d196894b95536b506988041b1965064319a2686bf54cbaabf836f54323816fe0d2a74ae14249366791de94da630e29 DIST liberation-fonts-ttf-2.1.0.tar.gz 2355448 BLAKE2B 675f739710d46b7198fd2bab68ee084c205c2ac5c4ce34d502040ee2ea9be50d9014302840edf72997619c6acefcb81984f04c2c5f5e5a4c57f276016e53ed5c SHA512 608252c064b5368591549a6c1b927a361e1373881607bf7217a2cd9f3ae72eda7389a7cfd530bba29ffbffc1128e68b8d8c83d9b9937c33815caf41766301c4b +DIST liberation-fonts-ttf-2.1.2.tar.gz 2370416 BLAKE2B 386eab6e886b677082bbbe1bf625bf91304e6baa4352a8dba3d073d3d2d80c1ae85ebb456f0b967be7ba9c430d7a95364107e54e789d419605976174ceb751b3 SHA512 bfdc3fb7dff1e78aa833035dad40bc26b12bce24b9e16863ec2f8f768a2a370705fafd25c430e3ed4ba7f742051c52ed3cf14da82a8500797b9efcdeef507f3c diff --git a/media-fonts/liberation-fonts/liberation-fonts-2.1.2.ebuild b/media-fonts/liberation-fonts/liberation-fonts-2.1.2.ebuild new file mode 100644 index 00000000000..817ed2e44f8 --- /dev/null +++ b/media-fonts/liberation-fonts/liberation-fonts-2.1.2.ebuild @@ -0,0 +1,52 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{6..9} ) + +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/5722232/${P}.tar.gz ) + !fontforge? ( https://github.com/liberationfonts/liberation-fonts/files/5722233/${PN}-ttf-${PV}.tar.gz ) +" + +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~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() { + has_version -b "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 +}