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()
-# 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/"
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
}