summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2021-03-21 15:11:16 +0100
committerAndreas Sturmlechner <asturm@gentoo.org>2021-03-21 20:05:53 +0100
commit875dcfa03952eca52d37abcebb259b40221c8faa (patch)
tree8901e2af5b9df14c858c41a3390b77265a258b35 /media-fonts/dejavu
parentmedia-fonts/kacst-fonts: EAPI-7 bump (diff)
downloadgentoo-875dcfa03952eca52d37abcebb259b40221c8faa.tar.gz
gentoo-875dcfa03952eca52d37abcebb259b40221c8faa.tar.bz2
gentoo-875dcfa03952eca52d37abcebb259b40221c8faa.zip
media-fonts/dejavu: EAPI-7 bump, drop versionator
Package-Manager: Portage-3.0.17, Repoman-3.0.2 Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Diffstat (limited to 'media-fonts/dejavu')
-rw-r--r--media-fonts/dejavu/dejavu-2.37.ebuild25
1 files changed, 14 insertions, 11 deletions
diff --git a/media-fonts/dejavu/dejavu-2.37.ebuild b/media-fonts/dejavu/dejavu-2.37.ebuild
index 0b1bf5416c9e..ee96333abcb1 100644
--- a/media-fonts/dejavu/dejavu-2.37.ebuild
+++ b/media-fonts/dejavu/dejavu-2.37.ebuild
@@ -1,16 +1,17 @@
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=6
-inherit font versionator xdg-utils
+EAPI=7
+
+inherit font xdg-utils
DESCRIPTION="DejaVu fonts, bitstream vera with ISO-8859-2 characters"
HOMEPAGE="https://dejavu-fonts.github.io/"
# If you want to test snapshot from dejavu.sf.net/snapshots/
# just rename ebuild to dejavu-2.22.20071220.2156.ebuild
-MY_PV=$(get_version_component_range 1-2)
-snapv=$(get_version_component_range 3-4)
+MY_PV=$(ver_cut 1-2)
+snapv=$(ver_cut 3-4)
snapv=${snapv/./-}
MY_BP=${PN}-fonts-ttf-${MY_PV}
MY_SP=${PN}-fonts-${MY_PV}
@@ -28,14 +29,18 @@ SLOT="0"
KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~mips ppc ppc64 s390 sparc x86 ~amd64-linux ~x86-linux"
IUSE="fontforge"
-DEPEND="fontforge? (
- >=x11-apps/mkfontscale-1.2.0
- >=media-gfx/fontforge-20080429
- dev-perl/Font-TTF
+BDEPEND="
+ fontforge? (
app-i18n/unicode-data
- >media-libs/fontconfig-2.6.0:1.0 )
+ dev-perl/Font-TTF
+ >=media-gfx/fontforge-20080429
+ >media-libs/fontconfig-2.6.0:1.0
+ >=x11-apps/mkfontscale-1.2.0
+ )
"
+DOCS=( AUTHORS NEWS README.md status.txt langcover.txt unicover.txt )
+
FONT_CONF=(
fontconfig/20-unhint-small-dejavu-sans-mono.conf
fontconfig/20-unhint-small-dejavu-sans.conf
@@ -44,10 +49,8 @@ FONT_CONF=(
fontconfig/57-dejavu-sans.conf
fontconfig/57-dejavu-serif.conf
)
-
FONT_S="ttf"
FONT_SUFFIX="ttf"
-DOCS="AUTHORS NEWS README.md status.txt langcover.txt unicover.txt"
src_unpack() {
default