summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2021-03-21 17:24:27 +0100
committerAndreas Sturmlechner <asturm@gentoo.org>2021-03-21 20:06:03 +0100
commit873259600d8fcbb309e8326ceb8816727b94c6ea (patch)
tree1cef6413fd39a702b8bc0ba7a967f4d3141b2c80 /media-fonts/source-pro
parentmedia-fonts/noto-cjk: EAPI-7 bump (diff)
downloadgentoo-873259600d8fcbb309e8326ceb8816727b94c6ea.tar.gz
gentoo-873259600d8fcbb309e8326ceb8816727b94c6ea.tar.bz2
gentoo-873259600d8fcbb309e8326ceb8816727b94c6ea.zip
media-fonts/source-pro: EAPI-7 bump
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Diffstat (limited to 'media-fonts/source-pro')
-rw-r--r--media-fonts/source-pro/source-pro-20170111.ebuild17
1 files changed, 10 insertions, 7 deletions
diff --git a/media-fonts/source-pro/source-pro-20170111.ebuild b/media-fonts/source-pro/source-pro-20170111.ebuild
index d26340e29e18..e37d56389671 100644
--- a/media-fonts/source-pro/source-pro-20170111.ebuild
+++ b/media-fonts/source-pro/source-pro-20170111.ebuild
@@ -1,7 +1,8 @@
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=6
+EAPI=7
+
inherit font
SANSV="2.020R-ro/1.075R-it"
@@ -15,20 +16,22 @@ HOMEPAGE="https://adobe-fonts.github.io/source-sans-pro/
SRC_URI="https://github.com/adobe-fonts/source-sans-pro/archive/${SANSV}.tar.gz -> source-sans-pro-${PV}.tar.gz
https://github.com/adobe-fonts/source-serif-pro/archive/${SERIFV}.tar.gz -> source-serif-pro-${PV}.tar.gz
https://github.com/adobe-fonts/source-code-pro/archive/${CODEV}.tar.gz -> source-code-pro-${PV}.tar.gz"
+S="${WORKDIR}"
LICENSE="OFL-1.1"
SLOT="0"
KEYWORDS="~alpha amd64 arm ~arm64 ~ia64 ppc ppc64 sparc x86 ~x64-macos"
IUSE="cjk"
-RDEPEND="media-libs/fontconfig
- cjk? ( media-fonts/source-han-sans )"
+RESTRICT="binchecks strip"
+
+RDEPEND="
+ media-libs/fontconfig
+ cjk? ( media-fonts/source-han-sans )
+"
-S=${WORKDIR}
-FONT_S="${S}"
-FONT_SUFFIX="otf"
FONT_CONF=( "${FILESDIR}"/63-${PN}.conf )
-RESTRICT="binchecks strip"
+FONT_SUFFIX="otf"
src_prepare() {
default