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 3056E138334 for ; Fri, 18 Oct 2019 12:57:24 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 78593E086F; Fri, 18 Oct 2019 12:57:23 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (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 5174FE086F for ; Fri, 18 Oct 2019 12:57:23 +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 2C2C134C005 for ; Fri, 18 Oct 2019 12:57:22 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 3AE35779 for ; Fri, 18 Oct 2019 12:57:20 +0000 (UTC) From: "David Seifert" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "David Seifert" Message-ID: <1571403421.bc8cb5e691425dcf8424e5a92ccb6281d71dac42.soap@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: app-i18n/scim-tables/ X-VCS-Repository: repo/gentoo X-VCS-Files: app-i18n/scim-tables/scim-tables-0.5.13.ebuild X-VCS-Directories: app-i18n/scim-tables/ X-VCS-Committer: soap X-VCS-Committer-Name: David Seifert X-VCS-Revision: bc8cb5e691425dcf8424e5a92ccb6281d71dac42 X-VCS-Branch: master Date: Fri, 18 Oct 2019 12:57: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: 0f88429d-719f-4557-95b1-9ebff6207a60 X-Archives-Hash: 70a81fb521fbd7b6fd1ee870c67dd37c commit: bc8cb5e691425dcf8424e5a92ccb6281d71dac42 Author: David Seifert gentoo org> AuthorDate: Fri Oct 18 12:57:01 2019 +0000 Commit: David Seifert gentoo org> CommitDate: Fri Oct 18 12:57:01 2019 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bc8cb5e6 app-i18n/scim-tables: Port to EAPI 7 Bug: https://bugs.gentoo.org/697382 Package-Manager: Portage-2.3.77, Repoman-2.3.17 Signed-off-by: David Seifert gentoo.org> app-i18n/scim-tables/scim-tables-0.5.13.ebuild | 53 +++++++++----------------- 1 file changed, 19 insertions(+), 34 deletions(-) diff --git a/app-i18n/scim-tables/scim-tables-0.5.13.ebuild b/app-i18n/scim-tables/scim-tables-0.5.13.ebuild index 530fd551b64..718a68ef66c 100644 --- a/app-i18n/scim-tables/scim-tables-0.5.13.ebuild +++ b/app-i18n/scim-tables/scim-tables-0.5.13.ebuild @@ -1,9 +1,9 @@ -# 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 autotools base eutils +inherit autotools DESCRIPTION="Smart Common Input Method (SCIM) Generic Table Input Method Server" HOMEPAGE="http://www.scim-im.org/" @@ -13,51 +13,36 @@ LICENSE="GPL-2" SLOT="0" KEYWORDS="amd64 ~arm ppc x86" IUSE="nls" -LANGS="am ar bn gu hi ja kn ko ml ne pa ru ta te th uk vi zh" -RDEPEND=">=app-i18n/scim-1.4.7-r2 +RDEPEND=" + >=app-i18n/scim-1.4.7-r2 nls? ( virtual/libintl )" -DEPEND="${RDEPEND} +DEPEND="${RDEPEND}" +BDEPEND=" virtual/pkgconfig nls? ( sys-devel/gettext )" PATCHES=( - "${FILESDIR}/${PN}-0.5.8+gcc-4.3.patch" + "${FILESDIR}"/${PN}-0.5.8+gcc-4.3.patch "${FILESDIR}"/${PN}-0.5.12-automake.patch - ) +) -pkg_setup() { - elog "Not all languages are going to be compiled." - elog "Please set LINGUAS to your preferred language(s)." - elog "Supported LINGUAS values are:" - elog "${LANGS}" +src_prepare() { + default + eautoreconf } -src_unpack() { - base_src_unpack - - strip-linguas ${LANGS} - local use_languages="additional ${LINGUAS}" - elog "Languages being compiled are: ${use_languages}" - - cd "${S}" - sed -i -e "/^SUBDIRS/s/.*/SUBDIRS = ${use_languages}/g" \ - tables/Makefile.{am,in} || die "sed ${m} failed" - - AT_NO_RECURSIVE=yes AT_M4DIR=${S}/m4 eautoreconf -} - -src_compile() { +src_configure() { econf \ --disable-skim-support \ - $(use_enable nls) \ --disable-static \ - --disable-dependency-tracking \ - --without-arts || die "econf failed" - emake || die "make failed" + --without-arts \ + $(use_enable nls) } src_install() { - emake DESTDIR="${D}" install || die "install failed" - dodoc README ChangeLog AUTHORS + default + + # no static archives + find "${D}" -name '*.la' -delete || die }