From 41b1bd2775cb0f4c487089ab6d4a61457c0dc58b Mon Sep 17 00:00:00 2001 From: David Seifert Date: Sat, 19 Oct 2019 20:06:05 +0200 Subject: [PATCH] media-fonts/aquapfont: Port to EAPI 7 Bug: https://bugs.gentoo.org/697292 Package-Manager: Portage-2.3.77, Repoman-2.3.17 Signed-off-by: David Seifert --- media-fonts/aquapfont/aquapfont-2.6-r2.ebuild | 27 +++++++------------ .../aquapfont/files/60-aquapfont-r1.conf | 16 ----------- media-fonts/aquapfont/files/60-aquapfont.conf | 10 ++----- 3 files changed, 11 insertions(+), 42 deletions(-) delete mode 100644 media-fonts/aquapfont/files/60-aquapfont-r1.conf diff --git a/media-fonts/aquapfont/aquapfont-2.6-r2.ebuild b/media-fonts/aquapfont/aquapfont-2.6-r2.ebuild index 657d83c7c412..dfa5495e12f6 100644 --- a/media-fonts/aquapfont/aquapfont-2.6-r2.ebuild +++ b/media-fonts/aquapfont/aquapfont-2.6-r2.ebuild @@ -1,7 +1,7 @@ -# Copyright 1999-2018 Gentoo Foundation +# Copyright 1999-2019 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=0 +EAPI=7 inherit font @@ -14,30 +14,21 @@ SRC_URI="http://aquablue.milkcafe.to/tears/font/${MY_P}.zip" LICENSE="aquafont" SLOT="0" KEYWORDS="alpha amd64 arm ia64 ppc ppc64 s390 sh sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos" -IUSE="" - -S="${WORKDIR}/${MY_P}" -FONT_S="${S}" -FONT_SUFFIX="ttf" -DOCS="readme.txt" - -DEPEND="app-arch/unzip" -RDEPEND="" - # Only installs fonts RESTRICT="strip binchecks" -FONT_CONF=( "${T}/60-aquapfont.conf" ) +BDEPEND="app-arch/unzip" -src_compile() { - cp "${FILESDIR}"/60-aquapfont-r1.conf "${T}"/60-aquapfont.conf || die -} +S="${WORKDIR}/${MY_P}" + +DOCS="readme.txt" +FONT_CONF=( "${FILESDIR}"/60-aquapfont.conf ) +FONT_S="${S}" +FONT_SUFFIX="ttf" pkg_postinst() { font_pkg_postinst - echo elog "To use aquapfont instead of the default font for sans and serif use:" elog " eselect fontconfig enable 60-aquapfont.conf" - echo } diff --git a/media-fonts/aquapfont/files/60-aquapfont-r1.conf b/media-fonts/aquapfont/files/60-aquapfont-r1.conf deleted file mode 100644 index 3610820e10db..000000000000 --- a/media-fonts/aquapfont/files/60-aquapfont-r1.conf +++ /dev/null @@ -1,16 +0,0 @@ - - - - - serif - - aqua_pfont - - - - sans-serif - - aqua_pfont - - - diff --git a/media-fonts/aquapfont/files/60-aquapfont.conf b/media-fonts/aquapfont/files/60-aquapfont.conf index 07c60a6afe56..3610820e10db 100644 --- a/media-fonts/aquapfont/files/60-aquapfont.conf +++ b/media-fonts/aquapfont/files/60-aquapfont.conf @@ -4,19 +4,13 @@ serif - mikachan_o-P + aqua_pfont sans-serif - mikachan_o-P - - - - monospace - - mikachan_o + aqua_pfont -- 2.26.2