diff options
Diffstat (limited to 'media-fonts/wqy-zenhei')
-rw-r--r-- | media-fonts/wqy-zenhei/Manifest | 4 | ||||
-rw-r--r-- | media-fonts/wqy-zenhei/files/44-wqy-zenhei.conf.patch | 4 | ||||
-rw-r--r-- | media-fonts/wqy-zenhei/wqy-zenhei-0.9.46.ebuild | 24 |
3 files changed, 15 insertions, 17 deletions
diff --git a/media-fonts/wqy-zenhei/Manifest b/media-fonts/wqy-zenhei/Manifest index cedac973960e..dcc8551aa42e 100644 --- a/media-fonts/wqy-zenhei/Manifest +++ b/media-fonts/wqy-zenhei/Manifest @@ -1,4 +1,4 @@ -AUX 44-wqy-zenhei.conf.patch 1909 BLAKE2B a0d5ca675dfa8760c9bf0bac535958fb1fcd8e160d613931c75f75b687079d1969b886d87a47e2ed48e095e9558784b3fb65e59b86e54663ba75bf248f828b4e SHA512 dd1583dc436a2f5f05aa915d76fb2ce13dd09fbe4822df9890e890e4e084699a1c371fe491b612b087a89eb9326d6647966952c736296b84f4e11ad9c71c7839 +AUX 44-wqy-zenhei.conf.patch 1837 BLAKE2B ff744221a614846e63ea3fa5caac11047c8bd9ead2bb46f9d048e69ac26661cd954811eefbc1eaccad8165177915cc34b3ef55869ef5c18c8817d8c892c0dce8 SHA512 0f5bb12f782836b20423515792c14ca9a354b411e33d6c8fd390d0cfc983a734e5426e47d0b0cf063aaba3a92f9b3b48b4bf4498d23662012aa9077b43293c4e DIST wqy-zenhei-0.9.46-May.tar.bz2 8665887 BLAKE2B 5cbbaccb155f337dc9187c0c4a8f8f0d2d1c452ab960df7797ecc2b339d5c9f23747e9935db3d190c5eccbc8739888c86c4a7e0a01c7e33b76256dd92c301836 SHA512 ff41473fc9bd69c04cc509d1f8915d5bcf99d175ed9dfd2f9627fd56f6a4e7720e4930d35313d1e89f090b229f2e3f461c948046257fadee192dd618471f7833 -EBUILD wqy-zenhei-0.9.46.ebuild 1178 BLAKE2B b7fa9f705fd0e2bb344781f5168c6c5fc8f531f78418ce575a16d15b428a21f42eec3b8aa1dc167af8fe5de99effd336ce0cd81d84377bc8fe0c3d1cecce1b91 SHA512 26f62c72427177db9ec18abffbf4e9cf6f75e13f098eb9246c114935d874dc92d8dd74def5cde6a7998d706da5f49a09869e896e374d2c84484400ca30a9bb0f +EBUILD wqy-zenhei-0.9.46.ebuild 1152 BLAKE2B e17eb88510b4488a7b7fe38e72209f41eea3e0decf1c6a9020c56f78c15c6f3ec1e8c94f4dc3affbbcffb2730806338bd1c9f770f78854e49f793a6f9e9f8b8d SHA512 f3fba22baffe4d1b684fc18b996102e12aa378d37e832c790b260df0486d7938c93724e87298b83c8977c7c598bf0ad47e320f104a04fcb6c6caaa1b4877e875 MISC metadata.xml 311 BLAKE2B 7225a227c3d32a5ac754531f23c069679433f7f04ff2f3ec3bc0352007324deac71c6e3ad1e602320a2f582868e33b903d9f36cb55e985f5cb4869b825fffd00 SHA512 cbe957ce61a145cb171670724027e56e801021deee49eefa2675f199b5a50add88eafe5547b01959bf55b22df4579ff62a1e603cbd24e1ebdfacfd0ce463083d diff --git a/media-fonts/wqy-zenhei/files/44-wqy-zenhei.conf.patch b/media-fonts/wqy-zenhei/files/44-wqy-zenhei.conf.patch index 6c90475d9e4f..0c77fa737990 100644 --- a/media-fonts/wqy-zenhei/files/44-wqy-zenhei.conf.patch +++ b/media-fonts/wqy-zenhei/files/44-wqy-zenhei.conf.patch @@ -1,5 +1,5 @@ ---- 44-wqy-zenhei.conf.old 2014-02-14 00:41:31.277115976 +0100 -+++ 44-wqy-zenhei.conf 2014-02-14 00:43:18.985123207 +0100 +--- a/44-wqy-zenhei.conf ++++ b/44-wqy-zenhei.conf @@ -4,9 +4,35 @@ <fontconfig> <!-- modified by Madsen@SMTH --> diff --git a/media-fonts/wqy-zenhei/wqy-zenhei-0.9.46.ebuild b/media-fonts/wqy-zenhei/wqy-zenhei-0.9.46.ebuild index 3c6b62a97aa8..956649284083 100644 --- a/media-fonts/wqy-zenhei/wqy-zenhei-0.9.46.ebuild +++ b/media-fonts/wqy-zenhei/wqy-zenhei-0.9.46.ebuild @@ -1,29 +1,29 @@ -# Copyright 2007-2020 Gentoo Authors +# Copyright 2007-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=5 +EAPI=7 + DISABLE_AUTOFORMATTING=true -inherit font readme.gentoo +inherit font readme.gentoo-r1 DESCRIPTION="WenQuanYi Hei-Ti Style (sans-serif) Chinese outline font" HOMEPAGE="http://wenq.org/wqy2/index.cgi?ZenHei" SRC_URI="mirror://sourceforge/project/wqy/${PN}-snapshot/${PV}-May/${P}-May.tar.bz2" +S="${WORKDIR}/${PN}" LICENSE="GPL-2-with-font-exception" SLOT="0" KEYWORDS="amd64 arm ~arm64 ppc ppc64 x86" IUSE="" -S="${WORKDIR}/${PN}" -FONT_S="${S}" -FONT_SUFFIX="ttc" +# Only installs fonts +RESTRICT="binchecks strip test" + FONT_CONF=( 43-wqy-zenhei-sharp.conf 44-wqy-zenhei.conf ) - -# Only installs fonts -RESTRICT="binchecks strip test" +FONT_SUFFIX="ttc" DOC_CONTENTS="This font installs two fontconfig configuration files. @@ -33,9 +33,7 @@ To activate preferred rendering, run: To make the font only use embedded bitmap fonts when available, run: eselect fontconfig enable 43-wqy-zenhei-sharp.conf" -src_prepare() { - epatch "${FILESDIR}/44-wqy-zenhei.conf.patch" -} +PATCHES=( "${FILESDIR}/44-wqy-zenhei.conf.patch" ) src_compile() { : @@ -49,5 +47,5 @@ src_install() { pkg_postinst() { unset FONT_CONF # override default message font_pkg_postinst - readme.gentoo_pkg_postinst + readme.gentoo_print_elog } |