From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 1ED77158094 for ; Sat, 20 Aug 2022 18:24:21 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 3AD43E07E1; Sat, 20 Aug 2022 18:24:20 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 13A6FE07E1 for ; Sat, 20 Aug 2022 18:24:20 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 0F3B8340F00 for ; Sat, 20 Aug 2022 18:24:19 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 53731569 for ; Sat, 20 Aug 2022 18:24:17 +0000 (UTC) From: "Matt Turner" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Matt Turner" Message-ID: <1661019844.fce2e1502b88483556d954bd2c178993701d7af2.mattst88@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: media-fonts/liberation-fonts/ X-VCS-Repository: repo/gentoo X-VCS-Files: media-fonts/liberation-fonts/Manifest media-fonts/liberation-fonts/liberation-fonts-2.1.5.ebuild X-VCS-Directories: media-fonts/liberation-fonts/ X-VCS-Committer: mattst88 X-VCS-Committer-Name: Matt Turner X-VCS-Revision: fce2e1502b88483556d954bd2c178993701d7af2 X-VCS-Branch: master Date: Sat, 20 Aug 2022 18:24:17 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: da38f57d-38d8-4ded-960f-0828997f1b97 X-Archives-Hash: cd262427ee3827e63bbd754d2379755e commit: fce2e1502b88483556d954bd2c178993701d7af2 Author: Matt Turner gentoo org> AuthorDate: Sat Aug 20 18:15:00 2022 +0000 Commit: Matt Turner gentoo org> CommitDate: Sat Aug 20 18:24:04 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fce2e150 media-fonts/liberation-fonts: Version bump to 2.1.5 Signed-off-by: Matt Turner gentoo.org> media-fonts/liberation-fonts/Manifest | 2 + .../liberation-fonts/liberation-fonts-2.1.5.ebuild | 52 ++++++++++++++++++++++ 2 files changed, 54 insertions(+) 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 +}