summaryrefslogtreecommitdiff
blob: 1ebc60970ebb8b640139ef375aa162aa8d2e963d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

TEXLIVE_MODULE_CONTENTS="
	collection-langchinese.r63995
	arphic.r15878
	arphic-ttf.r42675
	cns.r45677
	ctex.r66115
	exam-zh.r67505
	fandol.r37889
	fduthesis.r67231
	hanzibox.r63062
	hyphen-chinese.r58652
	nanicolle.r56224
	njurepo.r50492
	pgfornament-han.r68704
	qyxf-book.r56319
	upzhkinsoku.r47354
	xpinyin.r66115
	xtuthesis.r47049
	zhlineskip.r51142
	zhlipsum.r54994
	zhmetrics.r22207
	zhmetrics-uptex.r40728
	zhnumber.r66115
	zhspacing.r41145
"
TEXLIVE_MODULE_DOC_CONTENTS="
	arphic.doc.r15878
	arphic-ttf.doc.r42675
	asymptote-by-example-zh-cn.doc.r15878
	asymptote-faq-zh-cn.doc.r15878
	asymptote-manual-zh-cn.doc.r15878
	cns.doc.r45677
	ctex.doc.r66115
	ctex-faq.doc.r15878
	exam-zh.doc.r67505
	fandol.doc.r37889
	fduthesis.doc.r67231
	hanzibox.doc.r63062
	impatient-cn.doc.r54080
	install-latex-guide-zh-cn.doc.r69264
	latex-notes-zh-cn.doc.r15878
	lshort-chinese.doc.r67025
	nanicolle.doc.r56224
	njurepo.doc.r50492
	pgfornament-han.doc.r68704
	qyxf-book.doc.r56319
	texlive-zh-cn.doc.r54490
	texproposal.doc.r43151
	tlmgr-intro-zh-cn.doc.r59100
	upzhkinsoku.doc.r47354
	xpinyin.doc.r66115
	xtuthesis.doc.r47049
	zhlineskip.doc.r51142
	zhlipsum.doc.r54994
	zhmetrics.doc.r22207
	zhmetrics-uptex.doc.r40728
	zhnumber.doc.r66115
	zhspacing.doc.r41145
"
TEXLIVE_MODULE_SRC_CONTENTS="
	ctex.source.r66115
	fduthesis.source.r67231
	hanzibox.source.r63062
	njurepo.source.r50492
	xpinyin.source.r66115
	zhlipsum.source.r54994
	zhmetrics.source.r22207
	zhnumber.source.r66115
"

inherit texlive-module

DESCRIPTION="TeXLive Chinese"

LICENSE="FDL-1.1+ GPL-1+ GPL-3+ LGPL-2+ LPPL-1.3 LPPL-1.3c MIT TeX TeX-other-free"
SLOT="0"
KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~mips ppc ppc64 ~riscv ~s390 ~sparc x86"
COMMON_DEPEND="
	>=dev-texlive/texlive-langcjk-2023
"
RDEPEND="
	${COMMON_DEPEND}
"
DEPEND="
	${COMMON_DEPEND}
"

# Avoids collision with app-text/ttf2pk2
src_prepare() {
	default
	local i=texmf-dist/source/fonts/zhmetrics/ttfonts.map
	if [[ -f "${i}" ]]; then
		rm -f "${i}" || die
	fi
}