public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: app-i18n/scim-sayura/, app-i18n/scim-sayura/files/
@ 2017-12-31 11:14 David Seifert
  0 siblings, 0 replies; only message in thread
From: David Seifert @ 2017-12-31 11:14 UTC (permalink / raw
  To: gentoo-commits

commit:     35d66aa45c16bdc3a500cc272b648f5eb3b089ce
Author:     David Seifert <soap <AT> gentoo <DOT> org>
AuthorDate: Sun Dec 31 10:48:10 2017 +0000
Commit:     David Seifert <soap <AT> gentoo <DOT> org>
CommitDate: Sun Dec 31 11:14:13 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=35d66aa4

app-i18n/scim-sayura: Port to EAPI 6

Package-Manager: Portage-2.3.19, Repoman-2.3.6

 .../scim-sayura/files/scim-sayura-0.3.3-gcc45.patch  |  4 ++--
 app-i18n/scim-sayura/scim-sayura-0.3.3.ebuild        | 20 +++++++++++---------
 2 files changed, 13 insertions(+), 11 deletions(-)

diff --git a/app-i18n/scim-sayura/files/scim-sayura-0.3.3-gcc45.patch b/app-i18n/scim-sayura/files/scim-sayura-0.3.3-gcc45.patch
index 64ee8741601..d80f654b6f6 100644
--- a/app-i18n/scim-sayura/files/scim-sayura-0.3.3-gcc45.patch
+++ b/app-i18n/scim-sayura/files/scim-sayura-0.3.3-gcc45.patch
@@ -2,8 +2,8 @@ Fixing build with gcc 4.5
 
 http://bugs.gentoo.org/show_bug.cgi?id=320879
 
---- src/scim_sinhala_imengine.cpp
-+++ src/scim_sinhala_imengine.cpp
+--- a/src/scim_sinhala_imengine.cpp
++++ b/src/scim_sinhala_imengine.cpp
 @@ -233,7 +233,7 @@
  
  void SinhalaInstance::backspace()

diff --git a/app-i18n/scim-sayura/scim-sayura-0.3.3.ebuild b/app-i18n/scim-sayura/scim-sayura-0.3.3.ebuild
index 77044b6d632..f04f5993a8e 100644
--- a/app-i18n/scim-sayura/scim-sayura-0.3.3.ebuild
+++ b/app-i18n/scim-sayura/scim-sayura-0.3.3.ebuild
@@ -1,9 +1,7 @@
-# Copyright 1999-2012 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI="2"
-
-inherit eutils
+EAPI=6
 
 DESCRIPTION="Sayura Sinhala input method for SCIM"
 HOMEPAGE="http://www.sayura.net/im/"
@@ -18,14 +16,18 @@ RDEPEND=">=app-i18n/scim-0.99.8"
 DEPEND="${RDEPEND}
 	virtual/pkgconfig"
 
-src_prepare() {
-	epatch "${FILESDIR}"/scim-sayura-0.3.3-gcc45.patch
+PATCHES=( "${FILESDIR}"/scim-sayura-0.3.3-gcc45.patch )
+
+src_configure() {
+	econf --disable-static
 }
 
 src_install() {
-	emake DESTDIR="${D}" install || die "emake install failed"
+	HTML_DOCS=( doc/{index.html,style.css} )
+	default
 
-	dodoc AUTHORS ChangeLog NEWS README
-	dohtml doc/index.html doc/style.css
 	use doc && dodoc doc/sayura.pdf
+
+	# plugin module, no point in .la files
+	find "${D}" -name '*.la' -delete || die
 }


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

only message in thread, other threads:[~2017-12-31 11:14 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-12-31 11:14 [gentoo-commits] repo/gentoo:master commit in: app-i18n/scim-sayura/, app-i18n/scim-sayura/files/ David Seifert

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