diff options
author | Pacho Ramos <pacho@gentoo.org> | 2021-03-14 15:35:21 +0100 |
---|---|---|
committer | Pacho Ramos <pacho@gentoo.org> | 2021-03-14 15:35:21 +0100 |
commit | 9a622d5ff0500cbccdb1f59a68a0fa47b8f11cd0 (patch) | |
tree | bc70a6666dff141b640bf97786734ba483f24127 | |
parent | media-gfx/gpicview: 0.2.5-r2: switch to GTK3; eapi bump. (diff) | |
download | gentoo-9a622d5ff0500cbccdb1f59a68a0fa47b8f11cd0.tar.gz gentoo-9a622d5ff0500cbccdb1f59a68a0fa47b8f11cd0.tar.bz2 gentoo-9a622d5ff0500cbccdb1f59a68a0fa47b8f11cd0.zip |
media-fonts/liberation-fonts: Bump to 2.1.3
Package-Manager: Portage-3.0.17, Repoman-3.0.2
Signed-off-by: Pacho Ramos <pacho@gentoo.org>
-rw-r--r-- | media-fonts/liberation-fonts/Manifest | 2 | ||||
-rw-r--r-- | media-fonts/liberation-fonts/liberation-fonts-2.1.3.ebuild | 52 |
2 files changed, 54 insertions, 0 deletions
diff --git a/media-fonts/liberation-fonts/Manifest b/media-fonts/liberation-fonts/Manifest index bf7b37ce351d..ee465b09b276 100644 --- a/media-fonts/liberation-fonts/Manifest +++ b/media-fonts/liberation-fonts/Manifest @@ -1,4 +1,6 @@ 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-2.1.3.tar.gz 4977444 BLAKE2B 1d77ea6a9aa850a3501a7051bf3e3cd75923bd77dca5d42ae3fa4fbe7be9fea104779caadcccaf2608dc6423bddb3abd199defcaae3161ecd997268078b6781e SHA512 826c002008c2c753957ae4228d8e5dac5b1de995eb7cf392e9cbef9a23bb438ff56303bb9e8ee45a52fb9797e5685b89749f6a689413537f9cc7ee8067dea463 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 +DIST liberation-fonts-ttf-2.1.3.tar.gz 2370443 BLAKE2B af9039d7586e87b25b05ee80893fb63f0857c05de748a9a9228557556d74cd322c8411672387f6a55b4e6ae2e7c16adb00b6e4d19b6170ce822721845741d0bf SHA512 d988cf02119352f7815327e58ac93ffc2301da66b9afe4427b49ed01edd465dbefd05bf76936035f501d9d38636e97cf243ba87e9f62ca85599ad2c9874a2c77 diff --git a/media-fonts/liberation-fonts/liberation-fonts-2.1.3.ebuild b/media-fonts/liberation-fonts/liberation-fonts-2.1.3.ebuild new file mode 100644 index 000000000000..040102d14395 --- /dev/null +++ b/media-fonts/liberation-fonts/liberation-fonts-2.1.3.ebuild @@ -0,0 +1,52 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{7..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/6060974/${P}.tar.gz ) + !fontforge? ( !https://github.com/liberationfonts/liberation-fonts/files/6060976/${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 +} |