public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: media-fonts/khmer/
@ 2019-10-19 20:12 David Seifert
  0 siblings, 0 replies; 2+ messages in thread
From: David Seifert @ 2019-10-19 20:12 UTC (permalink / raw
  To: gentoo-commits

commit:     ee2a235e6dc8d03ddea70eb1b3e35d34ca4297ba
Author:     David Seifert <soap <AT> gentoo <DOT> org>
AuthorDate: Sat Oct 19 20:11:16 2019 +0000
Commit:     David Seifert <soap <AT> gentoo <DOT> 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 <soap <AT> 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
 }


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: media-fonts/khmer/
@ 2024-08-30 17:11 Sam James
  0 siblings, 0 replies; 2+ messages in thread
From: Sam James @ 2024-08-30 17:11 UTC (permalink / raw
  To: gentoo-commits

commit:     4a8703b30801908b8759830ade4e268bf765993e
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Fri Aug 30 17:09:36 2024 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Fri Aug 30 17:09:36 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4a8703b3

media-fonts/khmer: Keyword 5.0-r1 arm64, #937303

Signed-off-by: Sam James <sam <AT> gentoo.org>

 media-fonts/khmer/khmer-5.0-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-fonts/khmer/khmer-5.0-r1.ebuild b/media-fonts/khmer/khmer-5.0-r1.ebuild
index f7e6dbeee0a2..f74c814ffc53 100644
--- a/media-fonts/khmer/khmer-5.0-r1.ebuild
+++ b/media-fonts/khmer/khmer-5.0-r1.ebuild
@@ -11,7 +11,7 @@ SRC_URI="https://downloads.sourceforge.net/khmer/All_KhmerOS_${PV}.zip"
 
 LICENSE="LGPL-2.1"
 SLOT="0"
-KEYWORDS="amd64 ~loong ~riscv x86"
+KEYWORDS="amd64 ~arm64 ~loong ~riscv x86"
 
 BDEPEND="app-arch/unzip"
 


^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2024-08-30 17:11 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-08-30 17:11 [gentoo-commits] repo/gentoo:master commit in: media-fonts/khmer/ Sam James
  -- strict thread matches above, loose matches on Subject: below --
2019-10-19 20:12 David Seifert

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox