summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortastytea <gentoo@tastytea.de>2023-04-12 21:02:58 +0200
committerJoonas Niilola <juippis@gentoo.org>2023-05-02 16:19:25 +0300
commit59534f41d5dbd576889ecbb5dbac1aef1bc48bbf (patch)
tree589a0ce58abcd2f2d736c79c9538158f9f423b30 /media-fonts
parentapp-crypt/moolticute: add 1.01.0, drop 0.43.19-r2 (diff)
downloadgentoo-59534f41d5dbd576889ecbb5dbac1aef1bc48bbf.tar.gz
gentoo-59534f41d5dbd576889ecbb5dbac1aef1bc48bbf.tar.bz2
gentoo-59534f41d5dbd576889ecbb5dbac1aef1bc48bbf.zip
media-fonts/source-sans: add 3.052
Signed-off-by: Joonas Niilola <juippis@gentoo.org>
Diffstat (limited to 'media-fonts')
-rw-r--r--media-fonts/source-sans/Manifest1
-rw-r--r--media-fonts/source-sans/source-sans-3.052.ebuild37
2 files changed, 38 insertions, 0 deletions
diff --git a/media-fonts/source-sans/Manifest b/media-fonts/source-sans/Manifest
index 631498e51af0..c20df9c0f955 100644
--- a/media-fonts/source-sans/Manifest
+++ b/media-fonts/source-sans/Manifest
@@ -1 +1,2 @@
DIST source-sans-3.046.tar.gz 12105836 BLAKE2B 3e2fed594f74614afd49ef731497b9abd6c75a78850cc1c5abbae0c246f454a0d06b82d4b7eaeefe8fb6b0d8246adb3f2751b4de6e2637f05f6cc20ead66faba SHA512 4b53ca10053bf10b23f3a2488d562b79a8dfd39f1402d068098856bbd1bd5bd9ddbb8f269acea45f003289dc95378229ed14e21fdcd39d49e3d6864693c0fbb4
+DIST source-sans-3.052.tar.gz 14801007 BLAKE2B 7cb3965a4172c467f2fd536b1ea96d65bdb41c8546baa9f318adedca217601762cf506d050afd2e9f4e4fb840282734254cec484ac40178e62d9539308d56ddd SHA512 8e5a67cfebf6b7cea6505dc2d8e7600909719ec88b4553d1926b644ee2494304e60c75fd6e4bdb0450846985f442a1f7b4c1c147d428edf960b37a3d216c0b62
diff --git a/media-fonts/source-sans/source-sans-3.052.ebuild b/media-fonts/source-sans/source-sans-3.052.ebuild
new file mode 100644
index 000000000000..41f3f984ffcd
--- /dev/null
+++ b/media-fonts/source-sans/source-sans-3.052.ebuild
@@ -0,0 +1,37 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+MAJORV="${PV%%.*}"
+FONT_PN=${PN}-${MAJORV}
+
+inherit font optfeature
+
+DESCRIPTION="Sans serif font family for user interface environments"
+HOMEPAGE="https://adobe-fonts.github.io/source-sans/"
+SRC_URI="https://github.com/adobe-fonts/source-sans/archive/${PV}R.tar.gz -> ${P}.tar.gz"
+S="${WORKDIR}/${P}R"
+
+LICENSE="OFL-1.1"
+SLOT="${MAJORV}"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86 ~x64-macos"
+
+RESTRICT="binchecks strip"
+
+RDEPEND="media-libs/fontconfig"
+
+FONT_CONF=( "${FILESDIR}"/63-${FONT_PN}.conf )
+FONT_SUFFIX="otf"
+
+src_prepare() {
+ default
+ mv OTF/*.otf . || die
+}
+
+pkg_postinst() {
+ optfeature_header "Other variants of this font are:"
+ optfeature "the monospace variant" media-fonts/source-code-pro
+ optfeature "Chinese, Japanese and Korean support" media-fonts/source-han-sans
+ optfeature "the serif variant" media-fonts/source-serif
+}