diff options
author | Pacho Ramos <pacho@gentoo.org> | 2019-06-02 11:29:33 +0200 |
---|---|---|
committer | Pacho Ramos <pacho@gentoo.org> | 2019-06-02 11:29:33 +0200 |
commit | 29997563bf957f877327a55cd23966a5da6c3071 (patch) | |
tree | 41c65727309e595c070cbedd7533795d40ecf04e /media-fonts/noto-emoji | |
parent | media-fonts/noto-cjk: Version bump (diff) | |
download | gentoo-29997563bf957f877327a55cd23966a5da6c3071.tar.gz gentoo-29997563bf957f877327a55cd23966a5da6c3071.tar.bz2 gentoo-29997563bf957f877327a55cd23966a5da6c3071.zip |
media-fonts/noto-emoji: Version bump
Bug: https://bugs.gentoo.org/687094
Package-Manager: Portage-2.3.67, Repoman-2.3.13
Signed-off-by: Pacho Ramos <pacho@gentoo.org>
Diffstat (limited to 'media-fonts/noto-emoji')
-rw-r--r-- | media-fonts/noto-emoji/Manifest | 1 | ||||
-rw-r--r-- | media-fonts/noto-emoji/noto-emoji-20190328.ebuild | 63 |
2 files changed, 64 insertions, 0 deletions
diff --git a/media-fonts/noto-emoji/Manifest b/media-fonts/noto-emoji/Manifest index 54a443d8c901..c3cd4fffbe2d 100644 --- a/media-fonts/noto-emoji/Manifest +++ b/media-fonts/noto-emoji/Manifest @@ -1 +1,2 @@ DIST noto-emoji-20180823.tar.gz 51710829 BLAKE2B 66983bdd3cb5e95727f0ddebca5d85c3f22bb9e7b9216eb1af41c4cba19f2020592be3feb7ac47f723985574b8d57070d9d07d0ce5e5870512aecc2a55b52995 SHA512 73233f3742faae4e37f8588bda097fe9f745f5cc7e6601301c1dc9e30d656c496e074c80bf4391708f6c0dbe32043e8558e4395cce5dbf735772b0e41642b9bf +DIST noto-emoji-20190328.tar.gz 51710517 BLAKE2B ecedc52d3bdc49281942e7cb6b217928ee57412a420da251855c702e444c5d720464093c173f2878c09b4ef7123aedcfc3aa6aa517a625749d414e4c3b08bd19 SHA512 9e775a18a43edadb24fee498a8dff588949475ba27c2daddc1dfb6eacc18d1bf8810ec88e018398f18efe9ff0c414766f569eec7a714e119f3aabdfbe3ceec98 diff --git a/media-fonts/noto-emoji/noto-emoji-20190328.ebuild b/media-fonts/noto-emoji/noto-emoji-20190328.ebuild new file mode 100644 index 000000000000..0c67590eebb2 --- /dev/null +++ b/media-fonts/noto-emoji/noto-emoji-20190328.ebuild @@ -0,0 +1,63 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +PYTHON_COMPAT=( python2_7 ) + +inherit font python-any-r1 + +DESCRIPTION="Google Noto Emoji fonts" +HOMEPAGE="https://www.google.com/get/noto/ https://github.com/googlei18n/noto-emoji" + +COMMIT="e7490e1841094da518f4672398bdd74ee3c5fcac" +SRC_URI="https://github.com/googlei18n/noto-emoji/archive/${COMMIT}.tar.gz -> ${P}.tar.gz" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64" +IUSE="" + +DEPEND="${PYTHON_DEPS} + app-arch/zopfli + dev-python/fonttools + dev-python/nototools + media-gfx/pngquant + x11-libs/cairo + || ( media-gfx/imagemagick[png] media-gfx/graphicsmagick[png] ) +" +RDEPEND="" + +RESTRICT="binchecks strip" + +S="${WORKDIR}/${PN}-${COMMIT}" + +FONT_S="${S}" +FONT_SUFFIX="ttf" + +PATCHES=( + # From Fedora + "${FILESDIR}/${PN}-build-all-flags.patch" + + # https://github.com/googlei18n/noto-emoji/issues/240 + "${FILESDIR}/${PN}-20180823-build-path.patch" +) + +src_prepare() { + default + + # Based on Fedora patch to allow graphicsmagick usage + if has_version media-gfx/graphicsmagick; then + eapply "${FILESDIR}/${PN}-20190328-use-gm.patch" + fi +} + +src_install() { + font_src_install + + # 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 +} |