From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id C6EFC138335 for ; Sat, 19 Oct 2019 16:10:30 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 108C0E0929; Sat, 19 Oct 2019 16:10:30 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id E9C6BE091C for ; Sat, 19 Oct 2019 16:10:29 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 4807534C066 for ; Sat, 19 Oct 2019 16:10:28 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id D0275882 for ; Sat, 19 Oct 2019 16:10:25 +0000 (UTC) From: "Michał Górny" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Michał Górny" Message-ID: <1571501417.c36ed0f1c1f1bd57e370026122b8fa60c5e4f405.mgorny@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: media-fonts/intlfonts/ X-VCS-Repository: repo/gentoo X-VCS-Files: media-fonts/intlfonts/intlfonts-1.2.1.ebuild X-VCS-Directories: media-fonts/intlfonts/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: c36ed0f1c1f1bd57e370026122b8fa60c5e4f405 X-VCS-Branch: master Date: Sat, 19 Oct 2019 16:10:25 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 43250f6a-bdac-48a4-a992-017f17af5536 X-Archives-Hash: 7115d1176cd268d2182f8ca499599ebb commit: c36ed0f1c1f1bd57e370026122b8fa60c5e4f405 Author: Michał Górny gentoo org> AuthorDate: Sat Oct 19 16:03:01 2019 +0000 Commit: Michał Górny gentoo org> CommitDate: Sat Oct 19 16:10:17 2019 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c36ed0f1 media-fonts/intlfonts: Bump to EAPI 7 Bug: https://bugs.gentoo.org/697304 Signed-off-by: Michał Górny gentoo.org> media-fonts/intlfonts/intlfonts-1.2.1.ebuild | 29 ++++++++++++++-------------- 1 file changed, 15 insertions(+), 14 deletions(-) diff --git a/media-fonts/intlfonts/intlfonts-1.2.1.ebuild b/media-fonts/intlfonts/intlfonts-1.2.1.ebuild index 8d3c3fe2dc7..2f64bafdef9 100644 --- a/media-fonts/intlfonts/intlfonts-1.2.1.ebuild +++ b/media-fonts/intlfonts/intlfonts-1.2.1.ebuild @@ -1,34 +1,35 @@ # Copyright 1999-2019 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=0 +EAPI=7 inherit font -IUSE="bdf" - DESCRIPTION="International X11 fixed fonts" HOMEPAGE="https://www.gnu.org/directory/intlfonts.html" SRC_URI="mirror://gnu/${PN}/${P}.tar.gz" -LICENSE="GPL-2" - +LICENSE="freedist" SLOT="0" KEYWORDS="alpha amd64 arm hppa ia64 ppc ppc64 s390 sh sparc x86" +IUSE="bdf" DEPEND="x11-apps/bdftopcf - >=x11-apps/mkfontscale-1.2.0" -RDEPEND="" + >=x11-apps/mkfontscale-1.2.0" + +DOCS=( ChangeLog NEWS README Emacs.ap ) -src_compile() { - econf --with-fontdir=/usr/share/fonts/${PN} +src_configure() { + local myconf=( + --with-fontdir=/usr/share/fonts/${PN} + --enable-compress='gzip -9' + $(use_with bdf) + ) + econf "${myconf[@]}" } src_install() { - emake install fontdir="${D}/usr/share/fonts/${PN}" || die - find "${D}/usr/share/fonts/${PN}" -name '*.pcf' | xargs gzip -9 - use bdf || rm -rf "${D}/usr/share/fonts/${PN}/bdf" - dodoc ChangeLog NEWS README - dodoc Emacs.ap + emake install fontdir="${ED}/usr/share/fonts/${PN}" + einstalldocs font_xfont_config }