1 |
commit: 78cabdec9ce64d99fce26a8dd2fdd8acad842989 |
2 |
Author: Gilles Dartiguelongue <eva <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun May 27 16:30:47 2018 +0000 |
4 |
Commit: Gilles Dartiguelongue <eva <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun May 27 16:31:14 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=78cabdec |
7 |
|
8 |
media-fonts/cantarell: 0.0.25 → 0.101, complete redesign |
9 |
|
10 |
Redesigned from scratch to interpolate cleanly from thin to extra bold. |
11 |
|
12 |
Package-Manager: Portage-2.3.40, Repoman-2.3.9 |
13 |
|
14 |
media-fonts/cantarell/Manifest | 1 + |
15 |
media-fonts/cantarell/cantarell-0.101.ebuild | 50 ++++++++++++++++++++++++++++ |
16 |
2 files changed, 51 insertions(+) |
17 |
|
18 |
diff --git a/media-fonts/cantarell/Manifest b/media-fonts/cantarell/Manifest |
19 |
index b41e1cb9113..7720fc73e0d 100644 |
20 |
--- a/media-fonts/cantarell/Manifest |
21 |
+++ b/media-fonts/cantarell/Manifest |
22 |
@@ -1 +1,2 @@ |
23 |
DIST cantarell-fonts-0.0.25.tar.xz 351768 BLAKE2B cfdd7570c99db9e75658369df9eb243ddb6290dfe8017bcff12edf876134ba185083e70676369962a2a9f35365e92268625b47da286aca640927fb7a47073295 SHA512 c09c3ecb3d4c50f613234398fabd327ca92b8abbc27082e8e98f2944f3dd9f0c2ff4c022ff5e5503a86e724bb8e2fbf6cd081f8a29e91b4209f5bf0e32168c3e |
24 |
+DIST cantarell-fonts-0.101.tar.xz 263480 BLAKE2B 79652cf87088a8fe505895cad1f2474e0cb52e4be8a977ae06442a0e8ca6ba6a7f93c811b14e56fd5e61a17c97175b2374d180e435cbac00af8c10b272461802 SHA512 52dbd8358de7e20146e627ab0b1298efb97ee335e45d8e63bab7c3a7d05314d0bb94ac448e34af4c6f7212623185a9e03a30eb24acee4915142e40af0086bbfb |
25 |
|
26 |
diff --git a/media-fonts/cantarell/cantarell-0.101.ebuild b/media-fonts/cantarell/cantarell-0.101.ebuild |
27 |
new file mode 100644 |
28 |
index 00000000000..b63dba2c58d |
29 |
--- /dev/null |
30 |
+++ b/media-fonts/cantarell/cantarell-0.101.ebuild |
31 |
@@ -0,0 +1,50 @@ |
32 |
+# Copyright 1999-2018 Gentoo Foundation |
33 |
+# Distributed under the terms of the GNU General Public License v2 |
34 |
+ |
35 |
+EAPI=6 |
36 |
+GNOME_ORG_MODULE="${PN}-fonts" |
37 |
+ |
38 |
+inherit font gnome.org meson |
39 |
+ |
40 |
+DESCRIPTION="Default fontset for GNOME Shell" |
41 |
+HOMEPAGE="https://wiki.gnome.org/Projects/CantarellFonts" |
42 |
+ |
43 |
+LICENSE="OFL-1.1" |
44 |
+SLOT="0" |
45 |
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc ~x86 ~x86-fbsd" |
46 |
+IUSE="" |
47 |
+ |
48 |
+RDEPEND="media-libs/fontconfig" |
49 |
+DEPEND=" |
50 |
+ >=sys-devel/gettext-0.19.8 |
51 |
+ virtual/pkgconfig |
52 |
+" |
53 |
+ |
54 |
+# This ebuild does not install any binaries |
55 |
+RESTRICT="binchecks strip" |
56 |
+ |
57 |
+# Font eclass settings |
58 |
+FONT_CONF=("${S}/fontconfig/31-cantarell.conf") |
59 |
+FONT_S="${S}/prebuilt" |
60 |
+FONT_SUFFIX="otf" |
61 |
+ |
62 |
+src_prepare() { |
63 |
+ # Leave prebuilt font installation to font.eclass |
64 |
+ sed -e "/subdir('prebuilt')/d" -i meson.build || die |
65 |
+ |
66 |
+ default |
67 |
+} |
68 |
+ |
69 |
+src_configure() { |
70 |
+ local emesonargs=( |
71 |
+ -Dfontsdir=${FONTDIR} |
72 |
+ -Duseprebuilt=true |
73 |
+ ) |
74 |
+ meson_src_configure |
75 |
+} |
76 |
+ |
77 |
+src_install() { |
78 |
+ local DOCS=( NEWS README.md ) |
79 |
+ meson_src_install |
80 |
+ font_src_install |
81 |
+} |