diff options
author | Dan Goodliffe <dan@randomdan.homeip.net> | 2021-11-28 01:27:52 +0000 |
---|---|---|
committer | Dan Goodliffe <dan@randomdan.homeip.net> | 2021-11-28 01:27:52 +0000 |
commit | 60c1407defecf8b3439cf28b9f3a1d046ba7d7dc (patch) | |
tree | dc40e52392f929f9d2560af27ddb497a0ca85583 /media-fonts | |
parent | Swap clementine for strawberry (diff) | |
download | portage-60c1407defecf8b3439cf28b9f3a1d046ba7d7dc.tar.bz2 portage-60c1407defecf8b3439cf28b9f3a1d046ba7d7dc.tar.xz portage-60c1407defecf8b3439cf28b9f3a1d046ba7d7dc.zip |
Add roboto-mono
Diffstat (limited to 'media-fonts')
-rw-r--r-- | media-fonts/roboto-mono/Manifest | 3 | ||||
-rw-r--r-- | media-fonts/roboto-mono/files/90-robotomono-regular.conf | 10 | ||||
-rw-r--r-- | media-fonts/roboto-mono/roboto-mono-2.138.ebuild | 20 |
3 files changed, 33 insertions, 0 deletions
diff --git a/media-fonts/roboto-mono/Manifest b/media-fonts/roboto-mono/Manifest new file mode 100644 index 0000000..1ee45e2 --- /dev/null +++ b/media-fonts/roboto-mono/Manifest @@ -0,0 +1,3 @@ +AUX 90-robotomono-regular.conf 264 BLAKE2B 20dace07d18fad22ce0d5b1fe5e4b2c99b40c9758e96c83e77163f9d3462638ceb8dc547c85e823fc638ebd5bd63a576074b6d95db6b970224e6c9be662e0d3b SHA512 49cae8b97b38cb98af85d377d4fee5c5fabbdd1de191ddd1d450105c5bf8ce2c05ba67e98d0d731a88ff823aabc6aeb985159ac911b1dde84cd209c6b434715b +DIST roboto-mono-2.138.zip 1067583 BLAKE2B 50633a1c15512a71250721918f38b16c25e72af4adf2e770c2985b8822e6024bb987741e5c63bda86d65717fc5697f2b3a6769496e5906a3c099c487133476da SHA512 2ee6bafb0203810ddf5323520cc86ebf77f2ddeb82bec6056106361cd8d8da4015d00d7236e315662bbb7f9840d70cffbbf9d6ef2017c354348a337678fb2115 +EBUILD roboto-mono-2.138.ebuild 555 BLAKE2B 0b20ced82608274e0ab6ea8b697f66ea3c14492e7bdd0d915b4fa670b59ba765e321ce91e5991f3bb17ea30c62971878999ac8e452d9adbdba9b3b934ace930c SHA512 2eebb9af693e704d93a047acabff496e109b64020db3972fa6f68ae03c115c2f59f85c4b83b11ade7a40365e25647654402e469d907f9bf38a6e41449c418342 diff --git a/media-fonts/roboto-mono/files/90-robotomono-regular.conf b/media-fonts/roboto-mono/files/90-robotomono-regular.conf new file mode 100644 index 0000000..f546f73 --- /dev/null +++ b/media-fonts/roboto-mono/files/90-robotomono-regular.conf @@ -0,0 +1,10 @@ +<?xml version="1.0"?> +<!DOCTYPE fontconfig SYSTEM "fonts.dtd"> +<fontconfig> + + <match target="pattern"> + <test name="family" compare="eq"><string>RobotoMono</string></test> + <edit name="weight" mode="append"><const>regular</const></edit> + </match> + +</fontconfig> diff --git a/media-fonts/roboto-mono/roboto-mono-2.138.ebuild b/media-fonts/roboto-mono/roboto-mono-2.138.ebuild new file mode 100644 index 0000000..df095cd --- /dev/null +++ b/media-fonts/roboto-mono/roboto-mono-2.138.ebuild @@ -0,0 +1,20 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit font + +DESCRIPTION="Roboto Mono is a monospaced addition to the Roboto type family." +HOMEPAGE="https://github.com/googlefonts/RobotoMono" +SRC_URI="https://fonts.google.com/download?family=Roboto%20Mono -> ${P}.zip" +S="${WORKDIR}" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="amd64 ~arm arm64 ~ppc64 x86 ~amd64-linux ~x86-linux ~x64-macos" + +BDEPEND="app-arch/unzip" + +FONT_CONF=( "${FILESDIR}"/90-robotomono-regular.conf ) +FONT_SUFFIX="ttf" |