diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2018-10-22 11:09:47 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2018-10-22 11:09:47 +0100 |
commit | 64e107b9b6058580ff0432107eb37cefb0b2a7d8 (patch) | |
tree | 9a44e603e2ae365e2b1fe35ac37f73e830cdee1d /media-fonts | |
parent | 957235cf19a691360c720f7913672adda4258ed0 (diff) |
gentoo resync : 22.10.2018
Diffstat (limited to 'media-fonts')
25 files changed, 552 insertions, 11 deletions
diff --git a/media-fonts/Manifest.gz b/media-fonts/Manifest.gz Binary files differindex 12ea92b458f3..018b95f39283 100644 --- a/media-fonts/Manifest.gz +++ b/media-fonts/Manifest.gz diff --git a/media-fonts/bitstream-cyberbit/Manifest b/media-fonts/bitstream-cyberbit/Manifest index 1001a71b646d..dc063a88c6b4 100644 --- a/media-fonts/bitstream-cyberbit/Manifest +++ b/media-fonts/bitstream-cyberbit/Manifest @@ -1,3 +1,3 @@ DIST bitstream-cyberbit-2.0.zip 6427108 BLAKE2B 4d79ea91f478df159ad230300bf94e42d57148cac22d01b2eea653e12651dfc71b667fdfdb92da282bdaf281d45dfb9fbc04eeee806a82b6741a313872a3375d SHA512 39af2720123e7d732e3dffffab37d949221211748594a66ecbd41bafcd387e4582433ece802e42f3d1f0728da9ed0c5bb00465f20fa2ff3687018ed94edf25a1 -EBUILD bitstream-cyberbit-2.0-r2.ebuild 591 BLAKE2B de61523e9d45aded1d58fe6def7f8e966d88eecc03a221981331751f4cdd1c58e46d6623e2d4455b3084f9ff1125a13e2ad5bb3b1db8f7be30b40560830fe3c9 SHA512 fddf2ed46df2bc810c4d59bbb090eaf35b9e3d5d3d5a8b5527759720a3465ffe6316d619a3aafa37ad83104d94233e5b9d8213e34f509609bce7e553e6864d7a +EBUILD bitstream-cyberbit-2.0-r2.ebuild 627 BLAKE2B 72dd6539f16091833ee7330615058653912810635af4fe52cff3009fab2a836c77e0d67b63f2f01bc54edba7dfde2ad6e38816a1b76bca8c254dc3a6d63d5152 SHA512 32e1d3156b3bdd1f419d8429be7a0e5c88d62931194c549a169be0e6b443bd407c5c9aa9ef4938a43c7fb25deae36ccdd5274252e1bffee025041e0b39d20d64 MISC metadata.xml 364 BLAKE2B a3ae59e04600fb512fe1e0dd6ebb3d146faee164775446754633c9bf88845f0ea0459fa4a145ce7e232206bde0bf2e72b4ed29420fe667620acfe5b8074d348a SHA512 2b2701e4698f5adc465a1ab038f176e405a0df1528560560831e43ae34421eb74e4332ad3001c6ad2eba43ac976b6856e2ee2690685a03428fd1ae71552017e5 diff --git a/media-fonts/bitstream-cyberbit/bitstream-cyberbit-2.0-r2.ebuild b/media-fonts/bitstream-cyberbit/bitstream-cyberbit-2.0-r2.ebuild index 51438253a0f8..dd46e6e5976d 100644 --- a/media-fonts/bitstream-cyberbit/bitstream-cyberbit-2.0-r2.ebuild +++ b/media-fonts/bitstream-cyberbit/bitstream-cyberbit-2.0-r2.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2018 Gentoo Foundation +# Copyright 1999-2018 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=6 @@ -7,7 +7,7 @@ inherit font DESCRIPTION="Cyberbit Unicode (including CJK) font" HOMEPAGE="http://www.bitstream.com/" -SRC_URI="http://ftp.netscape.com/pub/communicator/extras/fonts/windows/Cyberbit.ZIP -> ${P}.zip ftp://ftp.netscape.com.edgesuite.net/pub/communicator/extras/fonts/windows/Cyberbit.ZIP -> ${P}.zip" +SRC_URI="http://freebsd.nsu.ru/distfiles/cyberbit/Cyberbit.ZIP -> ${P}.zip https://www.minix3.org/distfiles-backup/cyberbit-ttf/Cyberbit.ZIP -> ${P}.zip http://mirror.uni-c.dk/pub/pkgsrc/distfiles/cyberbit-ttf/Cyberbit.ZIP -> ${P}.zip" LICENSE="BitstreamCyberbit" SLOT="0" diff --git a/media-fonts/fira-code/Manifest b/media-fonts/fira-code/Manifest index 8201eba89bb4..6003548b4891 100644 --- a/media-fonts/fira-code/Manifest +++ b/media-fonts/fira-code/Manifest @@ -1,4 +1,6 @@ DIST FiraCode-Regular-Symbol.zip 9337 BLAKE2B b901cc37ad796f3a68d8b9e492aa35570c2d718fc84920b5b23c0a055e46c19916a7ec6b2c0a0adba650161c5a032761d46b303de64bddd81696adf960e3e541 SHA512 2570958b0f4b28ded52327150b67118d693d6bc6f483be3e3147ddda1c5870ab21f1b64938e4abc1030080455976c0d33ae3925b51660fd2c8b5428b5b0f8eb7 DIST fira-code-1.205.tar.gz 5348822 BLAKE2B 9167765fb986a0b4552387fa43e71ddcfb97371692ad071659cc6a198dd4bee707e15a2f438daac1d5e038b8a4d2ddf4d5e0b94cf182655cd83b5085af3a207a SHA512 cbeb5fe4577ff6de5c4d58247c3b82b7aec4022afa5552394c660846d8caab8cca3a1a44aed8cccd10d03fe8c38e419d97663f5a750bd9d4e11ec4d2e5659bf8 +DIST fira-code-1.206.tar.gz 4679094 BLAKE2B 95a705979db3d96944986b78945734e87de0f7164db50313d9bcec5da3b2a8f6281bc1b1506c65a29358bc8fa65d9ffc2bb76b9e734077f6d487bc3bd63680e2 SHA512 022216fb3b7c553cd0608a51e8e5a2903375a15d3600a694dad68666897a5ed33d7ad6819db55e0ce4b7c58ac1dd3c33d2e05aded62ebf38365ffee8fb7f8ee0 EBUILD fira-code-1.205.ebuild 618 BLAKE2B 88137715e4430f3807b1c9eb806cb51154235c634cbbc6498d32de302affb95d773de2b0639233ae1cf5cff9ed842a8d2ed3e6a749e46be0e8a5ff24d5151a58 SHA512 f0deec2a27ddbc65cf8dda234c7abbed40286f4dc0143b156cd20104b681b47eeba4b98f078283d3e283e6f7da1c7755e65d1e2f7adb7cf07557d5aa46c013e4 +EBUILD fira-code-1.206.ebuild 619 BLAKE2B d045a58476bf8af3f26150ea578b1e069818869b7a09f9261f12e2a75998bd01f5968312f105ae904af26d3a5476eebedee334f857e68f1428a64e0b6bf9580a SHA512 d3f4eddc634a578252e2d4ea086da45804d00c59589638806cf79317c86eb765a264346c864c109b130e52b42f73ad977322459aca277a7ca4bdec862f6c9bbd MISC metadata.xml 430 BLAKE2B 1d5b9b36382478e6ce2e7444cec9513f560e7c642cace9241ec36769b2ac17ba9282151ea321574dc53dfd26e2a98a289b9dd02bea1ea7a4641f8a75046213f2 SHA512 2378c23273f922c0088d9535e4ac94da0c05e59a79ef8119f351911bde62f7e3c8706a4276a888404ae8f18a3e5ad7181358db00c8a9c990a6874dc69f24eac8 diff --git a/media-fonts/fira-code/fira-code-1.206.ebuild b/media-fonts/fira-code/fira-code-1.206.ebuild new file mode 100644 index 000000000000..73d454e405d4 --- /dev/null +++ b/media-fonts/fira-code/fira-code-1.206.ebuild @@ -0,0 +1,27 @@ +# Copyright 1999-2018 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit font + +DESCRIPTION="Monospaced font with programming ligatures" +HOMEPAGE="https://github.com/tonsky/FiraCode" +SRC_URI="https://github.com/tonsky/FiraCode/archive/${PV}.tar.gz -> ${P}.tar.gz +https://github.com/tonsky/FiraCode/files/412440/FiraCode-Regular-Symbol.zip" + +LICENSE="OFL-1.1" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~x86" +IUSE="" + +S="${WORKDIR}/FiraCode-${PV}" +FONT_S="${S}/distr/otf" +FONT_SUFFIX="otf" + +DOCS="README.md" + +src_prepare() { + default + mv "${WORKDIR}"/*.otf "${FONT_S}" || die +} diff --git a/media-fonts/kanjistrokeorders/Manifest b/media-fonts/kanjistrokeorders/Manifest index 0841d0f4d7c6..2ffd7ad6bfd2 100644 --- a/media-fonts/kanjistrokeorders/Manifest +++ b/media-fonts/kanjistrokeorders/Manifest @@ -1,5 +1,5 @@ DIST KanjiStrokeOrders_v2.012.zip 8961316 BLAKE2B 1ddd7ec47668ea0d10700db60a3f07665234c70815e8415a5dca4814d8b13c82ca23534e5278380ca8115ff6fc16ba8c65954022c657c0de3826f5370eb579ff SHA512 352be65ee27275a5093625372a8fb8bc073d8b76b9269e3c211ffe5f18a23134b1b1fff18d2b85cfa70424a74ab4e3a342a4f231b65364cf017985a5e70443c6 DIST KanjiStrokeOrders_v2.016.zip 8982113 BLAKE2B 940d0ab1c7a0b045a88bec454b3f4dda4cb61d096d0e786884f2e3ea8aa7a21942604585173eded13e5618ae0051d01c975a0b9b45deeae7abff8983c03852a1 SHA512 8551864915f3d5b542df318a1fe1d8474304ec8adb61fd414d4bff132c69a5a875eae0bdccce90819da1f3c68192c589207bf9c997a81896ddd6916d79f363a0 -EBUILD kanjistrokeorders-2.012.ebuild 542 BLAKE2B 8817a7b30124499f194c37ca000b6bdd2441da855786dcab1bff6f1a97af83b2605a368bf4129862e70da0ba96bfc76e0170de31ba279bea34d3d5412fbe8c64 SHA512 f22e4c0973ac90ee8dbf89683d60c626757efab19b758d3ee7fe555541cb66b088727f8797df644079f7b602524f3363c47145aa78e495a8796429d65deb791d -EBUILD kanjistrokeorders-2.016.ebuild 580 BLAKE2B 35ce6216b48795a80099dc987989eb2528abc52b3282ffd739cfaa52e5294b3bf2a8a21b6761d17b4db50bbc2163cc66590c430aef31c96f15282ba8cf6dfde0 SHA512 90fc44af9cf20e458720ee98c6cf6c34fd21653523a7e5511896c6e1c25ec3e7618725b80e8b2d14048ffbcaa87c2ba66b98f13956da23122dc69c181550e372 +EBUILD kanjistrokeorders-2.012.ebuild 578 BLAKE2B de333a0823903bd5c835001ed3f2f5045d6e7c028c43d8ae2acdad47c09a6f11000ae065e4b51bbc591af2e7b5dfb39c11b41b2c2a6a17d2b57898f75200e9fc SHA512 a86d64e1ad49785b91428feac31334b7d58d35c4d827cac2825d728b8cb0f212bf37c9b3ae4ceec6a1eb74ff95f7ff9e635f4f9d830ea18193afc3c6d10e8fd3 +EBUILD kanjistrokeorders-2.016.ebuild 602 BLAKE2B dca3b4f2e2a8ca0ed965974ee5e34557893b5a58430e17b40d4e20fd6120afce57926e463b46800346a696592db77690903d42aa0f3225663a60b415f8c278b4 SHA512 87a2db8474fab3b2845874d2813fab07227307a75877dc82b5889c81e5e3645dd3176df8fade44339cb61348664295b313bfc77689d0874efdf489d68661f355 MISC metadata.xml 332 BLAKE2B 58065f27878c71ac52b58b5b3f23c5cba42973338a01bfd7ef85a9dde2c7ec53d66f8094fa5ca38fd96fe22a29f9a6947c4e84131ed2e7aff23f0be2a550053c SHA512 9a9acadc7af90e8d744d4ae3b8e1f31973c9d00dd3843261a578111df0fe0fe24df44a9858a466a265bcd0bcc1d55fecdcc8a699a3d093030236fe0e88b03bd9 diff --git a/media-fonts/kanjistrokeorders/kanjistrokeorders-2.012.ebuild b/media-fonts/kanjistrokeorders/kanjistrokeorders-2.012.ebuild index fb9b1ee3f63a..ae75eaca3f13 100644 --- a/media-fonts/kanjistrokeorders/kanjistrokeorders-2.012.ebuild +++ b/media-fonts/kanjistrokeorders/kanjistrokeorders-2.012.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2018 Gentoo Foundation +# Copyright 1999-2018 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=0 @@ -15,6 +15,8 @@ SLOT="0" KEYWORDS="amd64 x86" IUSE="" +RDEPEND="!=kde-apps/kiten-18.08.2-r0" + # Only installs fonts RESTRICT="strip binchecks" diff --git a/media-fonts/kanjistrokeorders/kanjistrokeorders-2.016.ebuild b/media-fonts/kanjistrokeorders/kanjistrokeorders-2.016.ebuild index 5522c8ae4808..84d25ec5cb47 100644 --- a/media-fonts/kanjistrokeorders/kanjistrokeorders-2.016.ebuild +++ b/media-fonts/kanjistrokeorders/kanjistrokeorders-2.016.ebuild @@ -1,25 +1,25 @@ -# Copyright 1999-2018 Gentoo Foundation +# Copyright 1999-2018 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=0 +EAPI=6 inherit font MY_P="KanjiStrokeOrders_v${PV}" -DESCRIPTION="font to view stroke order diagrams for Kanji, Kana and etc" +DESCRIPTION="Font to view stroke order diagrams for Kanji, Kana and etc" HOMEPAGE="https://sites.google.com/site/nihilistorguk/" SRC_URI="https://sites.google.com/site/nihilistorguk/Home/${MY_P}.zip" LICENSE="BSD" SLOT="0" -KEYWORDS="~amd64 ~x86" +KEYWORDS="amd64 x86" IUSE="" # Only installs fonts RESTRICT="strip binchecks" DEPEND="app-arch/unzip" -RDEPEND="" +RDEPEND="!=kde-apps/kiten-18.08.2-r0" S="${WORKDIR}" FONT_S="${S}" diff --git a/media-fonts/noto-cjk/Manifest b/media-fonts/noto-cjk/Manifest index b802d04d0ca2..8aaa7c433c03 100644 --- a/media-fonts/noto-cjk/Manifest +++ b/media-fonts/noto-cjk/Manifest @@ -1,3 +1,6 @@ +AUX 70-noto-cjk.conf 3815 BLAKE2B 84c477a84c117fa7fef4922e6b289c4eab4147a291b447a3b6d90a01d513f1f0c64dcd341bdda7b9b9f8efe339ab6781dde49189e84640ff781091f630b4296c SHA512 8f45cd10f17b4cfc2b5d7d253e7ca1dba20eaff206f479377c25ef54f469aaa3346d1ceb422086d7b25bc3ce6b3cf0a43b5967affd1126c020059a4e319e0337 DIST noto-cjk-20150615.tar.xz 390518224 BLAKE2B 273018f6d0792ae90bc0d9f44a43f300a7fbd2ca2cbdbf71af911e1cfc0d4f0bb30b5d1f2b15d9bf4df279266921d46987f166dd4559ea15e747db7a22494145 SHA512 738bd840d14c3fc3665b9c6e50b1b2d5981ccdc5e660a6498b4611b8019208f0880df062741d9dec8bdcd54234eed46655e1c739cf872d9dfa5fa0523954a7d3 +DIST noto-cjk-20170602.tar.gz 1667938394 BLAKE2B 51ed7c48bccef0dff75ddc5ec108b61f0f5ceedc41608919dc1071a2308f96c3d2883af932935c32db6dd017e067079d45776eb865200560f2f9c6b89e57dd8c SHA512 861431e1eb0c21b8b7b03f9a97ae61c59a2e513314a24f0c50e2953daac3cba78fa418af32cf66ec100a26c88f5e07bd33eb3ed80b533d97a452fefa5a06b4dc EBUILD noto-cjk-20150615.ebuild 756 BLAKE2B c1ee13c7340cf90d0dcd9130c3377332e9772828df9948cf8eb5d3df337c77e67bde57d53c2cdd1ad6129e1cceaec8e5e28179535036ef98c970c602ca95b411 SHA512 c8696b1655b25cfcb1004898d80d757e5cd2273fbe71e01cead68b379643259072917b03cd893de3213d9d76f8fab245255f030b48e5cb39b9d1eccdfe81cc14 +EBUILD noto-cjk-20170602.ebuild 652 BLAKE2B c67ffdc7dfa6545993a7b62a440d9e020ad4c758746b0a902c78cdcc4ea63ed50f480ef34ca65e058acc4be511bf2c93b360b81a6c06d317df5459bf35558aaa SHA512 77df04a357d5a3d7ab9e90880e8d426e4921ba5794ef7fd3f24f190bcd1c9f91be533aa7571ddb0ed2cc899e2ccc26e177216b55ae77ae36046e7852c0c9f0bd MISC metadata.xml 449 BLAKE2B f30d4df6c9ddc672a839eeb6433bd9583fa4af65c32190b09bca261e1a53e0c9bb396808811a3591c8b90337002fba8433d8eb816af4475f57339c299b8eaa06 SHA512 04d7f718df7e4d83823b778f09f1cb4e78ffceb154030dc1f8980cd9ca9cf8ed0140d0354b44e6523952e6ddae3e4879a467a1855092cfb7052ea97e099c98d4 diff --git a/media-fonts/noto-cjk/files/70-noto-cjk.conf b/media-fonts/noto-cjk/files/70-noto-cjk.conf new file mode 100644 index 000000000000..c1052bb4c573 --- /dev/null +++ b/media-fonts/noto-cjk/files/70-noto-cjk.conf @@ -0,0 +1,147 @@ +<?xml version="1.0"?> +<!DOCTYPE fontconfig SYSTEM "fonts.dtd"> +<fontconfig> + <match target="pattern"> + <test name="lang"> + <string>ja</string> + </test> + <test name="family"> + <string>serif</string> + </test> + <edit name="family" mode="prepend"> + <string>Noto Serif CJK JP</string> + </edit> + </match> + + <match target="pattern"> + <test name="lang"> + <string>ko</string> + </test> + <test name="family"> + <string>serif</string> + </test> + <edit name="family" mode="prepend"> + <string>Noto Serif CJK KR</string> + </edit> + </match> + + <match target="pattern"> + <test name="lang"> + <string>zh-cn</string> + </test> + <test name="family"> + <string>serif</string> + </test> + <edit name="family" mode="prepend"> + <string>Noto Serif CJK SC</string> + </edit> + </match> + + <match target="pattern"> + <test name="lang"> + <string>zh-tw</string> + </test> + <test name="family"> + <string>serif</string> + </test> + <edit name="family" mode="prepend"> + <string>Noto Serif CJK TC</string> + </edit> + </match> + + <match target="pattern"> + <test name="lang"> + <string>ja</string> + </test> + <test name="family"> + <string>sans-serif</string> + </test> + <edit name="family" mode="prepend"> + <string>Noto Sans CJK JP</string> + </edit> + </match> + + <match target="pattern"> + <test name="lang"> + <string>ko</string> + </test> + <test name="family"> + <string>sans-serif</string> + </test> + <edit name="family" mode="prepend"> + <string>Noto Sans CJK KR</string> + </edit> + </match> + + <match target="pattern"> + <test name="lang"> + <string>zh-cn</string> + </test> + <test name="family"> + <string>sans-serif</string> + </test> + <edit name="family" mode="prepend"> + <string>Noto Sans CJK SC</string> + </edit> + </match> + + <match target="pattern"> + <test name="lang"> + <string>zh-tw</string> + </test> + <test name="family"> + <string>sans-serif</string> + </test> + <edit name="family" mode="prepend"> + <string>Noto Sans CJK TC</string> + </edit> + </match> + + <match target="pattern"> + <test name="lang"> + <string>ja</string> + </test> + <test name="family"> + <string>monospace</string> + </test> + <edit name="family" mode="prepend"> + <string>Noto Sans Mono CJK JP</string> + </edit> + </match> + + <match target="pattern"> + <test name="lang"> + <string>ko</string> + </test> + <test name="family"> + <string>monospace</string> + </test> + <edit name="family" mode="prepend"> + <string>Noto Sans Mono CJK KR</string> + </edit> + </match> + + <match target="pattern"> + <test name="lang"> + <string>zh-cn</string> + </test> + <test name="family"> + <string>monospace</string> + </test> + <edit name="family" mode="prepend"> + <string>Noto Sans Mono CJK SC</string> + </edit> + </match> + + <match target="pattern"> + <test name="lang"> + <string>zh-tw</string> + </test> + <test name="family"> + <string>monospace</string> + </test> + <edit name="family" mode="prepend"> + <string>Noto Sans Mono CJK TC</string> + </edit> + </match> +</fontconfig> diff --git a/media-fonts/noto-cjk/noto-cjk-20170602.ebuild b/media-fonts/noto-cjk/noto-cjk-20170602.ebuild new file mode 100644 index 000000000000..3e65ff1b5d76 --- /dev/null +++ b/media-fonts/noto-cjk/noto-cjk-20170602.ebuild @@ -0,0 +1,27 @@ +# Copyright 1999-2018 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +inherit font + +DESCRIPTION="Google's CJK font family" +HOMEPAGE="https://www.google.com/get/noto/ https://github.com/googlei18n/noto-cjk" + +COMMIT="32a5844539f2e348ed36b44e990f9b06d7fb89fe" +SRC_URI="https://github.com/googlei18n/noto-cjk/archive/${COMMIT}.tar.gz -> ${P}.tar.gz" + +LICENSE="OFL-1.1" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~mips ~ppc ~ppc64 ~sparc ~x86" +IUSE="" + +RESTRICT="binchecks strip" + +S="${WORKDIR}/${PN}-${COMMIT}" + +FONT_S="${S}" +FONT_SUFFIX="ttc otf" +FONT_CONF=( + # From ArchLinux + "${FILESDIR}/70-noto-cjk.conf" +) diff --git a/media-fonts/noto-emoji/Manifest b/media-fonts/noto-emoji/Manifest new file mode 100644 index 000000000000..13b29caded14 --- /dev/null +++ b/media-fonts/noto-emoji/Manifest @@ -0,0 +1,6 @@ +AUX noto-emoji-build-all-flags.patch 336 BLAKE2B b6c10010f9fe3b1e62ce436bbd0fae6ac85bd8feb2776d2d731a9b155818b828b7ecc1ec58861976b890eb1faf4db59bead3e86e7c39e44113b11152347cba29 SHA512 0d67afa05081da93cf05827dde54cbb6ce593e79874e823680d1c521c0953c49d4dcf12135da43b74bc72b4a79e8b7b0123ae2b2cd631f040c6797e04d3f008a +AUX noto-emoji-use-gm.patch 1488 BLAKE2B 08bb2fa62c79615992c25503093d9ee8296dd3d0103ae50e9376020730c48d8e3eb5da281f066242b25d8e5c6a293cdb013b9d276fb10350021479aade1e78ab SHA512 0719575b7d2c3f0cc15c7e7a314e4a528b0601e14b8a06f0304a784d3d5dcf27cf4f881e4b57bb4647ba0cb36ba7be842bea2df1529de55d6ca16b6326c930d8 +AUX noto-emoji-use-system-pngquant.patch 2118 BLAKE2B 55048756859ead78a013a6ff749500107d9fe02fcfe775582fade153f268c5daa6f074ea1e8ea260bd09af077cc19cd8121b570bac47649b669df196e43d2574 SHA512 6bd4dd9e45aa73d8677c671a5ee3d6f03b3e94004db9b9c715cf76402ab2a641ce79991ec583cfe3a15a6c9803de4bfa863bd30cf16e96e9cb8a4683d6c04807 +DIST noto-emoji-20180814.tar.gz 51709109 BLAKE2B 9678861973b231de48b11dc9267840e4a4a6689c7c26281dfc1d6b0d4c1c1c627b503226d7eeac2f568dc19162c669b54c8dd34f5aa449850797437cf3a2e8cb SHA512 bca0fb73d3897c4ec1ba94173fda17804cdf2dfa365aa4a19bf1d24e9a94806bcdd5e6eb6304eb3e2312b37f37fa917905be6fe11c84510214f0eba70f426ea8 +EBUILD noto-emoji-20180814.ebuild 1111 BLAKE2B 0c7dc7b7689933d5d21a108eb30496e264d17ac8401df48c60dcb87ea3c188edd33510612e86ad4857a2f8c1c53616b3af4f1f5696e208bc7c69e22fb39eca40 SHA512 b465734cfd567ad77fa30c860e0f3ddaed332db9acf0c570d0fffda95316601ad52f0ba1384f14e78a956dbce6fa92b417e72faaae5896a0d1e783ef1a8c0a81 +MISC metadata.xml 243 BLAKE2B f40c5d69470d5136cba32e1ea6b2351ca1842a5d83381e0bef3e063e266c64bebb9ba85e1f155010e219b136c2827c989d9adf3b2c6b2f6ca265f03339c9a7ce SHA512 640630eb9d42c319ca1da37b03a03677a3dd4e48f28ce2690b64f6e4e7d5885cfda41d439f3f9d8b009be04891b043a5b0ac6f9d43b701f65c8fcc0e0613b04a diff --git a/media-fonts/noto-emoji/files/noto-emoji-build-all-flags.patch b/media-fonts/noto-emoji/files/noto-emoji-build-all-flags.patch new file mode 100644 index 000000000000..564b08a59078 --- /dev/null +++ b/media-fonts/noto-emoji/files/noto-emoji-build-all-flags.patch @@ -0,0 +1,11 @@ +--- old/Makefile 2018-05-03 20:32:14.000000000 +0200 ++++ new/Makefile 2018-05-08 11:48:20.811073447 +0200 +@@ -78,7 +78,7 @@ + + ALL_FLAGS = $(basename $(notdir $(wildcard $(FLAGS_SRC_DIR)/*.png))) + +-FLAGS = $(SELECTED_FLAGS) ++FLAGS = $(ALL_FLAGS) + + FLAG_NAMES = $(FLAGS:%=%.png) + FLAG_FILES = $(addprefix $(FLAGS_DIR)/, $(FLAG_NAMES)) diff --git a/media-fonts/noto-emoji/files/noto-emoji-use-gm.patch b/media-fonts/noto-emoji/files/noto-emoji-use-gm.patch new file mode 100644 index 000000000000..5710fd53dc5c --- /dev/null +++ b/media-fonts/noto-emoji/files/noto-emoji-use-gm.patch @@ -0,0 +1,30 @@ +Index: noto-emoji-352632eb1935fd2b732f6f3ca0a24e9754c3eccf/Makefile +=================================================================== +--- noto-emoji-352632eb1935fd2b732f6f3ca0a24e9754c3eccf.orig/Makefile ++++ noto-emoji-352632eb1935fd2b732f6f3ca0a24e9754c3eccf/Makefile +@@ -20,7 +20,8 @@ LDFLAGS = -lm `pkg-config --libs cairo` + PNGQUANT = pngquant + PNGQUANTFLAGS = --speed 1 --skip-if-larger --quality 85-95 --force + BODY_DIMENSIONS = 136x128 +-IMOPS := -size $(BODY_DIMENSIONS) canvas:none -compose copy -gravity center ++#IMOPS := -size $(BODY_DIMENSIONS) canvas:none -compose copy -gravity center ++IMOPS = -size 136x128 -background none -gravity center -extent 136x128 -compose copy + + # zopflipng is better (about 5-10%) but much slower. it will be used if + # present. pass ZOPFLIPNG= as an arg to make to use optipng instead. +@@ -172,13 +173,13 @@ waveflag: waveflag.c + # imagemagick packaged with ubuntu trusty (6.7.7-10) by using -composite. + + $(EMOJI_DIR)/%.png: $(EMOJI_SRC_DIR)/%.png | $(EMOJI_DIR) +- @convert $(IMOPS) "$<" -composite "PNG32:$@" ++ @gm convert $(IMOPS) "$<" "PNG32:$@" + + $(FLAGS_DIR)/%.png: $(FLAGS_SRC_DIR)/%.png ./waveflag $(PNGQUANT) | $(FLAGS_DIR) + @./waveflag $(FLAGS_DIR)/ "$<" + + $(RESIZED_FLAGS_DIR)/%.png: $(FLAGS_DIR)/%.png | $(RESIZED_FLAGS_DIR) +- @convert $(IMOPS) "$<" -composite "PNG32:$@" ++ @gm convert $(IMOPS) "$<" "PNG32:$@" + + flag-symlinks: $(RESIZED_FLAG_FILES) | $(RENAMED_FLAGS_DIR) + @$(subst ^, , \ diff --git a/media-fonts/noto-emoji/files/noto-emoji-use-system-pngquant.patch b/media-fonts/noto-emoji/files/noto-emoji-use-system-pngquant.patch new file mode 100644 index 000000000000..ddc6ff881ce1 --- /dev/null +++ b/media-fonts/noto-emoji/files/noto-emoji-use-system-pngquant.patch @@ -0,0 +1,59 @@ +diff -ru noto-emoji-153e1d4c026c124fbac6ee93e559b5df375f24f5.orig/Makefile noto-emoji-153e1d4c026c124fbac6ee93e559b5df375f24f5/Makefile +--- noto-emoji-153e1d4c026c124fbac6ee93e559b5df375f24f5.orig/Makefile 2018-03-07 09:22:49.670696985 +0100 ++++ noto-emoji-153e1d4c026c124fbac6ee93e559b5df375f24f5/Makefile 2018-03-07 09:23:06.824506178 +0100 +@@ -15,10 +15,9 @@ + EMOJI = NotoColorEmoji + font: $(EMOJI).ttf + +-CFLAGS = -std=c99 -Wall -Wextra `pkg-config --cflags --libs cairo` ++CFLAGS = $(OPT_CFLAGS) `pkg-config --cflags --libs cairo` + LDFLAGS = -lm `pkg-config --libs cairo` +-PNGQUANTDIR := third_party/pngquant +-PNGQUANT := $(PNGQUANTDIR)/pngquant ++PNGQUANT = pngquant + PNGQUANTFLAGS = --speed 1 --skip-if-larger --quality 85-95 --force + BODY_DIMENSIONS = 136x128 + IMOPS := -size $(BODY_DIMENSIONS) canvas:none -compose copy -gravity center +@@ -97,6 +96,12 @@ + ALL_COMPRESSED_FILES = $(addprefix $(COMPRESSED_DIR)/, $(ALL_NAMES)) + + # tool checks ++ifeq (,$(shell which $(PNGQUANT))) ++ ifeq (,$(wildcard $(PNGQUANT))) ++ MISSING_PNGQUANT = fail ++ endif ++endif ++ + ifeq (,$(shell which $(ZOPFLIPNG))) + ifeq (,$(wildcard $(ZOPFLIPNG))) + MISSING_ZOPFLI = fail +@@ -126,6 +131,11 @@ + + compressed: $(ALL_COMPRESSED_FILES) + ++check_quantization_tool: ++ifdef MISSING_PNGQUANT ++ $(error "$(PNGQUANT) is not available") ++endif ++ + check_compress_tool: + ifdef MISSING_ZOPFLI + ifdef MISSING_OPTIPNG +@@ -146,8 +156,7 @@ + $(EMOJI_DIR) $(FLAGS_DIR) $(RESIZED_FLAGS_DIR) $(RENAMED_FLAGS_DIR) $(QUANTIZED_DIR) $(COMPRESSED_DIR): + mkdir -p "$@" + +-$(PNGQUANT): +- $(MAKE) -C $(PNGQUANTDIR) ++$(PNGQUANT): check_quantization_tool + + waveflag: waveflag.c + $(CC) $< -o $@ $(CFLAGS) $(LDFLAGS) +@@ -227,5 +236,5 @@ + .SECONDARY: $(EMOJI_FILES) $(FLAG_FILES) $(RESIZED_FLAG_FILES) $(RENAMED_FLAG_FILES) \ + $(ALL_QUANTIZED_FILES) $(ALL_COMPRESSED_FILES) + +-.PHONY: clean flags emoji renamed_flags quantized compressed check_compress_tool ++.PHONY: clean flags emoji renamed_flags quantized compressed check_compress_tool check_quantization_tool + +noto-emoji-153e1d4c026c124fbac6ee93e559b5df375f24f5/ のみに存在: Makefile.orig diff --git a/media-fonts/noto-emoji/metadata.xml b/media-fonts/noto-emoji/metadata.xml new file mode 100644 index 000000000000..3da97a9953cc --- /dev/null +++ b/media-fonts/noto-emoji/metadata.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>pacho@gentoo.org</email> + <name>Pacho Ramos</name> + </maintainer> +</pkgmetadata> diff --git a/media-fonts/noto-emoji/noto-emoji-20180814.ebuild b/media-fonts/noto-emoji/noto-emoji-20180814.ebuild new file mode 100644 index 000000000000..7dd40de2811e --- /dev/null +++ b/media-fonts/noto-emoji/noto-emoji-20180814.ebuild @@ -0,0 +1,52 @@ +# Copyright 1999-2018 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="3ffd20ec7504657aa17c84f9aa475ad09b20c362" +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 media-gfx/graphicsmagick ) +" +RDEPEND="" + +RESTRICT="binchecks strip" + +S="${WORKDIR}/${PN}-${COMMIT}" + +FONT_S="${S}" +FONT_SUFFIX="ttf" + +PATCHES=( + # From Fedora + "${FILESDIR}/${PN}-use-system-pngquant.patch" + "${FILESDIR}/${PN}-build-all-flags.patch" +) + +src_prepare() { + default + # Use system pngquant + rm -rf third_party/pngquant + + # Fedora patch to allow graphicsmagick usage + if has_version media-gfx/graphicsmagick; then + eapply "${FILESDIR}/${PN}-use-gm.patch" + fi +} diff --git a/media-fonts/noto/Manifest b/media-fonts/noto/Manifest index b5172c37f25b..6a669f7f2bf2 100644 --- a/media-fonts/noto/Manifest +++ b/media-fonts/noto/Manifest @@ -1,3 +1,8 @@ +AUX 66-noto-mono.conf 326 BLAKE2B 5bf5d20d31635e0b84f34d9a619df0de842431d319c283d120bdc060766ee4f2073b485c267206905c4e8095c40a176237c17c315c9a1af5771591ea636c1673 SHA512 91b71d5ee435bf1ee534be6b4461d93b1f57693137d929dc2ca98f4074754ace4ae6e8f05e627af903332c8a63449ab40eebea7a385ec27580fa2a782a3a8fc7 +AUX 66-noto-sans.conf 318 BLAKE2B 42a6036c93c982b2b0eb04a530dafe6d8eceeac0e770411d8dedda2e6ae62a921642f23db1f0849d6d08295ebe44f1b204fd93a27661e3f5ca52e5c6f8bd76cc SHA512 80c15846c014c723830aefb84c6d3069f9addffd1ca227a8a7b17023c64a949254152541f7e81b4afeca690ddeab959f35f390366f7e697e3b7715d692ea7c98 +AUX 66-noto-serif.conf 310 BLAKE2B 804753d2e703ce309e74da15aefdac6d510f52396a312a143c1a9e0e499f0301e5a154f6df48cf4a71834c637b1545953354d0c3518d67a429850135ed2db4da SHA512 c0ade988e2560191098c539de4341dfee29bc67d177f5916c7eb3346586c19c791c32842016db334c3d3689d89a1437220544f2c45934a9c0d74d2f6064aaa69 DIST noto-20170403.tar.xz 11083152 BLAKE2B 8281cc19a100d1cbf7f57fba9cba077bb0005f7296f58d48247bef6c804b53597ff359dfab7b7d851e42c0294c757f311979b98dc9f1c22e2d3f3fabe4db77e7 SHA512 f8f1414b5b6f793e86ef3cc6a6320c4545f079b337c7672cb8cccc3c50d21d353d81557da4a555cdb6524c79be3e4c167f7d5aac102c38d64926f3b1887ca7f3 +DIST noto-20180905.tar.gz 666633675 BLAKE2B 209e28ba8feb7367381fb3cc1cb0f1109167f9b339c9a18c347592cb95a060e60f9c01fcfd309d029c235e9ac5de3e808f1b70cad6b5482f2252029b5ab4944e SHA512 f4cf75d91c9c6c607bc3a9ea97114ccd2c691505f919e08ae3ad591e1cd211c85a3ef24abe96ec23e6961bdba0a35c1ecba6f87556ef53661e4afcdcd865602c EBUILD noto-20170403.ebuild 819 BLAKE2B 3bf921503660437c91da43ac3e7e9e05fff70ff95e9842b1c5d884d005a28286a929cc66772afa8f9c74d919045f9e45218ce8f2bfa0eb9539b1ceea26c8762e SHA512 728276eef93954d03eb649f2772d4cde19b3080e7bdff2da344d70026d992f5dd1d521f6786c50f32f38c1780988288463705fdd522cec298ba4c8d51bd6b8d7 +EBUILD noto-20180905.ebuild 936 BLAKE2B 0829b0a93d2ca1b411394be253a827f1991e646cbae54e0a9a14fb191201636bc357f823241fb62c2863dff878c56f0c0c355f937705a7a71894c6f897f05efe SHA512 2adfde688f314aa472b0774175f303a5510acb6977a35da87f1cd001035616bbad732712012f0070b7eb3b9d0835529e6aab7b23b15f048e7bc325aa2b55d000 MISC metadata.xml 449 BLAKE2B f30d4df6c9ddc672a839eeb6433bd9583fa4af65c32190b09bca261e1a53e0c9bb396808811a3591c8b90337002fba8433d8eb816af4475f57339c299b8eaa06 SHA512 04d7f718df7e4d83823b778f09f1cb4e78ffceb154030dc1f8980cd9ca9cf8ed0140d0354b44e6523952e6ddae3e4879a467a1855092cfb7052ea97e099c98d4 diff --git a/media-fonts/noto/files/66-noto-mono.conf b/media-fonts/noto/files/66-noto-mono.conf new file mode 100644 index 000000000000..21d6c364a8e6 --- /dev/null +++ b/media-fonts/noto/files/66-noto-mono.conf @@ -0,0 +1,16 @@ +<?xml version="1.0"?> +<!DOCTYPE fontconfig SYSTEM "fonts.dtd"> +<fontconfig> + <alias> + <family>monospace</family> + <prefer> + <family>Noto Sans Mono</family> + </prefer> + </alias> + <alias> + <family>Noto Sans Mono</family> + <default> + <family>monospace</family> + </default> + </alias> +</fontconfig> diff --git a/media-fonts/noto/files/66-noto-sans.conf b/media-fonts/noto/files/66-noto-sans.conf new file mode 100644 index 000000000000..012aebedf8b3 --- /dev/null +++ b/media-fonts/noto/files/66-noto-sans.conf @@ -0,0 +1,16 @@ +<?xml version="1.0"?> +<!DOCTYPE fontconfig SYSTEM "fonts.dtd"> +<fontconfig> + <alias> + <family>sans-serif</family> + <prefer> + <family>Noto Sans</family> + </prefer> + </alias> + <alias> + <family>Noto Sans</family> + <default> + <family>sans-serif</family> + </default> + </alias> +</fontconfig> diff --git a/media-fonts/noto/files/66-noto-serif.conf b/media-fonts/noto/files/66-noto-serif.conf new file mode 100644 index 000000000000..036baf776490 --- /dev/null +++ b/media-fonts/noto/files/66-noto-serif.conf @@ -0,0 +1,16 @@ +<?xml version="1.0"?> +<!DOCTYPE fontconfig SYSTEM "fonts.dtd"> +<fontconfig> + <alias> + <family>serif</family> + <prefer> + <family>Noto Serif</family> + </prefer> + </alias> + <alias> + <family>Noto Serif</family> + <default> + <family>serif</family> + </default> + </alias> +</fontconfig> diff --git a/media-fonts/noto/noto-20180905.ebuild b/media-fonts/noto/noto-20180905.ebuild new file mode 100644 index 000000000000..1c15cd81cf20 --- /dev/null +++ b/media-fonts/noto/noto-20180905.ebuild @@ -0,0 +1,35 @@ +# Copyright 1999-2018 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +inherit font + +DESCRIPTION="Google's font family that aims to support all the world's languages" +HOMEPAGE="https://www.google.com/get/noto/ https://github.com/googlei18n/noto-fonts" + +COMMIT="db5c897c3954ab8dd49bfc3de4f3ef00a7ef6d06" +SRC_URI="https://github.com/googlei18n/noto-fonts/archive/${COMMIT}.tar.gz -> ${P}.tar.gz" + +LICENSE="OFL-1.1" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~mips ~ppc ~ppc64 ~sparc ~x86" +IUSE="cjk" + +RDEPEND="cjk? ( media-fonts/noto-cjk )" +RESTRICT="binchecks strip" + +S="${WORKDIR}/${PN}-fonts-${COMMIT}" + +FONT_SUFFIX="ttf" +FONT_CONF=( + # From ArchLinux + "${FILESDIR}/66-noto-serif.conf" + "${FILESDIR}/66-noto-mono.conf" + "${FILESDIR}/66-noto-sans.conf" +) + +src_install() { + # Don't install in separate subdirs + FONT_S="${S}/unhinted/" font_src_install + FONT_S="${S}/hinted/" font_src_install +} diff --git a/media-fonts/unifont/Manifest b/media-fonts/unifont/Manifest index 25771f588d2a..8c9b23e6f02c 100644 --- a/media-fonts/unifont/Manifest +++ b/media-fonts/unifont/Manifest @@ -1,10 +1,13 @@ AUX 10.0.06-make.patch 645 BLAKE2B 7aea0a47997233e54f150d4a25f3fb376106378b93e86a68c8623d0c66e3650c6fb4bd4a6c98441f14f2ef176b40bfc23addc4168c78e34797b75b6e17b565cc SHA512 b205457eb2ffe1f4693e82a5597f1a95b95a62744101bd5a73a36060030541a855a62f84fafe255fafaf1e89b7f89c707dace2eccbe7b2746c3059404e7bd38d +AUX 11.0.02-make.patch 366 BLAKE2B 1d857d76826b5906c6405aa41728121624b345ad1f9bf2e8239691af1e5506dbad7eab1f590bf3bbfea45f174af0e8f8fa9d85b11542ea91edc218cdaa08d13b SHA512 f8a286c4ecd9af7ec32f2f90ba0ae91e2f9f4111cb1f65dbc4cef07dff787eae4ee96aca7e15a61d2ae8930f3537dd6fa77393dc720a4fc91300a2c9a5c1d9ea DIST unifont-10.0.04.tar.gz 15651848 BLAKE2B 6308298244c45b51647e7eeb41cf19e085be89677688402b3fa384f423c27cb666ad8254ab98d052a93e5f928f490890d767fd96fe4c963f6f628cf14c3d9983 SHA512 0f9bb622e469ed340cc5ff465f6922b32eed2115014cad3ff445e8b17cedbf7c4c7f0025825e14ec4d046d9a28edb6a90eb9d9e402c38ed22b10303141f473b9 DIST unifont-10.0.05.tar.gz 15645240 BLAKE2B 2707891d66e7ee71b3bf68aa63ebfb303c6f2f85f39a48fb281484fedccfef02d76b05d9ce5ee5305c39336f26750dbf4b766db700b8f1a87046328be171efd7 SHA512 fa9ee669ecebf8ae86d4b972e66997fa8455ee37c0e95b3528394e7e10046fc0083950fca2fe84b265ae6066bbc9ed02dde1d7795f2fa5f34bdf8ffa47ecc042 DIST unifont-10.0.06.tar.gz 15651257 BLAKE2B e146ffe9ab591e5d90d399d37e068f0c3002a67699698b3f6b22a14ca91fe0415a507d855b56caae4e50183d97978667edca2fa2095209abbc7d02a4f17c20b8 SHA512 36f1eed24b37aad2f2ef100c8d2be01363a5438e76771e9ae82fa61ce58a4dd51566063b8e7b1265696cfe2335f1017842fecac2a5a801913f82ac9bf24caa54 +DIST unifont-11.0.02.tar.gz 15874967 BLAKE2B ee3c887ae441e70a95aad9a8f11d955ef848a5d4921d9c4c340d2f91a4c795503f2ef514bae93899591978afb797bee9d03bc222801f7d2daed199fb6045769b SHA512 d0dc8ce079feb282f53c444df5819751a7c97788feed480dc5c5b8a239c8cc13ef258876ffe2830994e404c0a6f524481a405b273c7341703ceef5854c12a68d DIST unifont-9.0.06.tar.gz 14785468 BLAKE2B 9d2328eb8918e9af82235279b9d01bb3a0487480123f77d8d7a4618742c0938a3f62c33b7b148657ab83c7e6a79209ac959d4875b686083fb15167b254c8fa81 SHA512 767dc107d9a33008116b6939facbf31db6c7942acad257ad52a1a249f04b6215b41da928ef00e8308c2cc19924257cb0219d4eddd2b99502621ebd82e8673988 EBUILD unifont-10.0.04.ebuild 1145 BLAKE2B ff1d34b3ac507397fc08ec36d5c613f34f4e63de83036684afa03aba8d8a0ecbb13225c433ededeedb18af94a837a85e8eb0ff78cebd8bde991a6c6bacb7aad3 SHA512 30f5ac1eb2114a35da98c5142c48f1b6010cf5ade8168cc0c8cd43ac0af47e22e8881e664138ad4ed0096ed8bf0a469b86facd897733e1e68f4bcdff3f55055e EBUILD unifont-10.0.05.ebuild 1145 BLAKE2B ff1d34b3ac507397fc08ec36d5c613f34f4e63de83036684afa03aba8d8a0ecbb13225c433ededeedb18af94a837a85e8eb0ff78cebd8bde991a6c6bacb7aad3 SHA512 30f5ac1eb2114a35da98c5142c48f1b6010cf5ade8168cc0c8cd43ac0af47e22e8881e664138ad4ed0096ed8bf0a469b86facd897733e1e68f4bcdff3f55055e EBUILD unifont-10.0.06.ebuild 1177 BLAKE2B baf9869891f6bc5d46ae231e3992fdb808e013a332f64efde4f9d69664993f2eabc8a1cb26de4c4745027cfd7fa8464bd2188e97347c00008b941363c1aa2124 SHA512 ce7c043a011eff4597fe176bf39c5b4ff13eb67cd2c1b5836bc86dbecf665fa55373e1476e941f9c6dde042415821a1a3418bc30bce9351a16e364cc08b17eab +EBUILD unifont-11.0.02.ebuild 1182 BLAKE2B 79fd51118ec6d98561a06e7f832a875a4f50095eb23189934e4c5647bf3b0d19384510fbef341920283b586a81f7365a603af5ca719001e12264872ae932c432 SHA512 da88e52ad7a36f793bb4c6c291343328a735c932f803cb773e95d41969800247e46e6774a17828022d86948a7a06151d9eccf0afa8c04ba87c2e913e9f7898e1 EBUILD unifont-9.0.06.ebuild 1137 BLAKE2B 491708c2e1682ae524fb218fe5637ba1b0df37987774565d42281a853da5e04e818848e65e74a8a191b19ba4423d3f2b4db2c2a1fa861cc8949c6ba362d556b3 SHA512 5d61476bd901ae55327df8bce318a99644a25494123dc39780851939f59ac8faaa5b2721c6fa442564ce4299e72e51e6ca7ab8f2674b1b4511dfc2b27e096e26 MISC metadata.xml 587 BLAKE2B f8ce31f7041e62e483b63f7883239f52fc45b1a91c9c35563df48791a19d2ba354dd4b192520486e11ef4d66eb36dc58f8a309dca5f73a2edb4786632bb06ed5 SHA512 1cbde4c79a99908c900a5283ca99249440477623c557859f1663bed14c8a3513cda8767e50606a38f8f3e2db1f270454a37a4e793f20124922239a61a497fcbc diff --git a/media-fonts/unifont/files/11.0.02-make.patch b/media-fonts/unifont/files/11.0.02-make.patch new file mode 100644 index 000000000000..fa4e8aebb674 --- /dev/null +++ b/media-fonts/unifont/files/11.0.02-make.patch @@ -0,0 +1,11 @@ +--- a/font/Makefile ++++ b/font/Makefile +@@ -247,7 +247,7 @@ + # as a baseline. Remove the Plane 1 Copyleft glyph from the Plane 0 + # set of hex files. + # +-coverage: ++coverage: hex + grep -v "^01F12F" $(COMPILED_DIR)/unifont_csur_lower-$(VERSION).hex \ + > $(COMPILED_DIR)/unifont_all-$(VERSION).hex + sort plane0[1-E]/*.hex plane0Fcsur/*.hex | grep -v "^0020:" \ diff --git a/media-fonts/unifont/unifont-11.0.02.ebuild b/media-fonts/unifont/unifont-11.0.02.ebuild new file mode 100644 index 000000000000..54818db00cf6 --- /dev/null +++ b/media-fonts/unifont/unifont-11.0.02.ebuild @@ -0,0 +1,65 @@ +# Copyright 1999-2018 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit font toolchain-funcs xdg-utils + +DESCRIPTION="GNU Unifont - a Pan-Unicode X11 bitmap iso10646 font" +HOMEPAGE="http://unifoundry.com/" +SRC_URI="mirror://gnu/${PN}/${P}/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd" +IUSE="fontforge utils" + +DEPEND=" + fontforge? ( + app-text/bdf2psf + dev-lang/perl + dev-perl/GD[png(-)] + media-gfx/fontforge + x11-apps/bdftopcf + ) +" +RDEPEND=" + utils? ( + dev-lang/perl + dev-perl/GD[png(-)] + ) +" + +PATCHES=( + "${FILESDIR}"/11.0.02-make.patch +) + +src_prepare() { + sed -i -e 's/install -s/install/' src/Makefile || die + default +} + +src_compile() { + if use fontforge || use utils; then + tc-export CC + xdg_environment_reset + makeargs=( + CFLAGS="${CFLAGS}" + BUILDFONT=$(usex fontforge 1 '') + ) + emake "${makeargs[@]}" + fi +} + +src_install() { + makeargs+=( + DESTDIR="${ED%/}" + PCFDEST="${ED%/}${FONTDIR}" + TTFDEST="${ED%/}${FONTDIR}" + USRDIR=usr + ) + use utils || makeargs+=( -C font ) + emake "${makeargs[@]}" install + font_xfont_config + font_fontconfig +} |