summaryrefslogtreecommitdiff
path: root/media-fonts/wqy-unibit
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2021-03-27 06:06:27 +0000
committerV3n3RiX <venerix@redcorelinux.org>2021-03-27 06:06:27 +0000
commit8d5dbd847cbc704a6a06405856e94b461011afe3 (patch)
tree4d26462d027b14926335894749d2e01d982234d0 /media-fonts/wqy-unibit
parent5bb9ff1ee56d2b5e75e01a7f066d8b0cec84ec02 (diff)
gentoo resync : 27.03.2021
Diffstat (limited to 'media-fonts/wqy-unibit')
-rw-r--r--media-fonts/wqy-unibit/Manifest2
-rw-r--r--media-fonts/wqy-unibit/wqy-unibit-1.1.0_p1-r1.ebuild30
2 files changed, 15 insertions, 17 deletions
diff --git a/media-fonts/wqy-unibit/Manifest b/media-fonts/wqy-unibit/Manifest
index e3d0f379dbcf..398251e9d431 100644
--- a/media-fonts/wqy-unibit/Manifest
+++ b/media-fonts/wqy-unibit/Manifest
@@ -1,3 +1,3 @@
DIST wqy-unibit-bdf-1.1.0-1.tar.gz 1168200 BLAKE2B 65d992525c1bac6f74983037a650729cb050322f150695af819d7ab8b57daec1a112ede8ff7054f9be5397a7fc823f65c89bd2f3eae624386a9c41bfb9a0594b SHA512 c16a8aa57fb5c55902373306b62514b2ec3bb9c5cd8494d5ecdb46f0407fd9fa72806c71bce28a27a7e64716b78862e8c2a9051a5652077b59e24693b1a30a03
-EBUILD wqy-unibit-1.1.0_p1-r1.ebuild 700 BLAKE2B 284f85126f135d9e759f7a70b58447c8bc0bcd2a9d523af523a1a0452cc25cfaad7ff1c08fba557fa696b3c183d0f5e989715f9309830210bfc308b3d20a8cd9 SHA512 de82738828a64cc2fbaf298de618f7732c5bde060ac42806bda435615aa6cb9825b288f3612f282a615f0252c3266838cb37799b72ec4a8de6498e0839dd3e9e
+EBUILD wqy-unibit-1.1.0_p1-r1.ebuild 691 BLAKE2B 7b1335183a8c9114906957075248602ca56d86f2f179e47737801e3727c522ff955cf07fe5071dfda42c8c20ff8365db3d5e9ff2afbc1c00102692a22b199f24 SHA512 1aef407e75c1faf35b623e778da7fa5f2cc63f33a8af86aedb83663b20f9ad25b6e8752c02fc5f1db17b5f9e8b24080968b8e8e269393b7d0201641bdf66d12e
MISC metadata.xml 406 BLAKE2B da1b9d0858f2b8e72fd613faeee0c6e99c9f94d657fa54b910f5a90d146142208b582cf3b36cf09df9265a8c8880a6e1a2198540eb1cc2b4247a8d188c6ac9f4 SHA512 c3684a8c9b57db6be381f41d86af7f97ba57b480ecb048fc01aa948cad01db6fb0b2f64ca53258595f9c115e4b804d7aadbf57254ea85359cf36b9688c9c3869
diff --git a/media-fonts/wqy-unibit/wqy-unibit-1.1.0_p1-r1.ebuild b/media-fonts/wqy-unibit/wqy-unibit-1.1.0_p1-r1.ebuild
index f99e97246832..1fbd789e583f 100644
--- a/media-fonts/wqy-unibit/wqy-unibit-1.1.0_p1-r1.ebuild
+++ b/media-fonts/wqy-unibit/wqy-unibit-1.1.0_p1-r1.ebuild
@@ -1,34 +1,32 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI="5"
+EAPI=7
+
inherit font
-MY_P="${PN}-bdf-${PV/_p/-}"
DESCRIPTION="WenQuanYi Unibit CJK font"
-HOMEPAGE="http://wenq.org/enindex.cgi"
-SRC_URI="mirror://sourceforge/wqy/${MY_P}.tar.gz"
+HOMEPAGE="http://wenq.org/wqy2/index.cgi https://sourceforge.net/projects/wqy/"
+SRC_URI="mirror://sourceforge/wqy/${PN}-bdf-${PV/_p/-}.tar.gz"
+S="${WORKDIR}/${PN}"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="amd64 ~arm x86"
IUSE=""
-DEPEND="media-gfx/ebdftopcf
- sys-apps/sed"
-RDEPEND=""
-
-S="${WORKDIR}/${PN}"
-FONT_S="${S}"
-FONT_SUFFIX="pcf.gz"
-DOCS="AUTHORS ChangeLog README"
-
# Only installs fonts
RESTRICT="strip binchecks"
+BDEPEND="media-gfx/ebdftopcf"
+
+DOCS=( AUTHORS ChangeLog README )
+
+FONT_SUFFIX="pcf.gz"
+
src_prepare() {
- sed -i -e "s|$range=shift(ARGV);|$range=shift(@ARGV);|g" \
- bdfmerge.pl || die
+ default
+ sed -i -e "s|$range=shift(ARGV);|$range=shift(@ARGV);|g" bdfmerge.pl || die
}
src_compile() {