summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMart Raudsepp <leio@gentoo.org>2020-08-19 09:21:49 +0300
committerMart Raudsepp <leio@gentoo.org>2020-08-19 09:25:01 +0300
commitf609b9a4902602d352cc514b6307496fb515386d (patch)
tree8e175dff840bd9e1308b64071e62824dcafbf084 /media-fonts
parentdev-perl/Exporter-Cluster: -r bump for EAPI7 (diff)
downloadgentoo-f609b9a4902602d352cc514b6307496fb515386d.tar.gz
gentoo-f609b9a4902602d352cc514b6307496fb515386d.tar.bz2
gentoo-f609b9a4902602d352cc514b6307496fb515386d.zip
media-fonts/cantarell: bump to 0.201
Package-Manager: Portage-2.3.103, Repoman-2.3.20 Signed-off-by: Mart Raudsepp <leio@gentoo.org>
Diffstat (limited to 'media-fonts')
-rw-r--r--media-fonts/cantarell/Manifest1
-rw-r--r--media-fonts/cantarell/cantarell-0.201.ebuild49
2 files changed, 50 insertions, 0 deletions
diff --git a/media-fonts/cantarell/Manifest b/media-fonts/cantarell/Manifest
index e6bde73952de..a6f23e272b37 100644
--- a/media-fonts/cantarell/Manifest
+++ b/media-fonts/cantarell/Manifest
@@ -1 +1,2 @@
DIST cantarell-fonts-0.111.tar.xz 326216 BLAKE2B dad338329670674cf3815b2045f8f9a739a9e08913189cec67577982e58df8328e0dc185439bffb6bda0529846b844d0b37a3c9615210f23d47616969f7874b2 SHA512 638298a6381a3ede862d1b100fcfea943bebb5e1c0dc4f1597ab2f841e933b484436b139090a669c770c02483a24f2b92bbd12bce71d7a40eb4c325573e3df9e
+DIST cantarell-fonts-0.201.tar.xz 508372 BLAKE2B 5a0fcf66e9c19a54c0051b79305a6b2628a2fa5aa3f67677732ba92a4f7e1ceda0d6c05bc971b1139bb87b8c5fecf8e7a350fb521f56926c072e8a03e35d4399 SHA512 c512244a1ed343b1b9fef3a630c1c678c6ef7f06efcda883af0dbab5478823f31c9bd5fc38b92ad1747704528c6e2589584ab94743f433957644d5386dabdc98
diff --git a/media-fonts/cantarell/cantarell-0.201.ebuild b/media-fonts/cantarell/cantarell-0.201.ebuild
new file mode 100644
index 000000000000..95dbf3a00a1e
--- /dev/null
+++ b/media-fonts/cantarell/cantarell-0.201.ebuild
@@ -0,0 +1,49 @@
+# Copyright 1999-2020 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 ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-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
+}