diff options
author | Aisha Tammy <gentoo@aisha.cc> | 2021-02-19 00:44:19 +0000 |
---|---|---|
committer | Joonas Niilola <juippis@gentoo.org> | 2021-06-17 09:49:15 +0300 |
commit | 273e0becd9b63d6d297db1bb3dc6decfca158e22 (patch) | |
tree | 106f5da7f1549232b574416872a494c7812c99a9 /media-fonts/joypixels | |
parent | net-fs/s3backer: sort DEPEND block (diff) | |
download | gentoo-273e0becd9b63d6d297db1bb3dc6decfca158e22.tar.gz gentoo-273e0becd9b63d6d297db1bb3dc6decfca158e22.tar.bz2 gentoo-273e0becd9b63d6d297db1bb3dc6decfca158e22.zip |
media-fonts/joypixels: new emoji font
Package-Manager: Portage-3.0.14, Repoman-3.0.2
Signed-off-by: Aisha Tammy <gentoo@aisha.cc>
Closes: https://github.com/gentoo/gentoo/pull/19532
Signed-off-by: Joonas Niilola <juippis@gentoo.org>
Diffstat (limited to 'media-fonts/joypixels')
-rw-r--r-- | media-fonts/joypixels/Manifest | 1 | ||||
-rw-r--r-- | media-fonts/joypixels/files/99-joypixels.conf | 24 | ||||
-rw-r--r-- | media-fonts/joypixels/joypixels-6.5.0.ebuild | 26 | ||||
-rw-r--r-- | media-fonts/joypixels/metadata.xml | 12 |
4 files changed, 63 insertions, 0 deletions
diff --git a/media-fonts/joypixels/Manifest b/media-fonts/joypixels/Manifest new file mode 100644 index 000000000000..754f5c20f7e6 --- /dev/null +++ b/media-fonts/joypixels/Manifest @@ -0,0 +1 @@ +DIST joypixels-6.5.0.ttf 25348564 BLAKE2B 4e38a3bb04f71292ba9003b52d050c04afe96eac5b99073560a6e39c781ad895102812093f4aa3b64670ff2907060e8ca1cfebbf00a22abc68315a1691713cc5 SHA512 abe44c631e5b1e7f7a2c59ae979beb381bbf10c04a157f67ca022cff5ee4c5162e3108b34fe55d4165f4b5e062755387f421363fa8ca8d600d5a005a534b0f4f diff --git a/media-fonts/joypixels/files/99-joypixels.conf b/media-fonts/joypixels/files/99-joypixels.conf new file mode 100644 index 000000000000..5495252052bf --- /dev/null +++ b/media-fonts/joypixels/files/99-joypixels.conf @@ -0,0 +1,24 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE fontconfig SYSTEM "fonts.dtd"> +<fontconfig> + <its:rules xmlns:its="http://www.w3.org/2005/11/its" version="1.0"> + <its:translateRule translate="no" selector="/fontconfig/*[not(self::description)]"/> + </its:rules> + <description>Recognize legacy ways of writing JoyPixels family name</description> + <match target="pattern"> + <test qual="any" name="family"><string>EmojiOne</string></test> + <edit name="family" mode="assign" binding="same"><string>JoyPixels</string></edit> + </match> + <match target="pattern"> + <test qual="any" name="family"><string>Emoji One</string></test> + <edit name="family" mode="assign" binding="same"><string>JoyPixels</string></edit> + </match> + <match target="pattern"> + <test qual="any" name="family"><string>EmojiOne Color</string></test> + <edit name="family" mode="assign" binding="same"><string>JoyPixels</string></edit> + </match> + <match target="pattern"> + <test qual="any" name="family"><string>EmojiOne Mozilla</string></test> + <edit name="family" mode="assign" binding="same"><string>JoyPixels</string></edit> + </match> +</fontconfig> diff --git a/media-fonts/joypixels/joypixels-6.5.0.ebuild b/media-fonts/joypixels/joypixels-6.5.0.ebuild new file mode 100644 index 000000000000..288f777e5f29 --- /dev/null +++ b/media-fonts/joypixels/joypixels-6.5.0.ebuild @@ -0,0 +1,26 @@ +# Copyright 2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +FONT_SUFFIX="ttf" +inherit font + +DESCRIPTION="joypixels font for better emoji and unicode support" +HOMEPAGE="https://www.joypixels.com/" +SRC_URI="https://cdn.joypixels.com/distributions/gentoo-linux/font/${PV}/joypixels-android.ttf -> ${P}.ttf" +S="${WORKDIR}" + +#https://cdn.joypixels.com/distributions/gentoo-linux/appendix/joypixels-license-appendix.txt +#https://cdn.joypixels.com/distributions/gentoo-linux/license/free-license.txt +LICENSE="JoyPixels" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~x86" +RESTRICT="bindist mirror" + +FONT_CONF=( "${FILESDIR}"/99-joypixels.conf ) + +src_prepare() { + default + cp "${DISTDIR}"/${P}.ttf "${S}"/${P}.ttf || die +} diff --git a/media-fonts/joypixels/metadata.xml b/media-fonts/joypixels/metadata.xml new file mode 100644 index 000000000000..d155fdbc0406 --- /dev/null +++ b/media-fonts/joypixels/metadata.xml @@ -0,0 +1,12 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>gentoo@aisha.cc</email> + <name>Aisha Tammy</name> + </maintainer> + <maintainer type="project"> + <email>proxy-maint@gentoo.org</email> + <name>Proxy Maintainers</name> + </maintainer> +</pkgmetadata> |