summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatt Turner <mattst88@gentoo.org>2021-01-09 21:14:29 -0500
committerMatt Turner <mattst88@gentoo.org>2021-01-09 21:17:42 -0500
commita84dafb8e2ff80a3a04dac46fe720aa181af98cb (patch)
treeff6c70155db8a679a295716a9826276646a6b17c /media-fonts
parentdev-util/dogtail: Add Python 3.9 compat (diff)
downloadgentoo-a84dafb8e2ff80a3a04dac46fe720aa181af98cb.tar.gz
gentoo-a84dafb8e2ff80a3a04dac46fe720aa181af98cb.tar.bz2
gentoo-a84dafb8e2ff80a3a04dac46fe720aa181af98cb.zip
media-fonts/cantarell: Version bump to 0.301
Signed-off-by: Matt Turner <mattst88@gentoo.org>
Diffstat (limited to 'media-fonts')
-rw-r--r--media-fonts/cantarell/Manifest1
-rw-r--r--media-fonts/cantarell/cantarell-0.301.ebuild49
2 files changed, 50 insertions, 0 deletions
diff --git a/media-fonts/cantarell/Manifest b/media-fonts/cantarell/Manifest
index a6f23e272b3..cba03ef1d20 100644
--- a/media-fonts/cantarell/Manifest
+++ b/media-fonts/cantarell/Manifest
@@ -1,2 +1,3 @@
DIST cantarell-fonts-0.111.tar.xz 326216 BLAKE2B dad338329670674cf3815b2045f8f9a739a9e08913189cec67577982e58df8328e0dc185439bffb6bda0529846b844d0b37a3c9615210f23d47616969f7874b2 SHA512 638298a6381a3ede862d1b100fcfea943bebb5e1c0dc4f1597ab2f841e933b484436b139090a669c770c02483a24f2b92bbd12bce71d7a40eb4c325573e3df9e
DIST cantarell-fonts-0.201.tar.xz 508372 BLAKE2B 5a0fcf66e9c19a54c0051b79305a6b2628a2fa5aa3f67677732ba92a4f7e1ceda0d6c05bc971b1139bb87b8c5fecf8e7a350fb521f56926c072e8a03e35d4399 SHA512 c512244a1ed343b1b9fef3a630c1c678c6ef7f06efcda883af0dbab5478823f31c9bd5fc38b92ad1747704528c6e2589584ab94743f433957644d5386dabdc98
+DIST cantarell-fonts-0.301.tar.xz 570328 BLAKE2B 2e1e235fe8986366fa2b75cfc0e5417a3e2ab4a3d237a4cc7639d56a2ae698bfe1e2e573a64d0557bcb9823428928d623cadf4f5d8c424a4516a0e44b0390659 SHA512 84bd37e9eeeb3001d336af49634184552d77df3ca780ef4cd9166925c87710575ab0208f50df2e4f0216f3b64dbe0ef5288a271866244e6cd1cd5518462f8b02
diff --git a/media-fonts/cantarell/cantarell-0.301.ebuild b/media-fonts/cantarell/cantarell-0.301.ebuild
new file mode 100644
index 00000000000..bb9863617ad
--- /dev/null
+++ b/media-fonts/cantarell/cantarell-0.301.ebuild
@@ -0,0 +1,49 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+GNOME_ORG_MODULE="${PN}-fonts"
+
+inherit font gnome.org meson
+
+DESCRIPTION="Default fontset for GNOME Shell"
+HOMEPAGE="https://wiki.gnome.org/Projects/CantarellFonts"
+
+LICENSE="OFL-1.1"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
+IUSE=""
+
+BDEPEND="
+ >=sys-devel/gettext-0.20
+ virtual/pkgconfig
+"
+
+# This ebuild does not install any binaries
+RESTRICT="binchecks strip"
+
+# Font eclass settings
+FONT_S="${S}/prebuilt"
+FONT_SUFFIX="otf"
+
+src_prepare() {
+ # Leave prebuilt font installation to font.eclass
+ sed -e "/subdir('prebuilt')/d" -i meson.build || die
+
+ default
+}
+
+src_configure() {
+ local emesonargs=(
+ -Dfontsdir=${FONTDIR}
+ -Duseprebuilt=true
+ -Dbuildappstream=true
+ )
+ meson_src_configure
+}
+
+src_install() {
+ font_src_install
+ local DOCS=( NEWS README.md )
+ meson_src_install
+}