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: Mon, 21 Jan 2019 21:17:05
Message-Id: 1548105177.1eb2e2ba014adbf824256dd38222836978428575.leio@gentoo
1 commit: 1eb2e2ba014adbf824256dd38222836978428575
2 Author: Mart Raudsepp <leio <AT> gentoo <DOT> org>
3 AuthorDate: Mon Jan 21 20:38:56 2019 +0000
4 Commit: Mart Raudsepp <leio <AT> gentoo <DOT> org>
5 CommitDate: Mon Jan 21 21:12:57 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1eb2e2ba
7
8 media-fonts/cantarell: bump to 0.111
9
10 Package-Manager: Portage-2.3.52, Repoman-2.3.12
11 Signed-off-by: Mart Raudsepp <leio <AT> gentoo.org>
12
13 media-fonts/cantarell/Manifest | 1 +
14 media-fonts/cantarell/cantarell-0.111.ebuild | 53 ++++++++++++++++++++++++++++
15 2 files changed, 54 insertions(+)
16
17 diff --git a/media-fonts/cantarell/Manifest b/media-fonts/cantarell/Manifest
18 index 461ebaaad05..34ba8cfbce4 100644
19 --- a/media-fonts/cantarell/Manifest
20 +++ b/media-fonts/cantarell/Manifest
21 @@ -1 +1,2 @@
22 DIST cantarell-fonts-0.101.tar.xz 263480 BLAKE2B 79652cf87088a8fe505895cad1f2474e0cb52e4be8a977ae06442a0e8ca6ba6a7f93c811b14e56fd5e61a17c97175b2374d180e435cbac00af8c10b272461802 SHA512 52dbd8358de7e20146e627ab0b1298efb97ee335e45d8e63bab7c3a7d05314d0bb94ac448e34af4c6f7212623185a9e03a30eb24acee4915142e40af0086bbfb
23 +DIST cantarell-fonts-0.111.tar.xz 326216 BLAKE2B dad338329670674cf3815b2045f8f9a739a9e08913189cec67577982e58df8328e0dc185439bffb6bda0529846b844d0b37a3c9615210f23d47616969f7874b2 SHA512 638298a6381a3ede862d1b100fcfea943bebb5e1c0dc4f1597ab2f841e933b484436b139090a669c770c02483a24f2b92bbd12bce71d7a40eb4c325573e3df9e
24
25 diff --git a/media-fonts/cantarell/cantarell-0.111.ebuild b/media-fonts/cantarell/cantarell-0.111.ebuild
26 new file mode 100644
27 index 00000000000..4556653596d
28 --- /dev/null
29 +++ b/media-fonts/cantarell/cantarell-0.111.ebuild
30 @@ -0,0 +1,53 @@
31 +# Copyright 1999-2019 Gentoo Authors
32 +# Distributed under the terms of the GNU General Public License v2
33 +
34 +EAPI=6
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 ~sh ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
45 +IUSE=""
46 +
47 +RDEPEND="media-libs/fontconfig"
48 +# appstream-glib provided .loc and .its files required by gettext msgfmt for translation of .metainfo.xml
49 +DEPEND="
50 + dev-libs/appstream-glib
51 + >=sys-devel/gettext-0.19.8
52 + virtual/pkgconfig
53 +"
54 +
55 +# This ebuild does not install any binaries
56 +RESTRICT="binchecks strip"
57 +
58 +# Font eclass settings
59 +FONT_CONF=("${S}/fontconfig/31-cantarell.conf")
60 +FONT_S="${S}/prebuilt"
61 +FONT_SUFFIX="otf"
62 +
63 +src_prepare() {
64 + # Leave prebuilt font installation to font.eclass
65 + sed -e "/subdir('prebuilt')/d" -i meson.build || die
66 +
67 + default
68 +}
69 +
70 +src_configure() {
71 + local emesonargs=(
72 + -Dfontsdir=${FONTDIR}
73 + -Duseprebuilt=true
74 + -Dbuildappstream=true
75 + )
76 + meson_src_configure
77 +}
78 +
79 +src_install() {
80 + local DOCS=( NEWS README.md )
81 + meson_src_install
82 + font_src_install
83 +}