public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: media-fonts/zh-kcfonts/files/, media-fonts/zh-kcfonts/
@ 2019-10-19 15:28 David Seifert
  0 siblings, 0 replies; only message in thread
From: David Seifert @ 2019-10-19 15:28 UTC (permalink / raw
  To: gentoo-commits

commit:     a2435a0ff181011b08b997691881e1bb86ce40cc
Author:     David Seifert <soap <AT> gentoo <DOT> org>
AuthorDate: Sat Oct 19 15:27:47 2019 +0000
Commit:     David Seifert <soap <AT> gentoo <DOT> org>
CommitDate: Sat Oct 19 15:27:47 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a2435a0f

media-fonts/zh-kcfonts: 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 <soap <AT> gentoo.org>

 media-fonts/zh-kcfonts/Manifest                    |  2 +-
 .../files/kcfonts-1.05-parallel-make.patch         |  4 +--
 media-fonts/zh-kcfonts/zh-kcfonts-1.05-r3.ebuild   | 42 +++++++++++-----------
 3 files changed, 23 insertions(+), 25 deletions(-)

diff --git a/media-fonts/zh-kcfonts/Manifest b/media-fonts/zh-kcfonts/Manifest
index 67b3af95bcd..97fdd862b47 100644
--- a/media-fonts/zh-kcfonts/Manifest
+++ b/media-fonts/zh-kcfonts/Manifest
@@ -1,2 +1,2 @@
-DIST kcfonts-1.05-freebsd-aa_ad.patch.gz 4825 BLAKE2B 681e23308fe202d6f3276ffc0a61186d623bafb95a7af66949ee2df52ac76632dfd65247b98e0f6ee639f19e098fd86a205e2b96a705982697db7f68a3bedfd7 SHA512 31146c530e5f3845b184029e22c71b7ee8fa1fd73e0fdf3e6cf90500129e70a58738d75926c97c71467571899f8a1f2f71df5a15fb68a503a5f06a4354ea42f6
 DIST kcfonts-1.05.tar.gz 903701 BLAKE2B 344017187fb5ff1a13cb9e05e84a56d38a7b7d14865ec471bf9c36c383f1681b1944346af2d3b1f67ba340b8101a968ef527f0a27ee7e5ac3837f1c67da33325 SHA512 a8b94e8f8095a8578ff340637bf4a197db56948d0d7ecda0d4f17da51bafc09080761f32894f88a54c88945f72b10a11dcb04e5841c19c4eb6852e263fb64209
+DIST zh-kcfonts-1.05-freebsd-aa_ad.patch.gz 4749 BLAKE2B 3d488977e76ae71587ced990816a85173b5a3196df3803ba517d99b8ad4244d59355a0b9c34d683c7cdf8b5660a0f411c9d544379caf0ddca1f8bef35eb7028b SHA512 2881c31ffc5b8fbc2e27edd6f139436da89bd3db3a654bbcb4b8f037db0388bf592b83014b750057264694040c8f2c3d28718f46ad3cf1fe5e13256df7666fae

diff --git a/media-fonts/zh-kcfonts/files/kcfonts-1.05-parallel-make.patch b/media-fonts/zh-kcfonts/files/kcfonts-1.05-parallel-make.patch
index 93fc8ed9608..46d552b3a63 100644
--- a/media-fonts/zh-kcfonts/files/kcfonts-1.05-parallel-make.patch
+++ b/media-fonts/zh-kcfonts/files/kcfonts-1.05-parallel-make.patch
@@ -1,5 +1,5 @@
---- Makefile.orig	2009-01-01 10:45:14.000000000 +0900
-+++ Makefile	2009-01-01 10:45:32.000000000 +0900
+--- a/Makefile
++++ b/Makefile
 @@ -31,7 +31,7 @@
  	$(CC) $(CFLAGS) tran.o kc24f.o -o $@
  kc15f:		tran.o kc15f.o

diff --git a/media-fonts/zh-kcfonts/zh-kcfonts-1.05-r3.ebuild b/media-fonts/zh-kcfonts/zh-kcfonts-1.05-r3.ebuild
index fcc56852781..c08fdae5871 100644
--- a/media-fonts/zh-kcfonts/zh-kcfonts-1.05-r3.ebuild
+++ b/media-fonts/zh-kcfonts/zh-kcfonts-1.05-r3.ebuild
@@ -1,42 +1,40 @@
-# 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
 
-S="${WORKDIR}"
-inherit eutils font toolchain-funcs
+inherit font toolchain-funcs
+
+MY_P="${P#zh-}"
 
-MY_P="kcfonts-${PV}"
 DESCRIPTION="Kuo Chauo Chinese Fonts collection in BIG5 encoding"
-SRC_URI="ftp://freebsd.sinica.edu.tw/pub/distfiles/${MY_P}.tar.gz
-		ftp://wm28.csie.ncu.edu.tw/pub/distfiles/${MY_P}.tar.gz
-		mirror://gentoo/${MY_P}-freebsd-aa_ad.patch.gz"
-HOMEPAGE="http://freebsd.sinica.edu.tw/"
 # no real homepage exists, but this was written by Taiwanese FreeBSD devs
+HOMEPAGE="http://freebsd.sinica.edu.tw/"
+SRC_URI="
+	ftp://freebsd.sinica.edu.tw/pub/distfiles/${MY_P}.tar.gz
+	ftp://wm28.csie.ncu.edu.tw/pub/distfiles/${MY_P}.tar.gz
+	https://dev.gentoo.org/~soap/distfiles/${P}-freebsd-aa_ad.patch.gz"
 
 LICENSE="freedist"
 SLOT="0"
 KEYWORDS="alpha amd64 arm ia64 ppc s390 sh sparc x86"
 IUSE=""
-
 # Only installs fonts
 RESTRICT="strip binchecks"
 
-DEPEND="x11-apps/bdftopcf"
-RDEPEND=""
+BDEPEND="x11-apps/bdftopcf"
 
-FONT_SUFFIX="pcf.gz"
-DOCS="00README Xdefaults.*"
+S="${WORKDIR}"
 
-src_unpack() {
-	unpack ${A}
-	cd "${S}"
+PATCHES=(
+	"${WORKDIR}"/${P}-freebsd-aa_ad.patch
+	"${FILESDIR}"/${MY_P}-code-fixups.patch
+	"${FILESDIR}"/${MY_P}-parallel-make.patch
+)
 
-	epatch "${WORKDIR}/${MY_P}-freebsd-aa_ad.patch"
-	epatch "${FILESDIR}/${MY_P}-code-fixups.patch"
-	epatch "${FILESDIR}/${MY_P}-parallel-make.patch"
-}
+FONT_SUFFIX="pcf.gz"
+DOCS="00README Xdefaults.*"
 
 src_compile() {
-	emake CC="$(tc-getCC)" || die
+	emake CC="$(tc-getCC)"
 }


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2019-10-19 15:28 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-10-19 15:28 [gentoo-commits] repo/gentoo:master commit in: media-fonts/zh-kcfonts/files/, media-fonts/zh-kcfonts/ David Seifert

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