-# Copyright 1999-2012 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-EAPI=2
+EAPI=6
-inherit autotools eutils
+inherit autotools
DESCRIPTION="Wijesekara keyboard for Sinhala input using scim"
HOMEPAGE="http://sinhala.sourceforge.net/"
DEPEND="${RDEPEND}
virtual/pkgconfig"
+PATCHES=( "${FILESDIR}"/${P}-gcc43.patch )
+
src_prepare() {
- epatch "${FILESDIR}/${P}-gcc43.patch"
+ default
eautoreconf
}
+src_configure() {
+ econf --disable-static
+}
+
src_install() {
- emake DESTDIR="${D}" install || die "emake install failed"
+ default
- dodoc AUTHORS ChangeLog NEWS README
+ # plugin module, no point in .la files
+ find "${D}" -name '*.la' -delete || die
}
#--- END OF EXAMPLES ---
-# David Seifert <soap@gentoo.org> (31 Dec 2017)
-# Dead upstream, broken use of GTK+, unmaintained.
-# Removal in 30 days
-app-i18n/scim-wijesekera
-
# Alice Ferrazzi <alicef@gentoo.org> (30 Dec 2017)
# Masked for removal in 30 days.
# Upstream is no more backporting security fixes for 4.12.