From 0b5adbed94570827c00536553e7731f4dbe65013 Mon Sep 17 00:00:00 2001 From: "Alex Xu (Hello71)" Date: Wed, 24 Jan 2024 20:52:46 -0500 Subject: media-fonts/noto*: update, optimize --- media-fonts/noto-emoji/noto-emoji-99999999.ebuild | 47 ----------------------- 1 file changed, 47 deletions(-) delete mode 100644 media-fonts/noto-emoji/noto-emoji-99999999.ebuild (limited to 'media-fonts/noto-emoji/noto-emoji-99999999.ebuild') diff --git a/media-fonts/noto-emoji/noto-emoji-99999999.ebuild b/media-fonts/noto-emoji/noto-emoji-99999999.ebuild deleted file mode 100644 index ecdbbf0..0000000 --- a/media-fonts/noto-emoji/noto-emoji-99999999.ebuild +++ /dev/null @@ -1,47 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -DESCRIPTION="Google Noto Emoji fonts" -HOMEPAGE="https://fonts.google.com/noto/specimen/Noto+Emoji" - -LICENSE="OFL-1.1" -SLOT="0" -KEYWORDS="~*" -IUSE="" - -PROPERTIES="live" - -BDEPEND=" - app-arch/unzip - || ( - net-misc/curl - net-misc/wget - ) -" - -S="${WORKDIR}" - -get() { - if hash curl 2>/dev/null; then - curl -Lf --retry 3 --connect-timeout 60 --speed-limit 300 --speed-time 10 "$@" - elif hash wget 2>/dev/null; then - wget -O- "$@" - else - die - fi -} - -src_unpack() { - get https://fonts.google.com/download?family=Noto%20Emoji > Noto_Emoji.zip || die - get https://fonts.google.com/download?family=Noto%20Color%20Emoji > Noto_Color_Emoji.zip || die - unzip Noto_Emoji.zip NotoEmoji-VariableFont_wght.ttf || die - unzip Noto_Color_Emoji.zip NotoColorEmoji-Regular.ttf || die -} - -src_install() { - insinto /usr/share/fonts/${PN} - doins NotoEmoji-VariableFont_wght.ttf - doins NotoColorEmoji-Regular.ttf -} -- cgit v1.2.3-70-g09d2