From bd4aeefe33e63f613512604e47bfca7b2187697d Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sun, 3 Nov 2019 16:06:58 +0000 Subject: gentoo resync : 03.11.2019 --- media-fonts/khmer/Manifest | 2 +- media-fonts/khmer/khmer-5.0-r1.ebuild | 21 ++++++++++----------- 2 files changed, 11 insertions(+), 12 deletions(-) (limited to 'media-fonts/khmer') diff --git a/media-fonts/khmer/Manifest b/media-fonts/khmer/Manifest index 8167a1a95b6d..f2cbacc736d9 100644 --- a/media-fonts/khmer/Manifest +++ b/media-fonts/khmer/Manifest @@ -1,3 +1,3 @@ DIST All_KhmerOS_5.0.zip 944849 BLAKE2B e95f90d6773ff3d5d38b408e83131e43b381f63261d0bfa273e56103a907fe5b2d6a9d69fea4f8f67fefc52098c56598d75fe13cc0aa4410288b0d814313beac SHA512 5fded88a9149d0fd59a377f08d9e1ea63ecffede58cde42e28504a48b12b35dec699b1ea0e0bbb95465c281d5b19ddfbe808a3c4ef40cd46295aaa069bd9127f -EBUILD khmer-5.0-r1.ebuild 729 BLAKE2B d2fa6bcd437795edc83abe55264a56803a2c02a2c892d785a40d125c1d6e17e4a2881921694c1b43196c5ba67637e7d42fdfef104fcec65d5670ad5921ec7a48 SHA512 a2f95b8b3e65b85fa3b72f6339cbc4bf22caead6b1bdd42f6591c604097c6a7aa0680d0d3512c414215cda6d7c006db82c1b341c81506e68cbc0538e39defd9d +EBUILD khmer-5.0-r1.ebuild 658 BLAKE2B de96eb2435839640f14cc97ef0728ec4d058c24e7d953b88281107e64e8bfab81ced8ffacdbd03045cf3c0302713940f31d1909d4684faa0cc84c08147e7bd7f SHA512 d60b4a1800e440f626d4ec9decfddf1675473401921df531865a0a40c159cdda1982aff1611e84c9b26fd81c0d9377688f58bac4b2ea920d01833ab8a2bdec08 MISC metadata.xml 313 BLAKE2B 0787ee9b60242e11f855e6f419675b0885bd33b5275ec1c584e823bcf46f3977bd7815ea5757a800bb41b28d13aeb5adc904cd41535f688b320121d19bbb4397 SHA512 e13ff0b43306cd9263c0cf011c26cdb450c5dafcdec055cd08f4874ffd24184b830fe1af0538553c1d54ee538f0e132164f23f1ca41736172c8e58f11d2201a4 diff --git a/media-fonts/khmer/khmer-5.0-r1.ebuild b/media-fonts/khmer/khmer-5.0-r1.ebuild index 8ffa9836419d..7991889184d7 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 } -- cgit v1.2.3