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 DDCE6138334 for ; Sat, 19 Oct 2019 20:12:10 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id DE0E7E0933; Sat, 19 Oct 2019 20:12:07 +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 C628EE0933 for ; Sat, 19 Oct 2019 20:12:07 +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 10C6334C077 for ; Sat, 19 Oct 2019 20:12:05 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 986DC836 for ; Sat, 19 Oct 2019 20:12:02 +0000 (UTC) From: "David Seifert" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "David Seifert" Message-ID: <1571515876.ee2a235e6dc8d03ddea70eb1b3e35d34ca4297ba.soap@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: media-fonts/khmer/ X-VCS-Repository: repo/gentoo X-VCS-Files: media-fonts/khmer/khmer-5.0-r1.ebuild X-VCS-Directories: media-fonts/khmer/ X-VCS-Committer: soap X-VCS-Committer-Name: David Seifert X-VCS-Revision: ee2a235e6dc8d03ddea70eb1b3e35d34ca4297ba X-VCS-Branch: master Date: Sat, 19 Oct 2019 20:12:02 +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: d5eccad3-4cc0-45ed-8cb7-f78da170161c X-Archives-Hash: 63351b01aaef476dac3614dfa197fe65 commit: ee2a235e6dc8d03ddea70eb1b3e35d34ca4297ba Author: David Seifert gentoo org> AuthorDate: Sat Oct 19 20:11:16 2019 +0000 Commit: David Seifert gentoo org> CommitDate: Sat Oct 19 20:11:16 2019 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ee2a235e media-fonts/khmer: Port to EAPI 7 Bug: https://bugs.gentoo.org/697304 Package-Manager: Portage-2.3.77, Repoman-2.3.17 Signed-off-by: David Seifert gentoo.org> media-fonts/khmer/khmer-5.0-r1.ebuild | 21 ++++++++++----------- 1 file changed, 10 insertions(+), 11 deletions(-) diff --git a/media-fonts/khmer/khmer-5.0-r1.ebuild b/media-fonts/khmer/khmer-5.0-r1.ebuild index 8ffa9836419..7991889184d 100644 --- a/media-fonts/khmer/khmer-5.0-r1.ebuild +++ b/media-fonts/khmer/khmer-5.0-r1.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 @@ -12,26 +12,25 @@ SRC_URI="mirror://sourceforge/khmer/All_KhmerOS_${PV}.zip" LICENSE="LGPL-2.1" SLOT="0" KEYWORDS="amd64 x86" -IUSE="" -DEPEND="app-arch/unzip" -RDEPEND="" +BDEPEND="app-arch/unzip" S="${WORKDIR}/All_KhmerOS_${PV}" + FONT_S="${S}" FONT_SUFFIX="ttf" -src_unpack() { - unpack ${A} - cd "${S}" - [[ -f "KhmerOS .ttf" ]] && mv "KhmerOS .ttf" "KhmerOS.ttf" # 338057 +src_prepare() { + default + + # bug 338057 + mv KhmerOS{\ ,}.ttf || die } pkg_postinst() { font_pkg_postinst - echo + elog "To prefer using Khmer OS fonts, run:" elog elog " eselect fontconfig enable 65-khmer.conf" - echo }