diff options
Diffstat (limited to 'media-fonts/noto-emoji')
-rw-r--r-- | media-fonts/noto-emoji/Manifest | 3 | ||||
-rw-r--r-- | media-fonts/noto-emoji/metadata.xml | 1 | ||||
-rw-r--r-- | media-fonts/noto-emoji/noto-emoji-20220912-r1.ebuild | 51 |
3 files changed, 54 insertions, 1 deletions
diff --git a/media-fonts/noto-emoji/Manifest b/media-fonts/noto-emoji/Manifest index fe648b9af5c8..0c30cf5791dd 100644 --- a/media-fonts/noto-emoji/Manifest +++ b/media-fonts/noto-emoji/Manifest @@ -3,5 +3,6 @@ AUX noto-emoji-20190328-use-gm.patch 1169 BLAKE2B 6659f1f80ec3f44942a7b96b23f5ae AUX noto-emoji-build-all-flags.patch 336 BLAKE2B b6c10010f9fe3b1e62ce436bbd0fae6ac85bd8feb2776d2d731a9b155818b828b7ecc1ec58861976b890eb1faf4db59bead3e86e7c39e44113b11152347cba29 SHA512 0d67afa05081da93cf05827dde54cbb6ce593e79874e823680d1c521c0953c49d4dcf12135da43b74bc72b4a79e8b7b0123ae2b2cd631f040c6797e04d3f008a AUX noto-emoji-pngquant-verbose.patch 407 BLAKE2B b737b10535b8a04ca2d17d6803fc7c6a36e733acf88a6089b56004f9d2a265851278cbb85b6a5d2c2ab18e46f12fcf84d7185e768cae2e3eafefeb3bc06869e5 SHA512 5bcb05c6b7a1e0970e1ff67707a1a5d49b22ada4ef4677d3bb9f9874e045d79f1d35419abc80b39bec81512f547360eb705dffeb421c48296a9646c618f75f61 DIST noto-emoji-20220912.tar.gz 178768907 BLAKE2B b998a74903e0a559e6c2d87f6d05649054728d5359659882c89b99fc41ec80f9dbafba6f418500059acef7bb85b9d60b189abea286c9c4cb5491f501095ca425 SHA512 4e9b01be1ac7853d840379f84350f2709212401ccebb221308eb83982a8673af9a8ef166952aba4d6f8d9939efc4989f38a7db69e022eb055f265ccba78884a6 +EBUILD noto-emoji-20220912-r1.ebuild 1083 BLAKE2B eb52dff9e53f15a1b1c83400b4b4a6536b667d9dab7a6bf101fd6e3a7ace80c530903490e190d4e5637849082e70b7b55be8c6a04cccd2a49e9a7c3cb62983c8 SHA512 1feb2ed35e79ab3aae2b8d36facc688114ae7175ee15ccc8df1e1b88afb17243af019cfd67aaa6c4d6d1b2b6dbcdd7600af2d09731ff19e5fd66b2f8210f820e EBUILD noto-emoji-20220912.ebuild 2864 BLAKE2B b85b2c4503e49bcfb66141efa6171ba4aba9cfaf1bb973215af16578374695e34471051938f96ee6607831511de78823075a0f7a7757243bf5706c95d061b71c SHA512 347aceb8a8c7618fd3068dd68017dc6d56ba62b7f14c913395fd44371cdf3856eb9f9ce720390a971022ff57188a0e93c85b13d0c63f19043b2f8981a72b9ae5 -MISC metadata.xml 421 BLAKE2B b78c0443456d46d6cd93c57a585f47532b3464fdcc2d93f6e863045285818fe0ce1f4af88b7d68de2a15f7a858853c7fca7bd9488d3f21dbb32783f54ce6c109 SHA512 03faa98eb4e0d51a2e367171814f7d2a49e2a3a07900dec191ee6addbe8535b8f25c0da88d35f60083ace8b05125e25bada706510759c321ee5f48a8801eb546 +MISC metadata.xml 479 BLAKE2B 8a281cfbeb2b5d2dbe2c573ff8063df9e5d508585c6b6b0131ba9ed00fa491b83bd98c9f1ba6de0c845750e7b8c34aa6217f7bde8e8eafaa2899a832dd2a215d SHA512 9821208a23c3303935421609cafe7961b38a0a37b507aae01fb4a2e96b09854614d2e77b89a78f1a467ebbfdfc63d1f9a5524dcefa206ca47f8d38b4fe75a10e diff --git a/media-fonts/noto-emoji/metadata.xml b/media-fonts/noto-emoji/metadata.xml index 1f615adf787d..a1229f4979e4 100644 --- a/media-fonts/noto-emoji/metadata.xml +++ b/media-fonts/noto-emoji/metadata.xml @@ -7,6 +7,7 @@ </maintainer> <use> <flag name="buildfont">Build Noto Emoji font with supplied images</flag> + <flag name="icons">Install Noto Emoji icon theme</flag> </use> <upstream> <remote-id type="github">googlefonts/noto-emoji</remote-id> diff --git a/media-fonts/noto-emoji/noto-emoji-20220912-r1.ebuild b/media-fonts/noto-emoji/noto-emoji-20220912-r1.ebuild new file mode 100644 index 000000000000..6499e36b1e77 --- /dev/null +++ b/media-fonts/noto-emoji/noto-emoji-20220912-r1.ebuild @@ -0,0 +1,51 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 +inherit font + +DESCRIPTION="Google Noto Emoji fonts" +HOMEPAGE="https://www.google.com/get/noto/ https://github.com/googlefonts/noto-emoji" + +COMMIT="e8073ab740292f8d5f19b5de144087ac58044d06" +SRC_URI="https://github.com/googlefonts/noto-emoji/archive/${COMMIT}.tar.gz -> ${P}.tar.gz" + +LICENSE="Apache-2.0 OFL-1.1" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc64 ~riscv ~x86" +IUSE="icons" + +RESTRICT="binchecks strip" + +S="${WORKDIR}/${PN}-${COMMIT}" + +src_prepare() { + default + + # Drop font for Windows 10 + rm fonts/NotoColorEmoji_WindowsCompatible.ttf || die +} + +src_compile() { :; } + +src_install() { + FONT_S="${S}/fonts" + # Drop non used fonts + rm -f fonts/*COLR*.ttf || die + + # Don't lose fancy emoji icons + if use icons; then + for i in 32 72 128 512; do + insinto "/usr/share/icons/${PN}/${i}/emotes/" + doins png/"${i}"/*.png + done + + insinto /usr/share/icons/"${PN}"/scalable/emotes/ + doins svg/*.svg + fi + + FONT_SUFFIX="ttf" + font_src_install + + dodoc README.md +} |