From: "Pacho Ramos" <pacho@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: media-fonts/noto-emoji/
Date: Tue, 19 Jan 2021 19:21:40 +0000 (UTC) [thread overview]
Message-ID: <1611084091.0105fadff6eca0c3d95d2da3ec69ddeebcf15f05.pacho@gentoo> (raw)
commit: 0105fadff6eca0c3d95d2da3ec69ddeebcf15f05
Author: Pacho Ramos <pacho <AT> gentoo <DOT> org>
AuthorDate: Tue Jan 19 19:21:31 2021 +0000
Commit: Pacho Ramos <pacho <AT> gentoo <DOT> org>
CommitDate: Tue Jan 19 19:21:31 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0105fadf
media-fonts/noto-emoji: Version bump
Package-Manager: Portage-3.0.13, Repoman-3.0.2
Signed-off-by: Pacho Ramos <pacho <AT> gentoo.org>
media-fonts/noto-emoji/Manifest | 1 +
media-fonts/noto-emoji/noto-emoji-20201214.ebuild | 109 ++++++++++++++++++++++
2 files changed, 110 insertions(+)
diff --git a/media-fonts/noto-emoji/Manifest b/media-fonts/noto-emoji/Manifest
index 633d32236e6..89121a3a3f4 100644
--- a/media-fonts/noto-emoji/Manifest
+++ b/media-fonts/noto-emoji/Manifest
@@ -1,2 +1,3 @@
DIST noto-emoji-20200317.tar.gz 60841240 BLAKE2B aab99a5cbab6943b9e282b33dc113601489c7d02a3670db8675e6c90be615ceaf0f2900bdbc68ffaca6130f4e724b2ec1001cfccce80a181208ace0638492b7e SHA512 958a589ef7d7a0b9e4fa3eb1caa20284fa7463419a740d0ca05f850618324883c13498f92839476042cfd1daffa7eff925b2f22ec318c0726391f69c04911bfb
DIST noto-emoji-20200916.tar.gz 60016327 BLAKE2B 980a4e960f200567e34c1314d9269029749e1d9cd29ab1c5da30418d8a016b894223adf8f263222512c513feab4de856a2f48b1695011ced0c49c30e7a487e47 SHA512 d497c4ecaf299ade23b1f6a3bc6e98d7dbbb619e51f067496d4a4dbf71693c96de26263af595c0aae86c63dcea8be190718f5477af645d4338989f25cc3ab848
+DIST noto-emoji-20201214.tar.gz 69885567 BLAKE2B 21d251a25740bf474e4c7e138c33d90f35cfea93ff2c72904e38a8bead0124408c67a731ed142fe96da07bbf8afb7d929293518a366157fd1393dacc560bf12b SHA512 b3ad1f31bbb48bd5de2fbddcac5c3f27891a805ae4ac8d0b69b07c1d7259c6a5317eca9ac7e3b068d24ed5d3acd3523cfb2036f2e9f08179b85fd81dd5c9b570
diff --git a/media-fonts/noto-emoji/noto-emoji-20201214.ebuild b/media-fonts/noto-emoji/noto-emoji-20201214.ebuild
new file mode 100644
index 00000000000..09c3fcc8cf4
--- /dev/null
+++ b/media-fonts/noto-emoji/noto-emoji-20201214.ebuild
@@ -0,0 +1,109 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+PYTHON_COMPAT=( python3_{6..8} )
+
+inherit font python-any-r1
+
+DESCRIPTION="Google Noto Emoji fonts"
+HOMEPAGE="https://www.google.com/get/noto/ https://github.com/googlefonts/noto-emoji"
+
+COMMIT="e7ac893b3315181f51710de3ba16704ec95e3f51"
+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 ~ppc64 ~x86"
+IUSE="buildfont"
+
+BDEPEND="
+ buildfont? (
+ ${PYTHON_DEPS}
+ app-arch/zopfli
+ $(python_gen_any_dep '
+ >=dev-python/fonttools-4.7.0[${PYTHON_USEDEP}]
+ >=dev-python/nototools-0.2.13[${PYTHON_USEDEP}]
+ ')
+ media-gfx/pngquant
+ x11-libs/cairo
+ || ( media-gfx/imagemagick[png] media-gfx/graphicsmagick[png] )
+ )
+"
+
+RESTRICT="binchecks strip"
+
+S="${WORKDIR}/${PN}-${COMMIT}"
+
+python_check_deps() {
+ has_version -b "dev-python/fonttools[${PYTHON_USEDEP}]" &&
+ has_version -b "dev-python/nototools[${PYTHON_USEDEP}]"
+}
+
+pkg_setup() {
+ font_pkg_setup
+}
+
+src_prepare() {
+ default
+
+ # Drop font for Windows 10
+ rm fonts/NotoColorEmoji_WindowsCompatible.ttf || die
+
+ if use buildfont; then
+ # From Fedora
+ eapply "${FILESDIR}/${PN}-build-all-flags.patch"
+
+ # https://github.com/googlei18n/noto-emoji/issues/240
+ eapply "${FILESDIR}/${PN}-20180823-build-path.patch"
+
+ # Be more verbose, bug #717654
+ eapply "${FILESDIR}"/${PN}-pngquant-verbose.patch
+ sed -i -e 's:@$(ZOPFLIPNG) -y "$<" "$@" 1> /dev/null 2>&1:@$(ZOPFLIPNG) -y "$<" "$@":g' Makefile || die
+
+ # Based on Fedora patch to allow graphicsmagick usage
+ if has_version -b media-gfx/graphicsmagick; then
+ eapply "${FILESDIR}/${PN}-20190328-use-gm.patch"
+ fi
+ fi
+}
+
+src_compile() {
+ if ! use buildfont; then
+ einfo "Installing pre-built fonts provided by upstream."
+ einfo "They could be not fully updated or miss some items."
+ einfo "To build fonts based on latest images enable 'buildfont'"
+ einfo "USE (that will require more time and resources too)."
+ else
+ python_setup
+ einfo "Building fonts..."
+
+ # From Debian:
+ # The build requires a VIRTUAL_ENV variable and sequence check isn't working
+ VIRTUAL_ENV=true \
+ BYPASS_SEQUENCE_CHECK=true \
+ default
+ fi
+}
+
+src_install() {
+ if ! use buildfont; then
+ FONT_S="${S}/fonts"
+ else
+ mv -i fonts/NotoEmoji-Regular.ttf "${S}" || die
+ # Built font and Regular font
+ FONT_S="${S}"
+
+ # Don't lose fancy emoji icons
+ insinto /usr/share/icons/"${PN}"/128x128/emotes/
+ doins png/128/*.png
+
+ insinto /usr/share/icons/"${PN}"/scalable/emotes/
+ doins svg/*.svg
+ fi
+
+ FONT_SUFFIX="ttf"
+ font_src_install
+
+ dodoc README.md
+}
next reply other threads:[~2021-01-19 19:21 UTC|newest]
Thread overview: 65+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-01-19 19:21 Pacho Ramos [this message]
-- strict thread matches above, loose matches on Subject: below --
2024-04-13 6:36 [gentoo-commits] repo/gentoo:master commit in: media-fonts/noto-emoji/ Arthur Zamarin
2024-04-13 6:36 Arthur Zamarin
2024-04-12 15:30 Sam James
2024-04-12 15:30 Sam James
2024-03-25 18:13 Pacho Ramos
2024-03-25 18:13 Pacho Ramos
2024-03-02 14:13 Arthur Zamarin
2024-02-22 0:59 Sam James
2024-02-22 0:59 Sam James
2024-01-03 18:39 Arthur Zamarin
2023-12-16 9:46 Pacho Ramos
2023-11-24 12:55 Pacho Ramos
2023-11-24 12:55 Pacho Ramos
2023-08-28 23:49 Andreas K. Hüttel
2023-03-19 16:56 Pacho Ramos
2023-03-16 22:02 Sam James
2023-03-16 22:02 Sam James
2023-03-16 22:02 Sam James
2023-02-24 15:11 Pacho Ramos
2022-12-04 14:50 Pacho Ramos
2022-12-01 22:28 Jakov Smolić
2022-12-01 22:24 Jakov Smolić
2022-12-01 22:22 Jakov Smolić
2022-10-09 8:37 Arthur Zamarin
2022-10-08 17:42 Arthur Zamarin
2022-09-18 11:09 Pacho Ramos
2022-09-18 11:09 Pacho Ramos
2022-09-18 11:09 Pacho Ramos
2022-09-18 11:09 Pacho Ramos
2022-05-10 1:07 WANG Xuerui
2021-12-14 20:47 Arthur Zamarin
2021-12-14 15:45 Jakov Smolić
2021-12-14 15:45 Jakov Smolić
2021-11-06 9:13 Pacho Ramos
2021-11-06 9:13 Pacho Ramos
2021-09-17 8:57 Marek Szuba
2021-08-26 3:00 Sam James
2021-08-22 3:42 Sam James
2021-08-18 12:46 Agostino Sarubbo
2021-07-16 8:17 Pacho Ramos
2021-03-07 19:40 Pacho Ramos
2021-02-15 10:47 Sam James
2021-02-14 19:52 Sam James
2020-12-09 18:27 Pacho Ramos
2020-12-09 18:27 Pacho Ramos
2020-10-06 5:08 Sam James
2020-07-23 1:28 Sam James
2020-06-04 17:14 Mart Raudsepp
2020-06-04 14:06 Michał Górny
2020-05-29 16:18 Michał Górny
2020-05-22 19:05 Georgy Yakovlev
2020-04-24 19:12 Mike Gilbert
2020-04-19 2:35 Craig Andrews
2020-04-04 9:34 Pacho Ramos
2020-04-01 23:29 Pacho Ramos
2020-03-20 15:11 Pacho Ramos
2020-03-14 14:49 Pacho Ramos
2020-03-11 19:47 Pacho Ramos
2019-08-05 18:54 Pacho Ramos
2019-06-02 9:50 Pacho Ramos
2019-02-18 21:24 Pacho Ramos
2018-11-18 10:53 Pacho Ramos
2018-11-10 13:24 Pacho Ramos
2018-10-14 19:44 Pacho Ramos
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1611084091.0105fadff6eca0c3d95d2da3ec69ddeebcf15f05.pacho@gentoo \
--to=pacho@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox