summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatt Turner <mattst88@gentoo.org>2019-09-16 21:18:58 -0700
committerMatt Turner <mattst88@gentoo.org>2019-09-16 21:25:44 -0700
commit0993f2748976d424dfaf0dd9d56db16a30d28eb9 (patch)
tree9e71c304c45e1b74521e90b0c31f40ad783dd932 /media-fonts
parentmedia-fonts/alegreya-serif: Version bump to 2.008 (diff)
downloadgentoo-0993f2748976d424dfaf0dd9d56db16a30d28eb9.tar.gz
gentoo-0993f2748976d424dfaf0dd9d56db16a30d28eb9.tar.bz2
gentoo-0993f2748976d424dfaf0dd9d56db16a30d28eb9.zip
media-fonts/liberation-fonts: Version bump to 2.00.5
Closes: https://bugs.gentoo.org/670735 Closes: https://bugs.gentoo.org/670739 Signed-off-by: Matt Turner <mattst88@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.00.5.ebuild41
2 files changed, 43 insertions, 0 deletions
diff --git a/media-fonts/liberation-fonts/Manifest b/media-fonts/liberation-fonts/Manifest
index 7d8c88b6d0d3..d16d7013e7da 100644
--- a/media-fonts/liberation-fonts/Manifest
+++ b/media-fonts/liberation-fonts/Manifest
@@ -1,2 +1,4 @@
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-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
diff --git a/media-fonts/liberation-fonts/liberation-fonts-2.00.5.ebuild b/media-fonts/liberation-fonts/liberation-fonts-2.00.5.ebuild
new file mode 100644
index 000000000000..dce9d1c39a13
--- /dev/null
+++ b/media-fonts/liberation-fonts/liberation-fonts-2.00.5.ebuild
@@ -0,0 +1,41 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+PYTHON_COMPAT=( python2_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? ( ${HOMEPAGE}/files/2926169/${PN}-ttf-${PV}.tar.gz )
+fontforge? ( ${HOMEPAGE}/files/2926167/${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" )
+
+DEPEND="
+ fontforge? (
+ ${PYTHON_DEPS}
+ media-gfx/fontforge
+ dev-python/fonttools
+ )"
+RDEPEND=""
+
+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
+}