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 38123138334 for ; Sat, 2 Jun 2018 22:38:27 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 50FDEE08BB; Sat, 2 Jun 2018 22:38:22 +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 69E45E0898 for ; Sat, 2 Jun 2018 22:38:21 +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 4D39B335C76 for ; Sat, 2 Jun 2018 22:38:20 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 3ED622CC for ; Sat, 2 Jun 2018 22:38:17 +0000 (UTC) From: "Aaron Bauman" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Aaron Bauman" Message-ID: <1527979035.8367e236ce75b1980cfccaf47e83d2d4e8b2f557.bman@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: app-i18n/kanjipad/ X-VCS-Repository: repo/gentoo X-VCS-Files: app-i18n/kanjipad/kanjipad-2.0.0.ebuild X-VCS-Directories: app-i18n/kanjipad/ X-VCS-Committer: bman X-VCS-Committer-Name: Aaron Bauman X-VCS-Revision: 8367e236ce75b1980cfccaf47e83d2d4e8b2f557 X-VCS-Branch: master Date: Sat, 2 Jun 2018 22:38:17 +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-Archives-Salt: de6a2c84-b0a4-4160-aa6d-aa258588ffb1 X-Archives-Hash: 16bd00a27d02be8905f56f59273ca37e commit: 8367e236ce75b1980cfccaf47e83d2d4e8b2f557 Author: Aaron Bauman gentoo org> AuthorDate: Sat Jun 2 14:44:14 2018 +0000 Commit: Aaron Bauman gentoo org> CommitDate: Sat Jun 2 22:37:15 2018 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8367e236 app-i18n/kanjipad: bump EAPI; drop eutils; use https Package-Manager: Portage-2.3.40, Repoman-2.3.9 Closes: https://github.com/gentoo/gentoo/pull/8692 app-i18n/kanjipad/kanjipad-2.0.0.ebuild | 36 ++++++++++++++++++--------------- 1 file changed, 20 insertions(+), 16 deletions(-) diff --git a/app-i18n/kanjipad/kanjipad-2.0.0.ebuild b/app-i18n/kanjipad/kanjipad-2.0.0.ebuild index 790545ce7d5..82d47a93e35 100644 --- a/app-i18n/kanjipad/kanjipad-2.0.0.ebuild +++ b/app-i18n/kanjipad/kanjipad-2.0.0.ebuild @@ -1,17 +1,17 @@ -# Copyright 1999-2014 Gentoo Foundation +# Copyright 1999-2018 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -EAPI="2" +EAPI=6 -inherit eutils toolchain-funcs +inherit toolchain-funcs DESCRIPTION="Japanese handwriting recognition tool" -HOMEPAGE="http://fishsoup.net/software/kanjipad/" -SRC_URI="http://fishsoup.net/software/kanjipad/${P}.tar.gz" +HOMEPAGE="https://fishsoup.net/software/kanjipad/" +SRC_URI="https://fishsoup.net/software/kanjipad/${P}.tar.gz" LICENSE="GPL-2" SLOT="0" -KEYWORDS="x86 amd64 ppc64" +KEYWORDS="amd64 ppc64 x86" IUSE="" RDEPEND="x11-libs/gtk+:2 @@ -19,22 +19,26 @@ RDEPEND="x11-libs/gtk+:2 DEPEND="${RDEPEND} virtual/pkgconfig" +DOCS=( ChangeLog README TODO jstroke/README-kanjipad ) + +PATCHES=( + "${FILESDIR}/${P}-cflags.patch" + "${FILESDIR}/${P}-underlinking.patch" +) + src_prepare() { - epatch "${FILESDIR}"/${P}-cflags.patch \ - "${FILESDIR}"/${P}-underlinking.patch + default + perl -i -pe "s|PREFIX=/usr/local|PREFIX=/usr|; + s|-DG.*DISABLE_DEPRECATED||g" Makefile || die "Fixing Makefile failed" } -src_compile() { +src_configure() { tc-export CC - perl -i -pe "s|PREFIX=/usr/local|PREFIX=/usr|; - s|-DG.*DISABLE_DEPRECATED||g" Makefile || die - - emake || die } src_install() { - dobin kanjipad kpengine || die + dobin kanjipad kpengine insinto /usr/share/kanjipad - doins jdata.dat || die - dodoc ChangeLog README TODO jstroke/README-kanjipad + doins jdata.dat + einstalldocs }