summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2021-03-21 18:45:40 +0100
committerAndreas Sturmlechner <asturm@gentoo.org>2021-03-21 20:05:43 +0100
commitdb4ed3c0f2f2cbc24e022df32b3e797e1ad321e6 (patch)
treea168e770259dac8dc128119553a4241b6b6191d8 /media-fonts/source-han-sans
parentmedia-fonts/open-sans: Drop 1 (-r0), EAPI5-- (diff)
downloadgentoo-db4ed3c0f2f2cbc24e022df32b3e797e1ad321e6.tar.gz
gentoo-db4ed3c0f2f2cbc24e022df32b3e797e1ad321e6.tar.bz2
gentoo-db4ed3c0f2f2cbc24e022df32b3e797e1ad321e6.zip
media-fonts/source-han-sans: EAPI-7 bump
Package-Manager: Portage-3.0.17, Repoman-3.0.2 Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Diffstat (limited to 'media-fonts/source-han-sans')
-rw-r--r--media-fonts/source-han-sans/source-han-sans-1.004.ebuild9
1 files changed, 5 insertions, 4 deletions
diff --git a/media-fonts/source-han-sans/source-han-sans-1.004.ebuild b/media-fonts/source-han-sans/source-han-sans-1.004.ebuild
index 462971468a8a..376056910750 100644
--- a/media-fonts/source-han-sans/source-han-sans-1.004.ebuild
+++ b/media-fonts/source-han-sans/source-han-sans-1.004.ebuild
@@ -1,7 +1,8 @@
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=6
+EAPI=7
+
inherit font
# Note to maintainers:
@@ -15,18 +16,18 @@ SRC_URI="
l10n_ko? ( https://github.com/adobe-fonts/${PN}/raw/${PV}R/SubsetOTF/SourceHanSansKR.zip -> ${PN}-ko-${PV}.zip )
l10n_zh-CN? ( https://github.com/adobe-fonts/${PN}/raw/${PV}R/SubsetOTF/SourceHanSansCN.zip -> ${PN}-zh_CN-${PV}.zip )
l10n_zh-TW? ( https://github.com/adobe-fonts/${PN}/raw/${PV}R/SubsetOTF/SourceHanSansTW.zip -> ${PN}-zh_TW-${PV}.zip )"
+S="${WORKDIR}"
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~alpha amd64 ~arm ~arm64 ~ia64 ppc ppc64 sparc x86 ~x64-macos"
IUSE="l10n_ja l10n_ko +l10n_zh-CN l10n_zh-TW"
REQUIRED_USE="|| ( l10n_ja l10n_ko l10n_zh-CN l10n_zh-TW )"
+RESTRICT="binchecks strip"
-S=${WORKDIR}
FONT_SUFFIX="otf"
-RESTRICT="binchecks strip"
-DEPEND="app-arch/unzip"
+BDEPEND="app-arch/unzip"
src_install() {
use l10n_ja && FONT_S="${S}/SourceHanSansJP" font_src_install