Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 776415
Collapse All | Expand All

(-)a/media-fonts/dejavu/dejavu-2.37.ebuild (-14 / +13 lines)
Lines 1-16 Link Here
1
# Copyright 1999-2021 Gentoo Authors
1
# Copyright 1999-2021 Gentoo Authors
2
# Distributed under the terms of the GNU General Public License v2
2
# Distributed under the terms of the GNU General Public License v2
3
3
4
EAPI=6
4
EAPI=7
5
inherit font versionator xdg-utils
5
inherit font xdg-utils
6
6
7
DESCRIPTION="DejaVu fonts, bitstream vera with ISO-8859-2 characters"
7
DESCRIPTION="DejaVu fonts, bitstream vera with ISO-8859-2 characters"
8
HOMEPAGE="https://dejavu-fonts.github.io/"
8
HOMEPAGE="https://dejavu-fonts.github.io/"
9
9
10
# If you want to test snapshot from dejavu.sf.net/snapshots/
10
# If you want to test snapshot from dejavu.sf.net/snapshots/
11
# just rename ebuild to dejavu-2.22.20071220.2156.ebuild
11
# just rename ebuild to dejavu-2.22.20071220.2156.ebuild
12
MY_PV=$(get_version_component_range 1-2)
12
MY_PV=$(ver_cut 1-2)
13
snapv=$(get_version_component_range 3-4)
13
snapv=$(ver_cut 3-4)
14
snapv=${snapv/./-}
14
snapv=${snapv/./-}
15
MY_BP=${PN}-fonts-ttf-${MY_PV}
15
MY_BP=${PN}-fonts-ttf-${MY_PV}
16
MY_SP=${PN}-fonts-${MY_PV}
16
MY_SP=${PN}-fonts-${MY_PV}
Lines 28-39 SLOT="0" Link Here
28
KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~mips ppc ppc64 s390 sparc x86 ~amd64-linux ~x86-linux"
28
KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~mips ppc ppc64 s390 sparc x86 ~amd64-linux ~x86-linux"
29
IUSE="fontforge"
29
IUSE="fontforge"
30
30
31
DEPEND="fontforge? (
31
BDEPEND="
32
		>=x11-apps/mkfontscale-1.2.0
32
	fontforge? (
33
		>=media-gfx/fontforge-20080429
34
		dev-perl/Font-TTF
35
		app-i18n/unicode-data
33
		app-i18n/unicode-data
36
		>media-libs/fontconfig-2.6.0:1.0 )
34
		dev-perl/Font-TTF
35
		>=media-gfx/fontforge-20080429
36
		>media-libs/fontconfig-2.6.0:1.0
37
		>=x11-apps/mkfontscale-1.2.0
38
	)
37
"
39
"
38
40
39
FONT_CONF=(
41
FONT_CONF=(
Lines 47-53 FONT_CONF=( Link Here
47
49
48
FONT_S="ttf"
50
FONT_S="ttf"
49
FONT_SUFFIX="ttf"
51
FONT_SUFFIX="ttf"
50
DOCS="AUTHORS NEWS README.md status.txt langcover.txt unicover.txt"
52
DOCS=( AUTHORS NEWS README.md status.txt langcover.txt unicover.txt )
51
53
52
src_unpack() {
54
src_unpack() {
53
	default
55
	default
Lines 75-82 src_compile() { Link Here
75
}
77
}
76
78
77
src_install() {
79
src_install() {
80
	use fontforge && DOCS+=( ttf/*.txt )
78
	font_src_install
81
	font_src_install
79
	if use fontforge; then
80
		dodoc ttf/*.txt
81
	fi
82
}
82
}
83
- 

Return to bug 776415