diff options
author | Matt Turner <mattst88@gentoo.org> | 2021-01-09 21:14:29 -0500 |
---|---|---|
committer | Matt Turner <mattst88@gentoo.org> | 2021-01-09 21:17:42 -0500 |
commit | a84dafb8e2ff80a3a04dac46fe720aa181af98cb (patch) | |
tree | ff6c70155db8a679a295716a9826276646a6b17c /media-fonts/cantarell/cantarell-0.301.ebuild | |
parent | dev-util/dogtail: Add Python 3.9 compat (diff) | |
download | gentoo-a84dafb8e2ff80a3a04dac46fe720aa181af98cb.tar.gz gentoo-a84dafb8e2ff80a3a04dac46fe720aa181af98cb.tar.bz2 gentoo-a84dafb8e2ff80a3a04dac46fe720aa181af98cb.zip |
media-fonts/cantarell: Version bump to 0.301
Signed-off-by: Matt Turner <mattst88@gentoo.org>
Diffstat (limited to 'media-fonts/cantarell/cantarell-0.301.ebuild')
-rw-r--r-- | media-fonts/cantarell/cantarell-0.301.ebuild | 49 |
1 files changed, 49 insertions, 0 deletions
diff --git a/media-fonts/cantarell/cantarell-0.301.ebuild b/media-fonts/cantarell/cantarell-0.301.ebuild new file mode 100644 index 000000000000..bb9863617adf --- /dev/null +++ b/media-fonts/cantarell/cantarell-0.301.ebuild @@ -0,0 +1,49 @@ +# Copyright 1999-2021 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 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-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 +} |