Gentoo Archives: gentoo-commits

From: Mart Raudsepp <leio@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: media-fonts/cantarell/
Date: Wed, 19 Aug 2020 06:25:21
Message-Id: 1597818301.f609b9a4902602d352cc514b6307496fb515386d.leio@gentoo
1 commit: f609b9a4902602d352cc514b6307496fb515386d
2 Author: Mart Raudsepp <leio <AT> gentoo <DOT> org>
3 AuthorDate: Wed Aug 19 06:21:49 2020 +0000
4 Commit: Mart Raudsepp <leio <AT> gentoo <DOT> org>
5 CommitDate: Wed Aug 19 06:25:01 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f609b9a4
7
8 media-fonts/cantarell: bump to 0.201
9
10 Package-Manager: Portage-2.3.103, Repoman-2.3.20
11 Signed-off-by: Mart Raudsepp <leio <AT> gentoo.org>
12
13 media-fonts/cantarell/Manifest | 1 +
14 media-fonts/cantarell/cantarell-0.201.ebuild | 49 ++++++++++++++++++++++++++++
15 2 files changed, 50 insertions(+)
16
17 diff --git a/media-fonts/cantarell/Manifest b/media-fonts/cantarell/Manifest
18 index e6bde73952d..a6f23e272b3 100644
19 --- a/media-fonts/cantarell/Manifest
20 +++ b/media-fonts/cantarell/Manifest
21 @@ -1 +1,2 @@
22 DIST cantarell-fonts-0.111.tar.xz 326216 BLAKE2B dad338329670674cf3815b2045f8f9a739a9e08913189cec67577982e58df8328e0dc185439bffb6bda0529846b844d0b37a3c9615210f23d47616969f7874b2 SHA512 638298a6381a3ede862d1b100fcfea943bebb5e1c0dc4f1597ab2f841e933b484436b139090a669c770c02483a24f2b92bbd12bce71d7a40eb4c325573e3df9e
23 +DIST cantarell-fonts-0.201.tar.xz 508372 BLAKE2B 5a0fcf66e9c19a54c0051b79305a6b2628a2fa5aa3f67677732ba92a4f7e1ceda0d6c05bc971b1139bb87b8c5fecf8e7a350fb521f56926c072e8a03e35d4399 SHA512 c512244a1ed343b1b9fef3a630c1c678c6ef7f06efcda883af0dbab5478823f31c9bd5fc38b92ad1747704528c6e2589584ab94743f433957644d5386dabdc98
24
25 diff --git a/media-fonts/cantarell/cantarell-0.201.ebuild b/media-fonts/cantarell/cantarell-0.201.ebuild
26 new file mode 100644
27 index 00000000000..95dbf3a00a1
28 --- /dev/null
29 +++ b/media-fonts/cantarell/cantarell-0.201.ebuild
30 @@ -0,0 +1,49 @@
31 +# Copyright 1999-2020 Gentoo Authors
32 +# Distributed under the terms of the GNU General Public License v2
33 +
34 +EAPI=7
35 +GNOME_ORG_MODULE="${PN}-fonts"
36 +
37 +inherit font gnome.org meson
38 +
39 +DESCRIPTION="Default fontset for GNOME Shell"
40 +HOMEPAGE="https://wiki.gnome.org/Projects/CantarellFonts"
41 +
42 +LICENSE="OFL-1.1"
43 +SLOT="0"
44 +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"
45 +IUSE=""
46 +
47 +BDEPEND="
48 + >=sys-devel/gettext-0.20
49 + virtual/pkgconfig
50 +"
51 +
52 +# This ebuild does not install any binaries
53 +RESTRICT="binchecks strip"
54 +
55 +# Font eclass settings
56 +FONT_S="${S}/prebuilt"
57 +FONT_SUFFIX="otf"
58 +
59 +src_prepare() {
60 + # Leave prebuilt font installation to font.eclass
61 + sed -e "/subdir('prebuilt')/d" -i meson.build || die
62 +
63 + default
64 +}
65 +
66 +src_configure() {
67 + local emesonargs=(
68 + -Dfontsdir=${FONTDIR}
69 + -Duseprebuilt=true
70 + -Dbuildappstream=true
71 + )
72 + meson_src_configure
73 +}
74 +
75 +src_install() {
76 + font_src_install
77 + local DOCS=( NEWS README.md )
78 + meson_src_install
79 +}