summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMikle Kolyada <zlogene@gentoo.org>2020-02-16 13:32:43 +0300
committerMikle Kolyada <zlogene@gentoo.org>2020-02-16 13:32:43 +0300
commitdfadaa2560e70bcf11c111ac0173ed4a0272cc71 (patch)
treebb56ad161a015451324eeb93382a538530e3c28e /media-fonts
parentx11-themes/numix-icon-theme-circle: Version bump (v19.12.27) (diff)
downloadgentoo-dfadaa2560e70bcf11c111ac0173ed4a0272cc71.tar.gz
gentoo-dfadaa2560e70bcf11c111ac0173ed4a0272cc71.tar.bz2
gentoo-dfadaa2560e70bcf11c111ac0173ed4a0272cc71.zip
media-fonts/liberation-fonts: Version bump (v2.1.0)
Package-Manager: Portage-2.3.84, Repoman-2.3.20 Signed-off-by: Mikle Kolyada <zlogene@gentoo.org>
Diffstat (limited to 'media-fonts')
-rw-r--r--media-fonts/liberation-fonts/Manifest2
-rw-r--r--media-fonts/liberation-fonts/liberation-fonts-2.1.0.ebuild51
2 files changed, 53 insertions, 0 deletions
diff --git a/media-fonts/liberation-fonts/Manifest b/media-fonts/liberation-fonts/Manifest
index d16d7013e7da..5fe6518d85a3 100644
--- a/media-fonts/liberation-fonts/Manifest
+++ b/media-fonts/liberation-fonts/Manifest
@@ -1,4 +1,6 @@
DIST liberation-fonts-2.00.1.tar.gz 4842687 BLAKE2B c38635a3bfdddbf5ef3f2ed2a1f78d47ef7e384625606f47f94aacf1b07c805307a0e1fc3dea52b1dee823f66934f6ce767496f830fdd50c9a5efb073802b173 SHA512 8cfc1fa8f36e9f1c622879a822614b851b8339673ed6d2736937c483d85764ef12cc0d8a308f6c50e4877c2ab9b83ca2ea748b1458aa02cc840251e400285362
DIST liberation-fonts-2.00.5.tar.gz 4935865 BLAKE2B 059adc20217238a0783ea669d7e7b15673791e5f4d6769d091e4a6aabb8ced47e21c71ad19505f2215d4377d01ddae5c671304cb1ebb8430f60f44a5bd19ea5b SHA512 47e15ec1695a9576163f7378dc263d51c09956c73031f4a30abc7be10ccac9e0af69965c2f00b97509f6456e2e6ae09b49be17049cf2e54a27bdbd3b001a2a39
+DIST liberation-fonts-2.1.0.tar.gz 4986277 BLAKE2B c8d60a749d35d979237d1c82be69e5fc4fe3e8702893235b9064c6790974126a6e019f20164ca3431bfc2c972cd7102aa688519739e381660f745cc5f1099613 SHA512 70dbdd2e61808e7a56f76d605ded6195fc1b2d91b8682e8daef1bc5bf36a45a04b8f4e77fdcafa81f1253835c65637abc4c2df65ebe86aa1555fc074826ee0ba
DIST liberation-fonts-ttf-2.00.1.tar.gz 2285857 BLAKE2B 5eb3e10dbf1e5867bcbd443b5f68153448956fc73313e60a408fc69985229658951175753ccf694a79dcc91faafdec3edf113f300ee55f2246261f0dd3067054 SHA512 52dce5cf2c35165f81c903f2c7245d7f0e37a37eeb4003a015d8cc2404728f17ff4d723ddc5d4b6a6c03044d7ec97b98cf4eecfbc91607fcfed6e0aaff260739
DIST liberation-fonts-ttf-2.00.5.tar.gz 2355722 BLAKE2B a782ab6668168b85cbfdba85df99a4ed4e6c173db7c47a2a2b0d67a1484bab70648b7b950fbb51448dd3cd31f68c3ea68a977966f0cf3cfd0aed903b8922c29b SHA512 fc00494842475d040c01029b6fb134fec9a37516a5e8e1b9ba945a2b38fe2ef3df6a0acfc00dc024cf2019f1106092d063c8322eece1be1cf8690db4ed8a653f
+DIST liberation-fonts-ttf-2.1.0.tar.gz 2355448 BLAKE2B 675f739710d46b7198fd2bab68ee084c205c2ac5c4ce34d502040ee2ea9be50d9014302840edf72997619c6acefcb81984f04c2c5f5e5a4c57f276016e53ed5c SHA512 608252c064b5368591549a6c1b927a361e1373881607bf7217a2cd9f3ae72eda7389a7cfd530bba29ffbffc1128e68b8d8c83d9b9937c33815caf41766301c4b
diff --git a/media-fonts/liberation-fonts/liberation-fonts-2.1.0.ebuild b/media-fonts/liberation-fonts/liberation-fonts-2.1.0.ebuild
new file mode 100644
index 000000000000..e0f40b4b583d
--- /dev/null
+++ b/media-fonts/liberation-fonts/liberation-fonts-2.1.0.ebuild
@@ -0,0 +1,51 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python3_{6,7} )
+
+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/4178407/${PN}-ttf-${PV}.tar.gz )
+fontforge? ( https://github.com/liberationfonts/liberation-fonts/files/4178448/${P}.tar.gz )"
+
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~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
+}