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 1328D138350 for ; Thu, 30 Apr 2020 18:38:04 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 1596FE09E1; Thu, 30 Apr 2020 18:37:24 +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 DE9ADE09E1 for ; Thu, 30 Apr 2020 18:37:23 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (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 C95D934EEAB for ; Thu, 30 Apr 2020 18:37:22 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id D6FBA204 for ; Thu, 30 Apr 2020 18:37:20 +0000 (UTC) From: "Andreas Sturmlechner" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Andreas Sturmlechner" Message-ID: <1588270737.838214d13e6868434543459f6ebc30c087a14388.asturm@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: app-i18n/tomoe/ X-VCS-Repository: repo/gentoo X-VCS-Files: app-i18n/tomoe/tomoe-0.6.0-r6.ebuild X-VCS-Directories: app-i18n/tomoe/ X-VCS-Committer: asturm X-VCS-Committer-Name: Andreas Sturmlechner X-VCS-Revision: 838214d13e6868434543459f6ebc30c087a14388 X-VCS-Branch: master Date: Thu, 30 Apr 2020 18:37:20 +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: 7ad124d9-72bf-4ffb-90dc-8aa0ded9d962 X-Archives-Hash: 4c686f9f1c0764bb56c1758a2a5ca0d6 commit: 838214d13e6868434543459f6ebc30c087a14388 Author: Andreas Sturmlechner gentoo org> AuthorDate: Thu Apr 30 10:54:10 2020 +0000 Commit: Andreas Sturmlechner gentoo org> CommitDate: Thu Apr 30 18:18:57 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=838214d1 app-i18n/tomoe: Drop USE python Bug: https://bugs.gentoo.org/695012 Package-Manager: Portage-2.3.99, Repoman-2.3.22 Signed-off-by: Andreas Sturmlechner gentoo.org> app-i18n/tomoe/tomoe-0.6.0-r6.ebuild | 78 ++++++++++++++++++++++++++++++++++++ 1 file changed, 78 insertions(+) diff --git a/app-i18n/tomoe/tomoe-0.6.0-r6.ebuild b/app-i18n/tomoe/tomoe-0.6.0-r6.ebuild new file mode 100644 index 00000000000..4be2663f575 --- /dev/null +++ b/app-i18n/tomoe/tomoe-0.6.0-r6.ebuild @@ -0,0 +1,78 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI="6" + +USE_RUBY="ruby25 ruby26 ruby27" +inherit autotools ruby-utils + +DESCRIPTION="Japanese handwriting recognition engine" +HOMEPAGE="http://tomoe.osdn.jp/" +SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" + +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="amd64 x86" +IUSE="hyperestraier mysql ruby ${USE_RUBY//ruby/ruby_targets_ruby} static-libs subversion" +REQUIRED_USE="ruby? ( ^^ ( ${USE_RUBY//ruby/ruby_targets_ruby} ) )" + +RESTRICT="test" + +RDEPEND="dev-libs/glib:2 + hyperestraier? ( app-text/hyperestraier ) + mysql? ( dev-db/mysql-connector-c:= ) + ruby? ( + $(for ruby in ${USE_RUBY}; do + echo "ruby_targets_${ruby}? ( + $(_ruby_implementation_depend "${ruby}") + dev-ruby/ruby-glib2[ruby_targets_${ruby}] + )" + done) + ) + subversion? ( dev-vcs/subversion )" +DEPEND="${RDEPEND} + dev-util/glib-utils + dev-util/gtk-doc-am + dev-util/intltool + virtual/pkgconfig" + +PATCHES=( + "${FILESDIR}"/${PN}-gentoo.patch + "${FILESDIR}"/${PN}-export-symbols.patch + "${FILESDIR}"/${PN}-glib-2.32.patch + "${FILESDIR}"/${PN}-ruby19.patch +) + +src_prepare() { + sed -i \ + -e "s/use_est=yes/use_est=$(usex hyperestraier)/" \ + -e "s/use_mysql=yes/use_mysql=$(usex mysql)/" \ + configure.ac + + sed -i "s/use_svn=yes/use_svn=$(usex subversion)/" macros/svn.m4 + + default + eautoreconf +} + +src_configure() { + local ruby + for ruby in ${USE_RUBY}; do + if use ruby_targets_${ruby}; then + break + fi + done + + econf \ + $(use_enable ruby dict-ruby) \ + $(use_enable static-libs static) \ + --without-python \ + $(use_with ruby ruby "$(type -P ${ruby})") \ + --with-svn-include="${EPREFIX}"/usr/include \ + --with-svn-lib="${EPREFIX}"/usr/$(get_libdir) +} + +src_install() { + default + find "${ED}" -name '*.la' -delete || die +}