forked from gentoo/gentoo
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
media-fonts/cantarell: bump to 0.201
Package-Manager: Portage-2.3.103, Repoman-2.3.20 Signed-off-by: Mart Raudsepp <[email protected]>
- Loading branch information
Showing
2 changed files
with
50 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 | ||
} |