From: "David Seifert" <soap@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: app-i18n/scim-tables/
Date: Fri, 18 Oct 2019 12:57:20 +0000 (UTC) [thread overview]
Message-ID: <1571403421.bc8cb5e691425dcf8424e5a92ccb6281d71dac42.soap@gentoo> (raw)
commit: bc8cb5e691425dcf8424e5a92ccb6281d71dac42
Author: David Seifert <soap <AT> gentoo <DOT> org>
AuthorDate: Fri Oct 18 12:57:01 2019 +0000
Commit: David Seifert <soap <AT> gentoo <DOT> 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 <soap <AT> 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
}
next reply other threads:[~2019-10-18 12:57 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-10-18 12:57 David Seifert [this message]
-- strict thread matches above, loose matches on Subject: below --
2024-04-19 10:38 [gentoo-commits] repo/gentoo:master commit in: app-i18n/scim-tables/ Sam James
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1571403421.bc8cb5e691425dcf8424e5a92ccb6281d71dac42.soap@gentoo \
--to=soap@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox