summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArsen Arsenović <arsen@gentoo.org>2023-12-18 01:50:34 +0100
committerArsen Arsenović <arsen@gentoo.org>2023-12-18 18:59:35 +0100
commit86fca79f400ca7c4792721a398f5e7765e2d4e4d (patch)
tree5c8f4ea3b3a2f3cd047bbdb41546b1d1a48a143d /media-fonts
parentmedia-libs/fcft: add codeberg upstream metadata (diff)
downloadgentoo-86fca79f400ca7c4792721a398f5e7765e2d4e4d.tar.gz
gentoo-86fca79f400ca7c4792721a398f5e7765e2d4e4d.tar.bz2
gentoo-86fca79f400ca7c4792721a398f5e7765e2d4e4d.zip
media-fonts/iosevka: add 28.0.1
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-28.0.1.ebuild117
2 files changed, 141 insertions, 0 deletions
diff --git a/media-fonts/iosevka/Manifest b/media-fonts/iosevka/Manifest
index 49fe410a9c41..484083afc903 100644
--- a/media-fonts/iosevka/Manifest
+++ b/media-fonts/iosevka/Manifest
@@ -1,3 +1,27 @@
+DIST SuperTTC-Iosevka-28.0.1.zip 99218855 BLAKE2B eb51b738a5cf39bca58583bb061c97028c8dab3e6e4bda8181830bf35d154ea90e1bf826ba955233c2c09ce5300eb34aa2431b8855b994696f5311e56f6caa18 SHA512 1a68af827c7986982f5a9978b7cfa1b0ed5e9eff81ed798fe9516f874f0a188612d99edab85216454440c73f46b43ce53658795691033c903416d7b3b41e4524
+DIST SuperTTC-IosevkaAile-28.0.1.zip 55704940 BLAKE2B e1112edaa46c44f1f2577cc08d2fc3370bc102c1b4fe9ef4b9ef439afdf1359c7e9051b8bcf519742ab72f6e47497e301ec3b5ceffd793a62f8013161cd5c1d3 SHA512 2e442ba8b18b309264432b960016fb770ccc73603f5c057e0848a7fd42014733f70c7d0789a5abcfab4708d1e48c4e607513c6736b64d5e0950669644ba1fedf
+DIST SuperTTC-IosevkaCurly-28.0.1.zip 99620533 BLAKE2B a0a623c4db3ddb7b2e0889e5f4ee4f20cb0b342fc0bbe2fb51dc4764403a63daa96277eab41d6ca60da2c6d35314fb193a5468cc3831b3756e707428d64a0173 SHA512 7a34e4f2d9e58e295fb9c11da56fc45668fa9fa91575bd51858e35a30f2a88a7bf134bef37e0b36cbc921dbccccba0ef2543c07e6bfa498668544191c9b9251c
+DIST SuperTTC-IosevkaCurlySlab-28.0.1.zip 105700303 BLAKE2B 211f7472031e29acefb93ea9df497ddf02635b13c2934c7bc5af7e41a136a58144b8c2e9a099a78577eff701885fd7e23f8af6a279a3209d0137836fd40c9214 SHA512 352e3d107657f51cdbdc0eb12c91616faab145b3de4564998bafde85731acee80ce693375628762e21e526b506461d71b13788b527de817ee80d141bb1cd171c
+DIST SuperTTC-IosevkaEtoile-28.0.1.zip 59911600 BLAKE2B 657be5f45c359ffcb6ff1acf8b877e8f1a2e7153014af32cf9525893ff6012e86e1912b5e294227e801ff8ba3a9609235b48ba963ac9af0e4e35549cda1cec2a SHA512 97c76220075123a7cc30874b6673d46b802e3066c83779e9c7ac98340ca40acd49695855eafa222f29abe2397a164db7378134a7adda99d3cd72abcbeac845b2
+DIST SuperTTC-IosevkaSS01-28.0.1.zip 19945012 BLAKE2B b99bf67cca448458ce0fc09259ff9aa29cb2d0cf398d54af5d7a995f2eea3b821ddad08aefe9d7f36c112f900e3489ad00e3e4f3a66aec669cf2aace56843231 SHA512 349e79d75271667b917958319e8640268f71e11ca04279b4735b49ad62a304bfe8bee976fa7adf7e712344d7e529411978ca51371521b3be7c4f0ab05e8bbe2f
+DIST SuperTTC-IosevkaSS02-28.0.1.zip 20189870 BLAKE2B f772eb9bf6180f97c12ba6187203ff3e00fbd284eaa7f1ae57b61117b5e33814e31542728540e2db053271fe426ea99c581a7215accc8b16010fe77bd4eb327d SHA512 151e3dadaa79569a4d36f8905eda0a9cb0c77e94160e8782f9273f19063586b91330a05dd94726c637e886568e83204902d0317d761b7e2c18b487b78d9ab801
+DIST SuperTTC-IosevkaSS03-28.0.1.zip 20527525 BLAKE2B 830412043c5ccb3f5572a704bf4e0bef3bbc1c3cb0459e08637738e655a4a15433e25d2c97fc312ef8ab5eb14f1f3b54e0dadfa85c56b4f79e42755d778a59eb SHA512 37416830b307e3b4b31d71ed81cc180f2d336f3290562d826ca6ec62fd8d9d9465412ba583ea1c8e979bc4e7df4dbf341425d7936a38ab9542533f5d2d45ebfc
+DIST SuperTTC-IosevkaSS04-28.0.1.zip 19581628 BLAKE2B f73701948f615c9687e2d887fe5127b9d21cabf34befb836eb39399fbf611a8df7668bced6dff90ffbf7f92d9ea1fbf0b569e6d4d2c3ea3c566e30edf915c8ad SHA512 9ad84e9c79f9cec9530d379acb607dd320f85aca8033c13c1c1a97677ee1d4fa45a09f76919003ea92e840e4e427e955a3fcc0bffe98bff724e6ceee41a45fa8
+DIST SuperTTC-IosevkaSS05-28.0.1.zip 20101377 BLAKE2B f38c16e664939ea4176af54595927fbac90dd5ea56bde8f776c712b36d377baa357e278d0ad0a5e0581d5383825f2497a12dfbf0eec853d5545268adf79158b1 SHA512 fbe55add8acd47bb0dcf956b3092033df9573eb4609b152bc9afff4e9479835a1c67276133565d12093c083625ef479e26b38b105ea51e7c94912040062555c3
+DIST SuperTTC-IosevkaSS06-28.0.1.zip 19806518 BLAKE2B ceac4abf6c3379bc602cb2ba9f11f15404bde7f27eb61248a430f3d10d26330b7cfc73d209d0855e45850ff9e18abf2a8ffe34c785cf4dc78006eb5372bb00e1 SHA512 6c196477a43ea9b6e764a0fb34cf7d156fb8bae3c0d8e1c198d828ae464e4b143d30a754b1472c1317ab83caf96601e5d154f431524265c8ab14b0927dcf2995
+DIST SuperTTC-IosevkaSS07-28.0.1.zip 19726571 BLAKE2B 7b2fb66aafc5fcfb6c400520e5fa7c5c6eba12a03a0b69bff0b46357988eeae3e80cee752fda4ab5958c9150834811e6c378fc9f70ff5dbb053596854178c17f SHA512 25ac3414b3670778b6a9f5badda9a7527ef9bb9a69de17a24c6c1030c0e33017799bc4c6a0343af5032acf207c906574b10e3aac3dbc1a0c6d9b45c77c978aba
+DIST SuperTTC-IosevkaSS08-28.0.1.zip 20607638 BLAKE2B 0d5aeaaf8a4b0c557f4190c1b565ef12ae0d7cc38d014fe7dabfae09d142a0e7f8ba880f2d5088c893c9172afc57dbf9a0160590fbee36986a7468f1e9b870f6 SHA512 130d7a4be708e29c6381bdfec61486105675e7bdef5d1d659ffc503d9bd7d2bc4c3d7ea8a08938381ac9ebac33e0ab3205190964226d2b45aa1ff1e89394f260
+DIST SuperTTC-IosevkaSS09-28.0.1.zip 20327352 BLAKE2B a2d691a3f7c083aaa8eaf4e2f1e534a3df22449e47aaafe74c9219b47ed181b6c63633dda5e63798c74c084f7824b305207edb55d0c60739c54a76ebacc447fc SHA512 a27f9a2e88d68a69db4657177b55c14d03010dd382986cf32d86b6775da0736cbb533c65ef51c461a40572aad2aaba5d5a86bf42d2e92e08230f123b71f17a52
+DIST SuperTTC-IosevkaSS10-28.0.1.zip 20987489 BLAKE2B 57fa5ef8e5e2a4134e257d98f27cbaffb15436001ae6b8092dec7cc301133a5614d190bdf32ed798d26dd835e41bf8d050c9782557187438fd17472899bd0f8c SHA512 de4dc68348242e73e05156d3cba728d2fd424eb89b015125f1053fb5e4b17180b96cb874d75a399af3bd3fdaf2d38ed6dd0cf5ae025d708c9c86faf83ba2043f
+DIST SuperTTC-IosevkaSS11-28.0.1.zip 21030334 BLAKE2B 82ebc8a0bea04a770cdf23a04c86af160f0837885d200f98c9b287343f51f26c0ca1cfd282b1fa835414450350370ae287ffb2327adf5d4de957a1a056ec3a78 SHA512 409766139444a2fdf7be9749eb2b2c22dcfd6156f48d955f6a25827a305799280beaae2c37d8cd9ec64cbce2176575d4100443dedb6357dd1ecd9fcb5f912570
+DIST SuperTTC-IosevkaSS12-28.0.1.zip 20532634 BLAKE2B b6df005ccaead9b1a288d7fbdce74f88c6255c2b9efd9cd669ad96f2e895338f510d15f3174f7ee818356fcbfe43ce4f9099e2a46f306946d9aee780c53fa359 SHA512 7301facba2410ce880d16b8213237c6a9ce193d10683f17766dc14fb3ab5642ec46f62d65556734c3342be6ea1e98b9141c7b72ae94847a503d0f38a083381bd
+DIST SuperTTC-IosevkaSS13-28.0.1.zip 19791766 BLAKE2B f548f6679ba772ec8234f913599f925a8c09de16b52759663f8a776dc96e0cba32fa3a46216f0bd9045c4d7ed74bdf370d3d0916865033734e9b3b3e2d7cfc8b SHA512 68384c1baac3f6852f6dc2f231a698ebc95ee9f7526e485e55e370288f06d68d59deb488fab7ad83f6b782b04fae24785102e9de0145ec5284f73fbec297ea54
+DIST SuperTTC-IosevkaSS14-28.0.1.zip 19778562 BLAKE2B 6b7049149bd258620bbc02a6d1ec9cf8f5fe592a66258174c519e8945ab709bbc91c440982f6cceeb5e1dbb4414e858aa02461e59814ab311fd6ca54441668e1 SHA512 986ac9b678cc1668c5726c464ac816af74a29ce8201da2e221389ab444a3d8e489936bdd074105ca08e9130033cbb8bea67445ab1e565b94fdd917adcee1cd13
+DIST SuperTTC-IosevkaSS15-28.0.1.zip 23750040 BLAKE2B 5e78d2c60ffbc6ee609098e377d2ef56d9600af4417717b1f87fd5e8ac4b95f1fc7cbdb42cb4d03afd6ab1388c805557a3fd3ef3b2ff3f6b02eca6eef59fcda4 SHA512 8250dba4475c3da8bf7fd9661b590e910372e97ee1b60d2a6f7ddac12be3f8bf4bee283108e040a929314f4740b231022847e2027871b48d8a7b059b03858621
+DIST SuperTTC-IosevkaSS16-28.0.1.zip 20169497 BLAKE2B 5493028dc5ed0dbe3bbc430077c5318002ed8ea323cd713ceebccf8ef36057a75c7c5dc63f8aac74200e5e4a9cb8d35d7bbc056605a9e8ec9b08812eb0a307fd SHA512 453e00558deaea37ef21b88a1a35efc429b3a738c7dc316b337b2dc95912293c6fc10c7a97ec606f4ae41b354ac1428012df604fe5da88a4062e49db0347d221
+DIST SuperTTC-IosevkaSS17-28.0.1.zip 23643817 BLAKE2B bd08122beebf5a53903529e0212312b4da06eba4a7890c0e90abc3d60a3cd5a1bbbfca9e388c80bb5d7bf5b3b690d87c7db98b728ceb41e726c406b0278082eb SHA512 01d17161c70649fe6461a381a48972bf0bd7a662c1dd35303016fce5d08ee6faebfa87311374ef822f2c357874db9ba5411b499125f599593939096ed9d60293
+DIST SuperTTC-IosevkaSS18-28.0.1.zip 20110983 BLAKE2B 902513e18578172e25cf24b36dfa198dccd5e26fb1230eb7712c37a00c5f13670492b2c907c93593862fc1b387ed9ce458ea434876f575b52dce54be7176b70b SHA512 f6e4a4074ecc0e382fe41cf1e3737a668b69017a5363b014ce0a8ff1b4d8e75862e2342133bd35b45df53f97d85ddeb2d13ed4478fdbb128feffa028be724d6e
+DIST SuperTTC-IosevkaSlab-28.0.1.zip 107105149 BLAKE2B 12e78fc137784dd018cfdd5d54d9698d3f9dd4980a4bbd8bb33d4f1773b59e8e1d54e77073620193def00e72e02d09fbb806afafbdbf45603da44de4deaac4da SHA512 d59f23b3174b31c9698cbebf3a7cabd3945aa0ae86ace361b144f0547995da40562cd98b5309e122faaaba42755b02d21ada20c2c81fd78a60615e1af3a3fbc0
DIST super-ttc-iosevka-25.0.1.zip 86178974 BLAKE2B 3bc701093bad7b0eeebf7e70c89f8ce5779dd32d2618e638f5861aa8c83316e0b7e2ec48c46af55f5baf6596a9c3757d8221773abb3be0aadf38c5f864b59236 SHA512 37c0a7e6273f9080a9b2506c6b7edbedba14a7e53971d24e56926046e05596dea17399b1699310a85273d2a852809e765cf015d28143ee6c9837b5a3492a3385
DIST super-ttc-iosevka-25.1.1.zip 85243419 BLAKE2B bcfbfd15a3d9d4187fe76c687713ff9c4045fab964bf5a7856acd1b7c58ec757e23054c81fb216f1390c8035007199db983588a45306f4940cff4e0172d2b219 SHA512 584179b70139c27f64f0bff4b426ad2db06878b8fe416e0e2501f49a4bb3ff76c94a2a2cc6c08d61f8e00aecca164e181e13040701071ed4352455a0d0eb4f27
DIST super-ttc-iosevka-26.0.1.zip 90523022 BLAKE2B 3c81faeb1e0c88f5c41ec06d62527eb8952a684637d99b0a78ba2a07393ea8c29ce741e5e87a99234fffe9aa04bc30b35bee8e2c1a2f2bf7596c15bc51a773e6 SHA512 b3a136eac3c3d4cf6638ae8f0ca0415f9e37b840da151e8696555d584aa1ca6993f3eaf778128faeea9d8823b612d27355dcd926980dfb4aa306f6f20b6255b9
diff --git a/media-fonts/iosevka/iosevka-28.0.1.ebuild b/media-fonts/iosevka/iosevka-28.0.1.ebuild
new file mode 100644
index 000000000000..1a87929a2d8c
--- /dev/null
+++ b/media-fonts/iosevka/iosevka-28.0.1.ebuild
@@ -0,0 +1,117 @@
+# 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
+ up_variant="${variant}"
+ up_variant="${up_variant/iosevka/Iosevka}"
+ up_variant="${up_variant/ss/SS}"
+ up_variant="${up_variant/iosevka/Iosevka}"
+ up_variant="${up_variant/aile/Aile}"
+ up_variant="${up_variant/etoile/Etoile}"
+ up_variant="${up_variant/curly/Curly}"
+ up_variant="${up_variant/slab/Slab}"
+ up_variant="${up_variant//-/}"
+ my_filename="SuperTTC-${up_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 up_variant
+
+LICENSE="OFL-1.1"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc64 ~riscv ~x86"
+
+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
+}