diff options
author | V3n3RiX <venerix@koprulu.sector> | 2022-09-15 11:12:39 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2022-09-15 11:12:39 +0100 |
commit | d9339ace1b5d6cf11ad869751abc1a474f46931d (patch) | |
tree | 9b5fe462706c49ff13aeb284891e45f28e1c0d0a /media-fonts/source-code-pro | |
parent | d49d63ee52f4026f7871f4ce062c172ba5e62b74 (diff) |
gentoo auto-resync : 15:09:2022 - 11:12:38
Diffstat (limited to 'media-fonts/source-code-pro')
-rw-r--r-- | media-fonts/source-code-pro/Manifest | 4 | ||||
-rw-r--r-- | media-fonts/source-code-pro/files/63-source-code-pro.conf | 16 | ||||
-rw-r--r-- | media-fonts/source-code-pro/metadata.xml | 20 | ||||
-rw-r--r-- | media-fonts/source-code-pro/source-code-pro-2.038.ebuild | 39 |
4 files changed, 79 insertions, 0 deletions
diff --git a/media-fonts/source-code-pro/Manifest b/media-fonts/source-code-pro/Manifest new file mode 100644 index 000000000000..0038821762d5 --- /dev/null +++ b/media-fonts/source-code-pro/Manifest @@ -0,0 +1,4 @@ +AUX 63-source-code-pro.conf 348 BLAKE2B 805e1bd308d59786e58ebd69be463f8419cbb65717dd9d447121d7deb9fcabe5c8d7a3bc79a49c84300198a48bf0f74c3cec33ddc8deda8bbf77b7a856129648 SHA512 cdeadde57705dc089834f72ffc37cf125b358e507b00712086a14929ba734584cc303084112ad17f525acec957aaabee1aaf1afd601d13a543d42cf35bcb6491 +DIST source-code-pro-2.038.tar.gz 6818951 BLAKE2B b133aa317bf5057e8b346d81491bf08c0c257066ed05b2001a9e327308a63a3ef943da3b12b5933c217c31839750fbb3947b4f566f48aac6e88c7096cbbf82cd SHA512 96981af2a470027a372ab8a02265d34a6b2a810c4cca0b498b01e613019a04c9760d95e21fb740af2c7fff076098bb36f5c282bf9b8f1875eed72ed70e4b3ac9 +EBUILD source-code-pro-2.038.ebuild 1050 BLAKE2B fb2dcce846811a4c126d6ea5c51384e374ddab47e62187e30c76539240c54c383a47d52eace6bf5bf28b722e216cad0d28a3a43d96f79e649645d33a4746c8ca SHA512 f4806b3e6b0c6fc695eff148686502ac555486a7cf4b61d4c699e7e8db464c4f45564062dffa22534c15f15525c3f24566bb9d3def87d6dd9c57bfb36ddbdd33 +MISC metadata.xml 622 BLAKE2B 2def0e65349dc00ad71edeebfdcd0be8b153b6d070d751d7f14d92f418c836a6ee8db167b02a6f3cce81e9594946b1a8fca3ea6404d6f544974168a9ef8a85c2 SHA512 b9018005f30d9950c6125e8122fb988f75c70fe57f0c4508ef1624257ea13414db529b15ae9a41ce0411cf9310b782d5d0e91521d16ebf19c1df752d9b571c56 diff --git a/media-fonts/source-code-pro/files/63-source-code-pro.conf b/media-fonts/source-code-pro/files/63-source-code-pro.conf new file mode 100644 index 000000000000..1faea90d64de --- /dev/null +++ b/media-fonts/source-code-pro/files/63-source-code-pro.conf @@ -0,0 +1,16 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE fontconfig SYSTEM "../fonts.dtd"> +<fontconfig> + <alias> + <family>Source Code Pro</family> + <default> + <family>monospace</family> + </default> + </alias> + <alias> + <family>monospace</family> + <prefer> + <family>Source Code Pro</family> + </prefer> + </alias> +</fontconfig> diff --git a/media-fonts/source-code-pro/metadata.xml b/media-fonts/source-code-pro/metadata.xml new file mode 100644 index 000000000000..e32350c26007 --- /dev/null +++ b/media-fonts/source-code-pro/metadata.xml @@ -0,0 +1,20 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>fonts@gentoo.org</email> + <name>Fonts</name> + </maintainer> + <maintainer type="person" proxied="yes"> + <email>gentoo@tastytea.de</email> + <name>Ronny (tastytea) Gutbrod</name> + </maintainer> + <maintainer type="project" proxied="proxy"> + <email>proxy-maint@gentoo.org</email> + <name>Proxy Maintainers</name> + </maintainer> + <stabilize-allarches /> + <upstream> + <remote-id type="github">adobe-fonts/source-code-pro</remote-id> + </upstream> +</pkgmetadata> diff --git a/media-fonts/source-code-pro/source-code-pro-2.038.ebuild b/media-fonts/source-code-pro/source-code-pro-2.038.ebuild new file mode 100644 index 000000000000..5ef0b3813816 --- /dev/null +++ b/media-fonts/source-code-pro/source-code-pro-2.038.ebuild @@ -0,0 +1,39 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit font optfeature + +REALV="2.038R-ro/1.058R-it/1.018R-VAR" + +DESCRIPTION="Monospaced font family for user interface and coding environments" +HOMEPAGE="https://adobe-fonts.github.io/source-code-pro/" +SRC_URI="https://github.com/adobe-fonts/source-code-pro/archive/${REALV}.tar.gz -> source-code-pro-${PV}.tar.gz" +S="${WORKDIR}/${PN}-${REALV//\//-}" + +LICENSE="OFL-1.1" +SLOT="0" +KEYWORDS="~alpha amd64 arm arm64 ~ia64 ~loong ppc ppc64 ~riscv sparc x86 ~x64-macos" + +RESTRICT="binchecks strip" + +RDEPEND=" + media-libs/fontconfig + !media-fonts/source-pro +" + +FONT_CONF=( "${FILESDIR}"/63-${PN}.conf ) +FONT_SUFFIX="otf" + +src_prepare() { + default + mv OTF/*.otf . || die +} + +pkg_postinst() { + optfeature_header "Other variants of this font are:" + optfeature "Chinese, Japanese and Korean support" media-fonts/source-han-sans + optfeature "the sans-serif variant" media-fonts/source-sans + optfeature "the serif variant" media-fonts/source-serif +} |