Gentoo Archives: gentoo-commits

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