summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWim Muskee <wimmuskee@gmail.com>2020-01-15 06:27:29 +0100
committerSam James <sam@gentoo.org>2021-09-28 02:45:13 +0100
commit44e5098e35a9deea60b356412849472ee46b4947 (patch)
tree567a0faf194521a6c473f8e9e67633bd9a08235e /media-fonts/vollkorn
parentmedia-fonts/vollkorn: update HOMEPAGE (diff)
downloadgentoo-44e5098e35a9deea60b356412849472ee46b4947.tar.gz
gentoo-44e5098e35a9deea60b356412849472ee46b4947.tar.bz2
gentoo-44e5098e35a9deea60b356412849472ee46b4947.zip
media-fonts/vollkorn: version bump to 4.105
Closes: https://bugs.gentoo.org/705458 Signed-off-by: Wim Muskee <wimmuskee@gmail.com> Closes: https://github.com/gentoo/gentoo/pull/14340 Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'media-fonts/vollkorn')
-rw-r--r--media-fonts/vollkorn/Manifest1
-rw-r--r--media-fonts/vollkorn/metadata.xml7
-rw-r--r--media-fonts/vollkorn/vollkorn-4.105.ebuild32
3 files changed, 40 insertions, 0 deletions
diff --git a/media-fonts/vollkorn/Manifest b/media-fonts/vollkorn/Manifest
index 214106bfa4c4..8a5b08c3ec09 100644
--- a/media-fonts/vollkorn/Manifest
+++ b/media-fonts/vollkorn/Manifest
@@ -1 +1,2 @@
DIST Vollkorn-2.1.zip 139737 BLAKE2B 5aa31eb1b7e493b273e7623eb22d99b629f5c044ae1ff594cb48d488cf800114a4fc4884c02e7e9400bcaa4d6b6d344283e7a2de885f9c95dd33beba690ae7d9 SHA512 f6d3283a06204491119ce3a3796dace7db640469192b9d44fd44471a185dc580a2ba8160f2983371b6160cb782adaabcd02872cfc2b1d05b10f3d6e73c60cded
+DIST vollkorn-4-105.zip 11046213 BLAKE2B bfa8515335ab6f7eaa57ad03642b7694b41047b228e9c1c51285ac70f8d799a9d61ba0414bc91ec1fdb5e579597a8a3d5c901c1d77d1de1c425ba1822a29ced9 SHA512 847196951f842481d11d76304435f88190608cabd7ccb47ca19a10b7215b69e19c19dc85e628e6b2730dd9b8cf1850c6b30470103724dd40fcf9b5eadb88a3f8
diff --git a/media-fonts/vollkorn/metadata.xml b/media-fonts/vollkorn/metadata.xml
index 9a448dfc2e7c..9c5f2fa2bea6 100644
--- a/media-fonts/vollkorn/metadata.xml
+++ b/media-fonts/vollkorn/metadata.xml
@@ -5,4 +5,11 @@
<email>fonts@gentoo.org</email>
<name>Fonts</name>
</maintainer>
+<use>
+ <flag name="otf">Install the OpenType version of the font</flag>
+ <flag name="ttf">Install the TrueType version of the font</flag>
+</use>
+<upstream>
+ <remote-id type="github">FAlthausen/Vollkorn-Typeface</remote-id>
+</upstream>
</pkgmetadata>
diff --git a/media-fonts/vollkorn/vollkorn-4.105.ebuild b/media-fonts/vollkorn/vollkorn-4.105.ebuild
new file mode 100644
index 000000000000..cb865153c23e
--- /dev/null
+++ b/media-fonts/vollkorn/vollkorn-4.105.ebuild
@@ -0,0 +1,32 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit font
+
+DESCRIPTION="Vollkorn, the free and healthy typeface for bread and butter use"
+HOMEPAGE="http://vollkorn-typeface.com/"
+SRC_URI="http://vollkorn-typeface.com/download/${PN}-${PV/./-}.zip"
+
+LICENSE="OFL-1.1"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~ppc ~ppc64 ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos"
+IUSE="+otf +ttf"
+REQUIRED_USE="|| ( otf ttf )"
+# Only installs fonts
+RESTRICT="strip binchecks"
+
+BDEPEND="app-arch/unzip"
+
+S="${WORKDIR}"
+DOCS="Fontlog.txt"
+
+src_install() {
+ if use otf; then
+ FONT_S="${S}/PS-OTF" FONT_SUFFIX="otf" font_src_install
+ fi
+ if use ttf; then
+ FONT_S="${S}/TTF" FONT_SUFFIX="ttf" font_src_install
+ fi
+}