diff options
author | Matt Turner <mattst88@gentoo.org> | 2022-03-27 12:08:06 -0700 |
---|---|---|
committer | Matt Turner <mattst88@gentoo.org> | 2022-03-27 12:08:06 -0700 |
commit | 936baf6567163491d5b27afb2405543f6e8d6b24 (patch) | |
tree | a9a4c2ffbc28cbe2f5257bccebdb0f0391de06a6 /media-fonts | |
parent | gnome-base/gnome-flashback: Version bump to 3.44.0 (diff) | |
download | gentoo-936baf6567163491d5b27afb2405543f6e8d6b24.tar.gz gentoo-936baf6567163491d5b27afb2405543f6e8d6b24.tar.bz2 gentoo-936baf6567163491d5b27afb2405543f6e8d6b24.zip |
media-fonts/cantarell: Version bump to 0.303.1
Signed-off-by: Matt Turner <mattst88@gentoo.org>
Diffstat (limited to 'media-fonts')
-rw-r--r-- | media-fonts/cantarell/Manifest | 1 | ||||
-rw-r--r-- | media-fonts/cantarell/cantarell-0.303.1.ebuild | 51 |
2 files changed, 52 insertions, 0 deletions
diff --git a/media-fonts/cantarell/Manifest b/media-fonts/cantarell/Manifest index 39acfb053f46..214caf331fe7 100644 --- a/media-fonts/cantarell/Manifest +++ b/media-fonts/cantarell/Manifest @@ -1 +1,2 @@ DIST cantarell-fonts-0.301.tar.xz 570328 BLAKE2B 2e1e235fe8986366fa2b75cfc0e5417a3e2ab4a3d237a4cc7639d56a2ae698bfe1e2e573a64d0557bcb9823428928d623cadf4f5d8c424a4516a0e44b0390659 SHA512 84bd37e9eeeb3001d336af49634184552d77df3ca780ef4cd9166925c87710575ab0208f50df2e4f0216f3b64dbe0ef5288a271866244e6cd1cd5518462f8b02 +DIST cantarell-fonts-0.303.1.tar.xz 338316 BLAKE2B 1208f57b70a82d93e2714483d36b2a0027f4e3a04eb494b9e74207d20e074377061d6af9bce4f9f48a56d87ff67fe9def1b24ec33a5f3b7decd883d3ab328505 SHA512 f61c2df6bb04167a9623bac141773211486059a5569106c0ed096d6d1a5d57e599cc5b75b06be954859aef13c649f7617ae067d9936932faec0b2ce896fd31b5 diff --git a/media-fonts/cantarell/cantarell-0.303.1.ebuild b/media-fonts/cantarell/cantarell-0.303.1.ebuild new file mode 100644 index 000000000000..a0a81a882d35 --- /dev/null +++ b/media-fonts/cantarell/cantarell-0.303.1.ebuild @@ -0,0 +1,51 @@ +# Copyright 1999-2022 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 + -Dbuildstatics=false + -Dbuildvf=true + ) + meson_src_configure +} + +src_install() { + font_src_install + local DOCS=( NEWS README.md ) + meson_src_install +} |