summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArsen Arsenović <arsen@gentoo.org>2023-05-02 00:54:59 +0200
committerArsen Arsenović <arsen@gentoo.org>2023-05-02 19:40:11 +0200
commitf52c1a2f1c05482e9e1653ca866468cf73485abf (patch)
tree048f46f916b788d8172f8d1e9bad6d2a7ddcb5bd /media-fonts
parentmedia-fonts/iosevka: add myself as a maintainer (diff)
downloadgentoo-f52c1a2f1c05482e9e1653ca866468cf73485abf.tar.gz
gentoo-f52c1a2f1c05482e9e1653ca866468cf73485abf.tar.bz2
gentoo-f52c1a2f1c05482e9e1653ca866468cf73485abf.zip
media-fonts/iosevka: add 22.1.0
Signed-off-by: Arsen Arsenović <arsen@gentoo.org>
Diffstat (limited to 'media-fonts')
-rw-r--r--media-fonts/iosevka/Manifest24
-rw-r--r--media-fonts/iosevka/iosevka-22.1.0.ebuild108
-rw-r--r--media-fonts/iosevka/metadata.xml92
3 files changed, 224 insertions, 0 deletions
diff --git a/media-fonts/iosevka/Manifest b/media-fonts/iosevka/Manifest
index 2e0df9182bb6..c625f8a77980 100644
--- a/media-fonts/iosevka/Manifest
+++ b/media-fonts/iosevka/Manifest
@@ -1,2 +1,26 @@
DIST super-ttc-iosevka-15.0.1.zip 64196804 BLAKE2B c6acd248247c31e3506b2286c5c621d9111bbbda4d1ab22e7de22c34ec9a8b3404982e2dba5e1848e0c3c62c0c3de0d38a2a91a4021dcdc2d7740bfc00d59810 SHA512 30b837e8b4400f3629d01264da93ab03400ee763b52932aa7c3bd74eeb51a43e9f430a5052da7f3d62bed3c1bb90dda5b3493dbb3cc06a26557212b8791ca56e
DIST super-ttc-iosevka-19.0.1.zip 65922092 BLAKE2B d6b40ff8fa8ec8b83043c1aba5bdd06a3e5a20a45a9ec6fe7f2493ee300a16742b628db3e0340166dee9843d4ceec7b7169583cc00da735634d37c89dd34d8db SHA512 51e3c2d533cf2098a0c20021a0d0a39c2dc765bccd749c76e367dcc84a8fd5e508eec919442f5f9e4dcfa4215efeef9421c0d3149187c30e9a4a120c2cf1600c
+DIST super-ttc-iosevka-22.1.0.zip 68453859 BLAKE2B 548799658dce32dcc9d412bd80934aea663152add8c9ab3faa4079ed1e17b7a57e0aa799d2af3d223211cab4e123d1e0b83cdc27dad0002f52d880a8e982b748 SHA512 e8f6e30bbc1cfada68496a7cf8326bc8826483944140aeb44c46ada38cf7003ddba9b4b5de5386b6d6b4bd3e77416a82b6625a7fde7924ddba791184f2b2f733
+DIST super-ttc-iosevka-aile-22.1.0.zip 41841779 BLAKE2B 5934485ca16dd4f94a0e21b19d2a24f8331528ad260c46ac9f8f883b0c934acb7d97ec37f9dde732e6d0b620849eac7a090aeb41031ad5889ff3876f20afa0ae SHA512 17d4b0e2423f4e7277eaf8abb6ec06280b6c810b985b2fb6815e895f92c89712b36f97705f5afb7cb2ce2888c3fda6752f2f21e485e781ee55d08cc471748d73
+DIST super-ttc-iosevka-curly-22.1.0.zip 68495028 BLAKE2B 3bdc1039bd739d51bf152a02e257c1b867097bc9192acdea3f489cdb5ec6b4ee8c89c618b8ef565e9d46e581fc1355ee22e7a5ed392ae6f969632c8bed9d844e SHA512 915b20dbe2e881a4d1450a871cdef003da21196b04f28efec3435a1d5a3a27a1f5c4ca138152eeccfb26eba56a465aefff2330a97ff44b7e2a80e8d733007e1f
+DIST super-ttc-iosevka-curly-slab-22.1.0.zip 73198233 BLAKE2B c5afe69db5c8c379a94353c7299cfa4836e87337a87170ff0fa6cc249eb5aefd830984b8238a17b537cb7032098f963aed9abbded1c4cd9deecdc4d89a3682ae SHA512 c1cca76e79cafcbdcc14328c743321f6324aaf86c729232b8f1676c1ec3f5e709b1cdacfce3b0501e89f355202a2d1ad8d9db5c8c2d0e9882da89899b3c5d6c1
+DIST super-ttc-iosevka-etoile-22.1.0.zip 45315945 BLAKE2B d689612c44ca1412f4d7a9e370984315f6fbd74add2e6ccc014fd9ed1373a5fb30630efeb68a6d701192303b21d4236299a6aa98b899c8a8997c076df3aaf717 SHA512 b0c861c696a37bba2b89c56efd7efb75fa47737dd2ec907d36114723aafb347f435cfe0c9be301d7408da8490163e92e62daf95e9053a6656c8edf87761b216f
+DIST super-ttc-iosevka-slab-22.1.0.zip 73304024 BLAKE2B a1a2f6d92a335f99a621a9a990e59303b298550ec34ac1c53b16af17b285c98b3d1f8b6d29e870834808ef60ab1761820691b38680a2eb31b42844c3cce45100 SHA512 c642b9573e8f95a76b19fb421b604c4b813d85f11f8a2bc3b502bc78a44acde751b4114c95c6de5bd23f38cf49f5760170da59d49ff7b69a08ffa5629ca957a0
+DIST super-ttc-iosevka-ss01-22.1.0.zip 19357521 BLAKE2B a71f909a61bd80480feb1b48281709616b6948ce2fc77af4335b7f835f888305cd12db66d227be8b5f743b5dd5f1477cb3895947145f3094adf667ffa03ac39c SHA512 17f3e4eb7caba267d95cf45926612c62179a59c826674ec22bda80b96237a07ea5fc1bae9e4a8b1bcd10a6efb1395006452d6381d283305be91eb9ade0e4611d
+DIST super-ttc-iosevka-ss02-22.1.0.zip 19566557 BLAKE2B 3546e8717927746b27f4332f88ee22f25dae3b4958a4c70f22d1aecdd68a5eb4be5b24fe02c0aa8deef36ec1005e26adeb6ac1c3223ef9e5f1f37d5f20c64138 SHA512 3a3905364ff1780f3d3cf3d58fcb0dcfd0ad950270b4e162c7270638a2f1eb9a0c67a55623c657c10bd5518bcc27d53d351dee61639755063fad17afc7fcefc5
+DIST super-ttc-iosevka-ss03-22.1.0.zip 19737226 BLAKE2B 26bbf858d0245f9bb5dfc28eb765a70119698bcf86421288c24b0330e721e9afe0986c7f87f44a01a8e65ea6b982bbf13c894e8509330612f18d27f516baa6db SHA512 42370cd41fad5427679a72da39f8e7b2bbcb8452a981bf8283e0e10bf60050d61aad70003039b046f176b70581d94e048c68d3675219dd2a03ea21273b8ba0e5
+DIST super-ttc-iosevka-ss04-22.1.0.zip 18997524 BLAKE2B d846ff9afdb6d19498a89cd819a5286614525c1a03f2a359dc9976a64045f5bf44c90f0488750cd21ea11462b1a05db69d91ab7160538e702f7ebd8ec9db1caf SHA512 f6c0f8f6bfa7eca9be3128f6f019ca98dbcdf3e52bea3b6b6ad98105796122c3b78ed86bb92ba580d66292701206f82df789c6b749c10ebf29c4553631bdb44f
+DIST super-ttc-iosevka-ss05-22.1.0.zip 19733416 BLAKE2B 8bf56d4620c766716a290343095c1eac5ce82f8581c102c4801a2acad6eb38b869066ebe7dea43b18df3ee96e390eb52439eae50f8ac59e3e9c49d84563044cb SHA512 14ce6a2d762bf76ef187a101068810798bb7e6f2f317c43c04acc4ce8079a58194cdd35ad3fedb4030bc57e69d7dbe1791b016bc38b53a0f7c73da795884d158
+DIST super-ttc-iosevka-ss06-22.1.0.zip 19320291 BLAKE2B dc06763336072acbc386a30b0bd3f7c1b060ea1d0a9b5ad8c8b52bf6601112f239ba17ca838c73eaf433c14864406f6aa883db979a441d68e0c22f773d4374c4 SHA512 26263341c1916ef99c5230cdf9648e72d860ca8ec453d494d6e26cef4569f2e153dde02a746de1e5262ed44374f4005f5c9a7fda30d23c240a685d451725de19
+DIST super-ttc-iosevka-ss07-22.1.0.zip 19330247 BLAKE2B ca8de523c141f8911ad2230e2699dd0cca6e0fdee18c4430cc2b2e2599ec655900723f7b09e0b2e3c39022c7ddd9730bb46f2b4f1425d7eb22c9652b9e668fae SHA512 bb26a1644f53a5dd1377af2af910e5775290eafb23b438679b1086af2517d9eb102c9429b9af9940827fae79e11ed4d580fbd0b13ca654ea5a8c42093b1448ff
+DIST super-ttc-iosevka-ss08-22.1.0.zip 19897915 BLAKE2B 05942b65b8d647131b1c835efb58daf787bb364b881dc49f72f662c3877d225864c966cf5e613d8db69b54846264e13caaeed0b99604cc78985e2d6cc00d897b SHA512 b5ab468eacd6b6553a3c8b8181ecd846d58d5705449f306dee3693c229052c66c0b09e3a56924dafe639bdeb94e869c27793ad8b9415962b8d6828e413c30e27
+DIST super-ttc-iosevka-ss09-22.1.0.zip 19815079 BLAKE2B c8183e6df20d7e78fcc0f7fb6517c56e6daae89eecafcd5bef81561db421171b4ada5f9b96d0fe281683208f454509be3772838710686edab7ff861280310030 SHA512 40897e22fd79f76bf6a4a20274a9062b0f603609c8813192ff5e4c5a781c40851253ced6c3cb012aa97508b42bb8b3e1a3b39d66bccc464b02afa144b20d13e1
+DIST super-ttc-iosevka-ss10-22.1.0.zip 19609406 BLAKE2B 06828cc7f69315f88644ba99ce5430c20c146edab998b2828e47611d18318fa2685ccf7b83caefd8b63ee6d6c9a3a1770eb750aa7de8039b633884274e281d20 SHA512 a57081aa098a57b2dfddea58466e4e70a93cd3d18db3accc911e2ab70437509f0a1422b63aef8100f8ef282df443308a1580da21eceadf3c146aae58c2d0e7b4
+DIST super-ttc-iosevka-ss11-22.1.0.zip 19724947 BLAKE2B d0e383804f73e115e7ee8b94234764d4c018d586b4677763978b64c79d66a201d150106bc09355213dec26d7ca4fb558d1ecf4b86e7914355aa3168e8b2e0fa6 SHA512 86f7bf36bf72e7b12abccb06259a20920751457c68eca343e343d46652a3adb712721783083714fe3fef0111d2e6af954a04e4a55327b5123f0c853b42a47e1d
+DIST super-ttc-iosevka-ss12-22.1.0.zip 19829299 BLAKE2B 8721662577c44e6a55d721647a1520c987328422fe89fcd826f74643e7a5ba435891f2afbbffa5cfa5541f41c676565e60fbdb03a8e5437742682178c8c0fccb SHA512 adfd2cfd8defc9d924e7e8ea9493d3801ff5450c91ddd8e19a8a84f7c62994f15ce6831f96b3ea13f87cf95a528d2068e58b691f06002e3318d538df7ce525dc
+DIST super-ttc-iosevka-ss13-22.1.0.zip 19254479 BLAKE2B 6a26288c4b3d4e1dade39f1742692bf7c99c10916883772f3d0a0393fe9dca3428b01b442df496dd9e5ac54ac6a4e0078608b5e56b8611d79880ff3fefb5b243 SHA512 3d8de6ac4583e75916ebb9290c98ee71877f4c85682368b4d896d45e0f24baebb2e99a3ae9466880c0041a84c854a4aed742f5741a6cd2c155901e1d84062041
+DIST super-ttc-iosevka-ss14-22.1.0.zip 19062815 BLAKE2B 1f893835a9af73adebd06511b026d30be88023d6d6c3c2b2d94d888771be7f9b14954fe64dc33f1b9ffec9c203a57bad96d17e78fe29244cafd32b18f73b47fd SHA512 99d9eb358225ae33b6bed8db56bc042742b62109e59bab39d4a35012aef3c11d42e36ed31ea8f76e9f3d28cf642f1c1a361938786db646c39db733de30b0b6db
+DIST super-ttc-iosevka-ss15-22.1.0.zip 20371207 BLAKE2B 2335c2ae0f63f2155469da6b105b039660c18053b5e0ca25cc1cf97144ed16402d8d3c07274602c4fa64a6c12beed014e61af0d440ca8e173efe0b88081ad216 SHA512 f6cf9ea1b99baae7b83eeb1366e175f951189b26d247602515fa2113f542a4ec399679ddaa262ba8437bb03043aa7c1076af74f57e5552a64f5d112e5e7e93f5
+DIST super-ttc-iosevka-ss16-22.1.0.zip 19446207 BLAKE2B 5525b63b1c845f33460107893e7050f705f1bda592dd6dfeff072457414ce0f5078aed4d6c739ad6044ef3b6db27f9bc2922e35b110b1bdb10cd319d39ae89d7 SHA512 388f65dc83aeb400be9abf3d5c3ed4da146c1146682888e64864d505f15e88ef8078b255779df2d4fa64c4b4793be52572d55eba8f91732ff1df92915f8c2d7d
+DIST super-ttc-iosevka-ss17-22.1.0.zip 20609224 BLAKE2B 9b7ff87f1c9aaab994183fe0db0248e558860c3ede0a8492ea0131cb16376122a7c2c560a4a8c6df6ff7a935047c87ab9bf79e4366933fa1348ca2fe3ed3b6b9 SHA512 7bab005d76dc5e2564d29383073c043a544e4afbfc1e478bd89a5cb6223a232a546ebbcec8bfab64328713633639a6343d06096e7e871c83cbb9ddadee941055
+DIST super-ttc-iosevka-ss18-22.1.0.zip 19504535 BLAKE2B f647398c60f16c306e903c975e7c761781501e36ba36e55d33a5e2a3dbffe9bf3e0a70fa54f9f25ec2aee3cf4536dec8f8acfc531bb5c102e4cd6d33a1016e65 SHA512 4148cb1de0c111282ff0903657dba79b68ca276173d5857f036113dc60803dc0a4968021252ad9511f2382fdad9a8b6d56f6c420da5a399dbfe1d7662fb1de5d
diff --git a/media-fonts/iosevka/iosevka-22.1.0.ebuild b/media-fonts/iosevka/iosevka-22.1.0.ebuild
new file mode 100644
index 000000000000..c9577afb33cc
--- /dev/null
+++ b/media-fonts/iosevka/iosevka-22.1.0.ebuild
@@ -0,0 +1,108 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit font
+
+# [...document.querySelectorAll('[colspan="3"] > b')]
+# .map(x => "[\""
+# + (x = x.innerText.trim()).toLowerCase().replaceAll("\xa0", "-")
+# + "\"]=\""
+# + x
+# + "\"")
+# .join("\n\t")
+declare -A MY_FONT_VARIANTS=(
+ ["iosevka"]="Iosevka"
+ ["iosevka-slab"]="Iosevka Slab"
+ ["iosevka-curly"]="Iosevka Curly"
+ ["iosevka-curly-slab"]="Iosevka Curly Slab"
+ ["iosevka-ss01"]="Iosevka SS01"
+ ["iosevka-ss02"]="Iosevka SS02"
+ ["iosevka-ss03"]="Iosevka SS03"
+ ["iosevka-ss04"]="Iosevka SS04"
+ ["iosevka-ss05"]="Iosevka SS05"
+ ["iosevka-ss06"]="Iosevka SS06"
+ ["iosevka-ss07"]="Iosevka SS07"
+ ["iosevka-ss08"]="Iosevka SS08"
+ ["iosevka-ss09"]="Iosevka SS09"
+ ["iosevka-ss10"]="Iosevka SS10"
+ ["iosevka-ss11"]="Iosevka SS11"
+ ["iosevka-ss12"]="Iosevka SS12"
+ ["iosevka-ss13"]="Iosevka SS13"
+ ["iosevka-ss14"]="Iosevka SS14"
+ ["iosevka-ss15"]="Iosevka SS15"
+ ["iosevka-ss16"]="Iosevka SS16"
+ ["iosevka-ss17"]="Iosevka SS17"
+ ["iosevka-ss18"]="Iosevka SS18"
+ ["iosevka-aile"]="Iosevka Aile"
+ ["iosevka-etoile"]="Iosevka Etoile"
+)
+
+DESCRIPTION="Slender typeface for code, from code"
+HOMEPAGE="https://typeof.net/Iosevka/"
+
+SRC_URI=''
+REQUIRED_USE='|| ('
+MY_BASE="https://github.com/be5invis/Iosevka/releases/download/v${PV}"
+for variant in "${!MY_FONT_VARIANTS[@]}"; do
+ my_filename="super-ttc-${variant}-${PV}.zip"
+
+ [[ ${SRC_URI} ]] && SRC_URI+=' '
+ SRC_URI+="${variant}? ( ${MY_BASE}/${my_filename} )"
+
+ [[ ${IUSE} ]] && IUSE+=' '
+ [[ ${variant} == iosevka ]] && IUSE+='+'
+ IUSE+="${variant}"
+
+ REQUIRED_USE+=" ${variant} "
+done
+REQUIRED_USE+=')'
+unset MY_BASE my_filename variant
+
+LICENSE="OFL-1.1"
+SLOT="0"
+KEYWORDS="~amd64"
+
+BDEPEND="app-arch/unzip"
+
+S="${WORKDIR}"
+FONT_S="${S}"
+FONT_SUFFIX="ttc"
+
+src_prepare() {
+ default
+
+ FONT_CONF=()
+ local vinternal
+ for vinternal in "${!MY_FONT_VARIANTS[@]}"; do
+ case "${vinternal}" in
+ *-etoile|*-aile)
+ continue
+ ;;
+ esac
+ local vname="${MY_FONT_VARIANTS[${vinternal}]}"
+ use "${vinternal}" || continue
+ cat >66-"${vinternal}".conf <<EOF
+<?xml version="1.0"?>
+<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
+<!-- Enable this config to change your monospace font to ${vname} -->
+<fontconfig>
+ <alias>
+ <family>monospace</family>
+ <prefer>
+ <family>${vname}</family>
+ </prefer>
+ </alias>
+ <alias>
+ <family>${vname}</family>
+ <default>
+ <family>monospace</family>
+ </default>
+ </alias>
+</fontconfig>
+EOF
+ assert "Failed to generate ${vinternal}"
+ FONT_CONF+=( 66-"${vinternal}".conf )
+ done
+}
diff --git a/media-fonts/iosevka/metadata.xml b/media-fonts/iosevka/metadata.xml
index dd0f07967d48..13ef02447ae3 100644
--- a/media-fonts/iosevka/metadata.xml
+++ b/media-fonts/iosevka/metadata.xml
@@ -8,4 +8,96 @@
<upstream>
<remote-id type="github">be5invis/iosevka</remote-id>
</upstream>
+ <use>
+ <flag name="iosevka">
+ Install the classic Iosevka font.
+ </flag>
+ <flag name="iosevka-slab">
+ Install Iosevka Slab, a monospace slab-serif font.
+ </flag>
+ <flag name="iosevka-curly">
+ Install Iosevka Curly, a curlier variant of Iosevka.
+ </flag>
+ <flag name="iosevka-curly-slab">
+ Install Iosevka Curly Slab, the curly font, with slab-serifs.
+ </flag>
+ <flag name="iosevka-ss01">
+ Install Iosevka SS01, an Iosevka variant made in the style of
+ Andale Mono.
+ </flag>
+ <flag name="iosevka-ss02">
+ Install Iosevka SS02, an Iosevka variant made in the style of
+ Anonymous Pro Style.
+ </flag>
+ <flag name="iosevka-ss03">
+ Install Iosevka SS03, an Iosevka variant made in the style of
+ Consolas.
+ </flag>
+ <flag name="iosevka-ss04">
+ Install Iosevka SS04, an Iosevka variant made in the style of
+ Menlo.
+ </flag>
+ <flag name="iosevka-ss05">
+ Install Iosevka SS05, an Iosevka variant made in the style of
+ Fira Mono.
+ </flag>
+ <flag name="iosevka-ss06">
+ Install Iosevka SS06, an Iosevka variant made in the style of
+ Liberation Mono.
+ </flag>
+ <flag name="iosevka-ss07">
+ Install Iosevka SS07, an Iosevka variant made in the style of
+ Monaco.
+ </flag>
+ <flag name="iosevka-ss08">
+ Install Iosevka SS08, an Iosevka variant made in the style of
+ Pragmata Pro.
+ </flag>
+ <flag name="iosevka-ss09">
+ Install Iosevka SS09, an Iosevka variant made in the style of
+ Source Code Pro.
+ </flag>
+ <flag name="iosevka-ss10">
+ Install Iosevka SS10, an Iosevka variant made in the style of Envy
+ Code R.
+ </flag>
+ <flag name="iosevka-ss11">
+ Install Iosevka SS11, an Iosevka variant made in the style of X
+ Windows Fixed.
+ </flag>
+ <flag name="iosevka-ss12">
+ Install Iosevka SS12, an Iosevka variant made in the style of
+ Ubuntu Mono.
+ </flag>
+ <flag name="iosevka-ss13">
+ Install Iosevka SS13, an Iosevka variant made in the style of
+ Lucida.
+ </flag>
+ <flag name="iosevka-ss14">
+ Install Iosevka SS14, an Iosevka variant made in the style of
+ JetBrains Mono.
+ </flag>
+ <flag name="iosevka-ss15">
+ Install Iosevka SS15, an Iosevka variant made in the style of IBM
+ Plex Mono.
+ </flag>
+ <flag name="iosevka-ss16">
+ Install Iosevka SS16, an Iosevka variant made in the style of PT
+ Mono.
+ </flag>
+ <flag name="iosevka-ss17">
+ Install Iosevka SS17, an Iosevka variant made in the style of
+ Recursive Mono.
+ </flag>
+ <flag name="iosevka-ss18">
+ Install Iosevka SS18, an Iosevka variant made in the style of
+ Input Mono.
+ </flag>
+ <flag name="iosevka-aile">
+ Install Iosevka Aile, a quasi-proportional sans-serif font.
+ </flag>
+ <flag name="iosevka-etoile">
+ Install Iosevka Etoile, a quasi-proportional slab-serif font.
+ </flag>
+ </use>
</pkgmetadata>